Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Aug 2010
    Posts
    91

    Default tailwatchd failed on ns1 and ns2

    tailwatchd failed @ Thu May 12 01:35:05 2011. A restart was attempted automagically.
    Service Check Method: [check command] tailwatchd is not running

    I keep getting these e-mails from my cpanel server. I check the tailwatchd --status and everything is running fine. I got a msg saying there's some queries that haven't been run, but I ran them manually and I'm still receiving the tailwatchd failed e-mails every hour.

    The title is tailwatchd failed on ns1.mydomain.com
    and the other email is tailwatchd failed on ns2.mydomain.com

    I'm running my nameservers on a cpanel dns cluster. When I logged in to ssh to my cpanel dns servers, tailwatchd wasn't running. Is that normal?

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: tailwatchd failed on ns1 and ns2

    I've checked two DNS only machines to see what services it runs and tailwatchd does run on DNS only machines. Can you please check the cPanel tailwatchd log while trying to restart tailwatchd on one of the DNS only servers?

    Code:
    tail -fn0 /usr/local/cpanel/logs/tailwatchd_log
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    Member
    Join Date
    Aug 2010
    Posts
    91

    Default Re: tailwatchd failed on ns1 and ns2

    I can't start tailwatchd on the dns servers, it's enabled, but I can't start it.

    tail -fn0 didn't work and froze my command line. I tried tail -20

    Code:
    [2011-05-12 13:58:59 +0400] [Cpanel::TailWatch] [INFO] Opened /usr/local/cpanel/logs/tailwatchd_log in append mode
    [2011-05-12 13:58:59 +0400] [main] [START] 7825 1305194339
    [2011-05-12 13:58:59 +0400] [Cpanel::TailWatch] [INFO] Restored /var/log/maillog (size:0) to 0 (requested 0)
    [2011-05-12 13:58:59 +0400] [Cpanel::TailWatch] [INFO] Restored /var/log/exim_mainlog (size:606544) to 2845 (requested 2845)
    [2011-05-12 13:58:59 +0400] [Cpanel::TailWatch] [INFO] Caught up /var/log/maillog to 0
    [2011-05-12 13:58:59 +0400] [Cpanel::TailWatch] [INFO] Reading back thirty lines starting at 0 (small file)
    [2011-05-12 13:58:59 +0400] [Cpanel::TailWatch] [INFO] Restoring /var/log/maillog to catch up position 0
    [2011-05-12 13:58:59 +0400] [Cpanel::TailWatch] [INFO] Restored /var/log/maillog to position 0
    install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /usr/local/cpanel /usr/local/cpanel/Cpanel/CPAN/overload/__Time /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at (eval 10) line 3.
    Perhaps the DBD::mysql perl module hasn't been fully installed,
    or perhaps the capitalisation of 'mysql' isn't right.
    Available drivers: DBM, ExampleP, File, Gofer, Proxy, SQLite, Sponge.
     at /usr/local/cpanel/Cpanel/TailWatch/Eximstats.pm line 252
    Same msg on both dns servers. The main cpanel server seems fine, tailwatchd is running.
    Last edited by nobodyk; 05-12-2011 at 05:03 AM.

  4. #4
    cPanel Staff cPanelMichael's Avatar
    Join Date
    Apr 2011
    Posts
    1,346
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: tailwatchd failed on ns1 and ns2

    Hello

    install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC
    This particular error message indicates a problem with MySQL. You can try reinstalling the DBD::mysql Perl module via:

    Code:
    # /scripts/perlinstaller --force DBD::mysql
    Once that completes, you can restart Tailwatchd to determine if the issue persists:

    Code:
    # /scripts/restartsrv_tailwatchd
    Thank you.
    cPResources: Support Options - Submit a ticket here - Additional Support Options - Forums Search - Mailing Lists - Documentation - Migration Services
    -- cPanelMichael - Migration Specialist, Technical Analyst, cPanel Technical Support

  5. #5
    Member
    Join Date
    Aug 2010
    Posts
    91

    Default Re: tailwatchd failed on ns1 and ns2

    That worked, thanks Michael and Tristan.

Similar Threads & Tags
Similar threads

  1. NS1/NS2 exchange
    By Escaflowne in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-16-2005, 08:59 AM
  2. Another question about ns1 and ns2
    By r0drig0 in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 11-17-2004, 09:42 PM
  3. multiple ns1's and ns2's
    By dgbaker in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-08-2003, 09:32 AM
  4. How to setup ns1, ns2 with the same ip
    By moalbert in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-23-2002, 06:58 AM
  5. Promoting ns2 to ns1
    By exahost in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-10-2002, 10:25 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube