[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Monit - Tomcat failed to start
From: |
Josh Claros |
Subject: |
Monit - Tomcat failed to start |
Date: |
Mon, 11 Jun 2012 15:35:31 -0700 |
Hello,
i am running Monit as root Tomcat as user s398721
on Catalina.sh i set this:
JAVA_HOME=/usr/java/jdk1.6.0_32
CATALINA_PID=/home/s398721/apache-tomcat-7.0.27/bin/file.pid
and monitrc:
check process tomcat with pidfile /home/s398721/apache-tomcat-7.0.27/bin/fil
e.pid
start program = "/home/s398721/apache-tomcat-7.0.27/bin/startup.sh"
with uid s398721 gid s398721
stop program = "/home/s398721/apache-tomcat-7.0.27/bin/shutdown.sh"
with uid s398721 gid s398721
if failed port 8080 and protocol http then start
if failed port 8080 then alert
when tomcat goes down i get this error when it tries to restart it:
PDT Jun 11 06:08:46] error : 'tomcat' process is not running
[PDT Jun 11 06:08:48] info : 'tomcat' trying to restart
[PDT Jun 11 06:08:48] info : 'tomcat' start:
/home/s398721/apache-tomcat-7.0.27/bin/startup.sh
[PDT Jun 11 06:09:18] error : 'tomcat' failed to start
AM I MISSING SOMETHING??? i tried setting the JAVA_HOME on the
startup.sh script as well.
- Monit - Tomcat failed to start,
Josh Claros <=