dafut

Well-Known Member
Dec 14, 2005
74
0
156
Have an issue w tailwatchd and am getting this error:

[2010-08-03 00:48:36 -0700] [Cpanel::TailWatch] [INFO] Opened /usr/local/cpanel/logs/tailwatchd_log in append mode
[2010-08-03 00:48:36 -0700] [Cpanel::TailWatch::ChkServd] [INFO] Opening /var/log/chkservd.log in append mode
[2010-08-03 00:48:36 -0700] [main] [START] 2378 1280821716
[2010-08-03 00:48:36 -0700] [Cpanel::TailWatch] [INFO] Restored /var/log/exim_mainlog (size:972334) to 7445 (requested 7445)
[2010-08-03 00:48:36 -0700] [Cpanel::TailWatch] [INFO] Restored /var/log/maillog (size:381510) to 647 (requested 647)
install_driver(mysql) failed: Can't load '/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBD/mysql/mysql.so' for module DBD::mysql: /usr/lib/libmysqlclient.so.15: version `libmysqlclient_15' not found (required by /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/DBD/mysql/mysql.so) at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.
at (eval 11) line 3
Compilation failed in require at (eval 11) line 3.
Perhaps a required shared library or dll isn't installed where expected
at /usr/local/cpanel/Cpanel/TailWatch/Eximstats.pm line 252
Have checked CPAN for DBD::mysql and also see libmysqlclient.so.15 and libmysqlclient.so.16 in the appropriate paths.

Initial check of tailwatchd said to:
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/bin/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
Which I did, but no change.

I disabled EximStats driver in cPanel Log Rotation and tailwatchd starts successfully, which makes sense.

Would like some input on resolving the Eximstats driver issue w tailwatchd.

Running:
Linux 2.6.18-164.11.1.el5.centos.plusPAE #1 SMP Wed Jan 20 19:33:21 EST 2010 i686 i686 i386 GNU/Linux

cPanel version: 11.25.0-STABLE_46156
Thanks!
 
Last edited:

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,545
12
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
ran /scripts/upcp -force, reenabled Eximstats and checked tailwatchd status, which shows all 4 drivers loaded and service running.

Will update if any changes.
If you still see any errors mentioning MySQL or DBD::mysql please try running the following:
Code:
# /scripts/mysqlup --force --verbose
# /scripts/restartsrv_tailwatchd