tailwatchd failed in my mail

ASTRAPI

Well-Known Member
Jul 8, 2008
321
0
66
Hello

I got mail with this error:

tailwatchd failed @ Tue Jun 2 17:35:01 2009. A restart was attempted automagically.
How can i fix it?

Thank you
 

JPC-Shaun

Well-Known Member
Oct 29, 2008
49
0
56
Hi;

Are you sure all the components under tailwatchd are selected Eximstats, ChkServd , Antirelayd & cPBandwd. You can check this by
/usr/local/cpanel/libexec/tailwatchd --status

Check the tailwatchd logs for the failure reasons:

tail /usr/local/cpanel/logs/tailwatchd_log

Try to restart the Cpanel service , If this not resolve your issue, run UPCP forcefully.
 

thewebhosting

Well-Known Member
May 9, 2008
1,201
1
68
Hi;

Try to restart the Cpanel service , If this not resolve your issue, run UPCP forcefully.
You can restart cPanel server via SSH through below command:

/etc/init.d/cpanel restart

Thanks!
 

ASTRAPI

Well-Known Member
Jul 8, 2008
321
0
66
When i restrt it i get this:

Starting tailwatchd:
!!
ATTENTION ATTENTION ATTENTION ATTENTION

The tailwatchd driver 'Cpanel::TailWatch::Eximstats' (Cpanel/TailWatch/Eximstats .pm) could not be initiated.

More specifically:

Can't locate HTTP/Date.pm in @INC (@INC contains: /usr/local/cpanel /usr /local/cpanel/Cpanel/CPAN/overload/__Time /usr/lib/perl5/site_perl/5.8.8/i386-li nux-thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib /perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i3 86-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5. 8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5 /site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/per l5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i3 86-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi / usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/ vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl /u sr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/local /cpanel/Cpanel/TailWatch/Eximstats.pm line 35.


ATTENTION ATTENTION ATTENTION ATTENTION
!!

[Tue Jun 2 23:56:56 2009] Starting /usr/local/cpanel/libexec/tailwatchd daemon
Log is at /usr/local/cpanel/logs/tailwatchd_log

And this is from the log file:

2009-06-02 19:56:53 UTC [Cpanel::TailWatch::Utils::Stop] 2009-06-02 19:56:53 UTC [main] Current process '32391' stopped
2009-06-02 19:56:56 UTC [Cpanel::TailWatch::ChkServd] Opened /usr/local/cpanel/logs/tailwatchd_log in append mode
2009-06-02 19:56:56 UTC [Cpanel::TailWatch::ChkServd] Opening /var/log/chkservd.log in append mode
2009-06-02 19:56:56 UTC [main] [START] 1952 1243972616
2009-06-02 19:56:56 UTC [Cpanel::TailWatch] Restored /var/log/exim_mainlog (size:59451) to 13916 (requested 13916)
2009-06-02 19:56:56 UTC [Cpanel::TailWatch] Restored /var/log/maillog (size:737081) to 733314 (requested 733314)
Undefined subroutine &HTTP::Date::str2time called at /usr/local/cpanel/Cpanel/TailWatch/Eximstats.pm line 362, <GEN0> line 1.
 
Last edited:
Jul 25, 2004
9
0
151
I am having similar issues where i'm getting emails about tailwatch_d failing every hour. When looking in services it shows it's not running (shows in red in whm).

I have restarted cpanel, updated and restarted cpanel, gone thru the logs on the server and found an error that i have since fixed and then updated and restarted cpanel but i'm still receiving the emails every hour and tailwatch_d is still not running properly.

I am receiving this error in the tailwatch_d logs still also

2009-10-01 23:35:03 UTC [Cpanel::TailWatch::Utils::Stop] 2009-10-01 23:35:03 UTC [main] Could not stop current process '3577'
2009-10-01 23:35:03 UTC [Cpanel::TailWatch::ChkServd] Opened /usr/local/cpanel/logs/tailwatchd_log in append mode
2009-10-01 23:35:03 UTC [Cpanel::TailWatch::ChkServd] Opening /var/log/chkservd.log in append mode
2009-10-01 23:44:11 UTC [Cpanel::TailWatch::ChkServd] Opened /usr/local/cpanel/logs/tailwatchd_log in append mode
2009-10-01 23:44:11 UTC [Cpanel::TailWatch::ChkServd] Opening /var/log/chkservd.log in append mode
2009-10-01 23:44:13 UTC [main] [STOP ??] 3577
this started shortly after running an update in cpanel after changing from release to current update settings. Rolling back cpanel to release was tried also but hasn't fixed the issue (i don't think the error and the version of cpanel are related but only a coincedence that this started showing up after an update).

I have searched the forums and tried everything i've found (pretty much what's listed above) and i'm not finding it's fixing the issue. I'm getting my logs from today from the server right now to see if the error messages have changed (changed from the entries that were showing last night) and if i find new error messages I will post them.

Does anyone here have any tips or ideas as to what else I should try to fix this issue?
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,216
12
313
Houston, TX
cPanel Access Level
Root Administrator
Given that you have done such an extensive job at attempting to troubleshoot this issue, feel welcome to allow our technical analysts to login to your server and assist with the troubleshooting and resolution process.
 
Jul 25, 2004
9
0
151
Thank you david,

I have placed a support ticket with my datacenter (serverbeach) and they have a ticket open (i think) with cpanel right now. They have been passing along my information from the support ticket to a cpanel staff member although I may try to create a ticket myself at cpanel's ticket system and see if we can get this fixed. I've not had any updates for a few hours from the datacenter and the issue seems to be getting worse (i have several other services starting to fail on the box at this point).
 
Jul 25, 2004
9
0
151
Just wanted to post about the cause and fix in my situation (and possibly in some other peoples situation when this arises for them in the future). In my case the issue causing the failure was due to a hard drive failure and bad sectors on the hard drive that was failing. Replacing the hard disk that cpanel and the operating system were on has fixed the issue where the normal fixes posted about on the forums couldn't. I don't think that this fix is going to help everyone who gets this error (possibly due to other issues) but check that your hard disc isn't failing and causing the issue you may want to verify that the hard drive that cpanel/your operating system is on is in good working condition and isn't failing or does have bad sectors (in which case it would possibly be causing the tailwatch_d and other cpanel/apache components to fail). Well in my case that was how I fixed it and i wanted to post so that others saw how I fixed the issue in my situation.