|
From: | Roedel, Mark |
Subject: | RE: monit and tomcat |
Date: | Tue, 12 Jun 2007 17:29:42 -0500 |
When starting Tomcat using monit –
does the /var/run/tomcat.pid file get updated? Is there anything interesting
or useful in Tomcat’s logs? (One possibility that occurs to me –
is JAVA_HOME set appropriately in monit’s environment?) (For the record, monit does monitor and
occasionally successfully restart tomcat instances on our network.) -- Mark Roedel Senior Programmer / Analyst LeTourneau University Longview, Texas From:
address@hidden
[mailto:address@hidden On Behalf Of Chris Salem Hello, I'm new to monit and I'm trying to
monitor tomcat, I just want to restart tomcat if it crashes. When I start
the monit daemon and run 'monit start tomcat' sometimes it says tomcat starts
and sometimes it says tomcat failed to start, but in either case tomcat does
not start. Same thing with doing it from the web interface. Here's
my monitrc file: set daemon 120 check process tomcat with pidfile
"/var/run/tomcat.pid" I also attached the log file that it
produces. I confirmed that starting tomcat does create a pid file when
calling the command "/etc/init.d/tomcat start" and it does
remove the pid file when calling stop. Also I'm using the
latest version of CentOS and monit 4.9.1 64 bit. Any ideas? Thanks size=2 width="100%" align=center> |
[Prev in Thread] | Current Thread | [Next in Thread] |