notes

[vps.yoursite.com] FAILED: tailwatchd (123.123.123.123)

If you are receiving a notification from cPanel like as below. 


The service “tailwatchd” appears to be down.
Server40.treasuryoflives.org
Primary IP Address104.131.85.212
Service Nametailwatchd
Service Statusfailed 
NotificationThe service “tailwatchd” appears to be down.
Service Check Raw Output
The “tailwatchd” service is down.
Startup Log
[Thu Jun 25 00:34:19 2015] Starting /usr/local/cpanel/libexec/tailwatch/tailwatchd daemon
Log is at /usr/local/cpanel/logs/tailwatchd_log
tailwatchd is already running. at /usr/local/cpanel/Cpanel/TailWatch.pm line 532.
Memory Information
Used695 MB
Available3.19 GB
Installed3.87 GB
Load Information0.46 0.34 0.14
IOStat Information
avg-cpu:%user %nice %system %iowait%steal %idle
 1.100.270.430.220.02 97.96
Device:tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
vda 4.41 279.65 136.95 3138086548 1536825192

Don't worry this is just a notification from cPanel server, now login to your server via ssh and check if tailwatchd service is running or not by running following command:

#/usr/local/cpanel/libexec/tailwatchd --status

And follow the instructions from 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

/scripts/restartsrv_tailwatchd

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

!!

tailwatchd is enabled

Running, PID 28932

Driver (Active: 1) Cpanel::TailWatch::cPBandwd

Driver (Active: 0) Cpanel::TailWatch::JailManager

Driver (Active: 1) Cpanel::TailWatch::Eximstats

Driver (Active: 1) Cpanel::TailWatch::ChkServd

Driver (Active: 0) Cpanel::TailWatch::Antirelayd

Driver (Active: 1) Cpanel::TailWatch::ModSecLog