This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
46
MySQL / Re: /includes/class_core.php on line 311 error
« on: April 13, 2025, 01:23:01 PM »
Can you confirm that the root password is the same in both of these files?
Code: [Select]
/usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php
/root/.my.cnf
Make sure they agree and if necessary, reset the PW using the script in /scripts/mysql_pwd_reset
47
Information / Re: Goaccess stopped working
« on: April 13, 2025, 11:57:12 AM »
With the logrotate conf I posted earlier. Does your default (or other) Apache vhost conf look like this under the log section:
Code: [Select]
CustomLog /usr/local/apache/domlogs/%domain%.bytes bytes
CustomLog /usr/local/apache/domlogs/%domain%.log combined
ErrorLog /usr/local/apache/domlogs/%domain%.error.log
48
E-Mail / Re: WordPress nail
« on: April 12, 2025, 06:17:57 PM »
Would need way more info to diagnose anything... Can you manually login to the site and check for updates, generate some backend activity? Install Wordfence -- that should make sure it is more "chatty" than it is currently.
49
PHP / Re: over core pipe limit error
« on: April 12, 2025, 06:15:37 PM »
Kind of a serious issue if you are getting (probably) 16 simultaneous process crashes that locked up your server. Check your system log for what event preceded the crashes and subsequent dumps.
50
MySQL / Re: /includes/class_core.php on line 311 error
« on: April 12, 2025, 02:32:33 PM »Code: [Select]
cd /usr/local/src
wget https://github.com/major/MySQLTuner-perl/archive/refs/tags/v2.6.0.tar.gz
tar xzvf v2.6.0.tar.gz
cp MySQLTuner-perl-2.6.0/mysqltuner.pl /usr/local/bin/
chmod +x /usr/local/bin/mysqltuner.pl
/usr/local/bin/mysqltuner.pl
52
Information / Re: check all autoSSL (Lets encrypt) that failed
« on: April 12, 2025, 01:48:04 PM »Code: [Select]
grep "Verification error" /root/.acme.sh/cwp_certs/acme.sh.log | less
53
MySQL / Re: /includes/class_core.php on line 311 error
« on: April 12, 2025, 01:45:35 PM »
Consider running a MySQL tuning script for recommendations for better performance:
https://github.com/major/MySQLTuner-perl
https://github.com/major/MySQLTuner-perl
54
E-Mail / Re: Email ids under 1 user not receiving emails
« on: April 12, 2025, 11:56:36 AM »
The storage server is IMAP (dovecot), so not being able to access. Try 770 permissions (which is what one CWP server has; oddly, the other one is 755 which came from a cPanel import):
Code: [Select]
chmod -R 770 /var/vmail
chown -R vmail:mail /var/vmail
55
MySQL / Re: /includes/class_core.php on line 311 error
« on: April 12, 2025, 11:47:35 AM »
The socket (/var/lib/mysql/mysql.sock) exists?
Can you run PHP 5.4?
Are you running it under PHP-FPM?
Can you run PHP 5.4?
Are you running it under PHP-FPM?
56
MySQL / Re: Can't delete MySQL user after "cPanel Account Restore"
« on: April 12, 2025, 11:45:42 AM »
And you tried from phpMyAdmin (logged in as root)?
57
MySQL / Re: howto export all databases and users with privel
« on: April 11, 2025, 09:31:08 PM »
CWP -> CWP Migration under AlmaLinux 8.
58
E-Mail / Re: Email ids under 1 user not receiving emails
« on: April 11, 2025, 09:29:30 PM »Code: [Select]
chown -R vmail:mail /var/mail
chmod -R 755 /var/vmail
59
Information / Re: Goaccess stopped working
« on: April 11, 2025, 09:26:48 PM »
The beauty of customizability -- my domlogs look like this. I got away from _log a long time ago in favor of .log, which is more easily read in external log reader & stats programs:
Code: [Select]
-rw-r--r-- 1 nobody root 0 Apr 11 14:23 domain.com.error.log
-rw-r--r-- 1 nobody root 0 Apr 11 14:23 domain.com.log
-rw-r--r-- 1 nobody root 0 Apr 10 14:23 domain.bytes
-rw-r--r-- 1 nobody root 202 Mar 31 02:51 domain.com.error.log-20250331.gz
-rw-r--r-- 1 nobody root 286 Apr 1 01:37 domain.com.error.log-20250401.gz
-rw-r--r-- 1 nobody root 294 Apr 3 01:42 domain.com.error.log-20250403.gz
-rw-r--r-- 1 nobody root 4129 Apr 5 02:33 domain.com.error.log-20250405.gz
-rw-r--r-- 1 nobody root 856 Apr 6 20:20 domain.com.error.log-20250407.gz
-rw-r--r-- 1 nobody root 767 Apr 8 00:20 domain.com.error.log-20250408.gz
-rw-r--r-- 1 nobody root 432 Apr 9 19:06 domain.com.error.log-20250410.gz
-rw-r--r-- 1 nobody root 121 Mar 31 02:51 domain.com.log-20250331.gz
-rw-r--r-- 1 nobody root 196 Apr 1 01:37 domain.com.log-20250401.gz
-rw-r--r-- 1 nobody root 262 Apr 3 01:42 domain.com.log-20250403.gz
-rw-r--r-- 1 nobody root 11656 Apr 5 02:33 domain.com.log-20250405.gz
-rw-r--r-- 1 nobody root 6594 Apr 6 20:20 domain.com.log-20250407.gz
-rw-r--r-- 1 nobody root 6507 Apr 8 00:20 domain.com.log-20250408.gz
-rw-r--r-- 1 nobody root 5983 Apr 9 19:06 domain.com.log-20250410.gz
60
CWP API / Re: Enquiry about API
« on: April 11, 2025, 01:12:08 PM »
Doesn't look to be too painful to add manually (pretty simple, actually):
https://shouts.dev/articles/how-to-install-supervisor-on-centos
https://shouts.dev/articles/how-to-install-supervisor-on-centos