Hello - my cpanel services are failing due to segfaults. This started happening at midnight UTC, which is when cpanel update runs.
The dmesg and messages just indicate a segfault, but with no additional info. Can anyone offer any diagnoses tips?
The dmesg and messages just indicate a segfault, but with no additional info. Can anyone offer any diagnoses tips?
Code:
=====================================================
[root@cpanel ~]# sudo /etc/init.d/cpanel restart
Stopping tailwatchd:
!!
ATTENTION ATTENTION ATTENTION ATTENTION
Cpanel::TailWatch::Eximstats appears to have unprocessed SQL in /var/cpanel/sql/eximstats.sql.
When mysql is unable to execute a query they are logged for processing later.
Eventually these SQL files may be handled automatically and this message will not appear.
In the meantime you can execute the queries as root with something like this:
mv /var/cpanel/sql/eximstats.sql /var/cpanel/sql/eximstats.sql.tmp_working_copy
/usr/local/cpanel/libexec/tailwatchd --restart
mysql eximstats < /var/cpanel/sql/eximstats.sql.tmp_working_copy
Once you are sure all is well you can remove /var/cpanel/sql/eximstats.sql.tmp_working_copy
ATTENTION ATTENTION ATTENTION ATTENTION
!!
2009-04-01 03:13:32 UTC [main] Current process '4930' stopped
[ OK ]
Stopping cPanel services: /etc/init.d/functions: line 489: 14005 Segmentation fault (core dumped) "$@"
[FAILED]
Stopping cPanel dav services: /etc/init.d/functions: line 489: 14006 Segmentation fault (core dumped) "$@"
[FAILED]
Stopping cPanel brute force detector services: [ OK ]
Stopping pop3 services: Waiting for cppop to shutdown ... ...Done
Waiting for cppop-ssl to shutdown ... ...Done
[ OK ]
Stopping cPanel log services: [ OK ]
Stopping cPanel Chat services: [ OK ]
Stopping Melange Chat services: [FAILED]
Stopping InterChange services: [ OK ]
Stopping cPanel ssl services: [ OK ]
Stopping mailman services: /etc/init.d/functions: line 489: 14043 Segmentation fault (core dumped) "$@"
[FAILED]
Starting cPanel services: [ OK ]
Starting cPanel brute force detector services: [ OK ]
Starting cPanel dav services: /bin/bash: line 1: 14065 Segmentation fault /usr/local/cpanel/etc/init/startcpdavd
[FAILED]
Starting cPanel Log services: /bin/bash: line 1: 14070 Segmentation fault /usr/local/cpanel/cpanellogd
[FAILED]
Starting pop3 services: [ OK ]
Starting cPanel Chat services: Listening on port 2084...
[ OK ]
Starting Melange Chat services:
Starting InterChange services: [ OK ]
Starting cPanel ssl services: /bin/bash: line 1: 14095 Segmentation fault /usr/local/cpanel/startstunnel
[FAILED]
Starting mailman services: Starting Mailman's master qrunner.
[ OK ]
Starting tailwatchd:
!!
ATTENTION ATTENTION ATTENTION ATTENTION
Cpanel::TailWatch::Eximstats appears to have unprocessed SQL in /var/cpanel/sql/eximstats.sql.
When mysql is unable to execute a query they are logged for processing later.
Eventually these SQL files may be handled automatically and this message will not appear.
In the meantime you can execute the queries as root with something like this:
mv /var/cpanel/sql/eximstats.sql /var/cpanel/sql/eximstats.sql.tmp_working_copy
/usr/local/cpanel/libexec/tailwatchd --restart
mysql eximstats < /var/cpanel/sql/eximstats.sql.tmp_working_copy
Once you are sure all is well you can remove /var/cpanel/sql/eximstats.sql.tmp_working_copy
ATTENTION ATTENTION ATTENTION ATTENTION
!!
[Wed Apr 1 03:13:51 2009] Starting /usr/local/cpanel/libexec/tailwatchd daemon
Log is at /usr/local/cpanel/logs/tailwatchd_log
=====================================================