Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 16 to 18 of 18
  1. #16
    Member
    Join Date
    Mar 2002
    Posts
    55

    Default

    Same here. After upgrading to CPanel/WHM 4.8.0, chkservd seems to be working again.

  2. #17
    Member
    Join Date
    Jul 2002
    Location
    Atlanta, GA
    Posts
    646

    Default Does checksrvd monitor Tomcat?

    I have Tomcat install for some clients and I'm wondering if checksrvd motniros Tomcat as well? Anyone know? If it doesn't, is there a way for to do so?

    Jaz

  3. #18
    Member
    Join Date
    May 2002
    Posts
    152

    Default

    To those that are having problems with chkservd, you should probably check the log file at /var/log/chkservd.log The file should be pretty long and probably includes times when your Apache wasn't working properly... or not being restarted automatically by chkservd.

    If Apache is found to be down, the log entry should look something like this:
    [Fri Jul 12 23:00:50 2002] Service check ....apache [-Restarting apache....
    system: killall -9 httpd
    system: /etc/rc.d/init.d/httpd stop
    system: /etc/rc.d/init.d/httpd startssl
    system: /usr/local/apache/bin/apachectl startssl
    system: /etc/rc.d/init.d/httpd****start
    system: /usr/local/apache/bin/apachectl start
    ]bind [+]...interchange [+]...mysql [+]...proftpd [+]...syslogd [+]...webmail [+]...Done

    This is chkservd attempting to restart Apache (and it tries pretty hard by the looks of it). Mine has always worked fine in testing, and I've yet to find any servers with Apache randomly down. (knock wood).

    For what its worth, chkservd appears to check for Apache by making a local connection to port 80, and listening for a response from the server. It's a nice system and can also be easily tweaked to monitor other services like the POP and IMAP daemons, SSH server, etc.

    - Jason
    Ecoutez! Ltd.
    www.ecoutez.com
    Our new Theme: www.MaxPanel.com

Similar Threads & Tags
Similar threads

  1. Restart Services?
    By jhyland87 in forum cPanel Developers
    Replies: 5
    Last Post: 06-24-2009, 12:36 PM
  2. Restart Services - are these all graceful?
    By spaceman in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-12-2007, 04:17 PM
  3. restart services
    By shanit in forum New User Questions
    Replies: 6
    Last Post: 12-21-2005, 09:37 AM
  4. Restart Services (ProFTPd) ???
    By flash7 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-10-2004, 01:09 AM
  5. How do you restart services from shell?
    By bjdea1 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-17-2004, 03:15 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube