Review the startup script to determine the location of tomcat.
:/etc/init.d> ll tomcat
-rwxr-xr-x  1 root root 7038 2006-03-06 13:42 tomcat


:/etc/init.d> less tomcat

Then scan for either tomcat_home or CATALINA_HOME ( depending on your
version of tomcat).

CATALINA_HOME=/opt/tomcat
export JAVA_HOME=/usr/lib/java
export JAVA_OPTS=-Djava.awt.headless=true

There is a directory structure in tomcat home > Review that for the
$tomcat_home/logs directory.

Gerard 

 


-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Paul Noble
Sent: Monday, December 03, 2007 11:09 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Re: Tomcat not auto-starting

>>> "Shockley, Gerard C" <[EMAIL PROTECTED]> 12/3/2007 10:48 AM >>>
>review the results of the following -

># chkconfig | grep tomcat
>tomcat                    on

This command shows that tomcat5 is ON

># dmesg | grep tomcat

This command makes no mention of tomcat

># cat /var/log/boot.msg | grep tomcat
><notice>start services (xinetd uportal tomcat squid nscd hwscan cron) 
>Starting Tomcat (/rootvg/jakarta-tomcat-5.0.28)..done
>Starting Tomcat (/rootvg/jakarta-tomcat-5.5.4)..done
><notice>exit status of (xinetd uportal tomcat squid nscd hwscan cron) 
>is (0 0 0 0 0 0 0) :~ #

lxgwarc:/etc/init.d # cat /var/log/boot.msg | grep tomcat Starting
Tomcat (/srv/www/tomcat5/base/)Starting service MySQL ..done
lxgwarc:/etc/init.d #


>Also review the tomcat catalina logs and local host logs for any clues.

Where can I find these logs?

>Finally make sure /$tomcat_home as the appropriate privileges (non 
>root).  This will prevent tomcat startup.

Where is this folder?



Gerard
 


-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Paul Noble
Sent: Monday, December 03, 2007 10:04 AM
To: LINUX-390@VM.MARIST.EDU
Subject: Tomcat not auto-starting

I am working with our e-mail (Novell Groupwise) guy to install Novell's
Retain software for archiving e-mail messages. It requires tomcat5 and
apache.

Last Friday, we got everything working and all seemed well.

This morning, we came in and found that tomcat wasn't running, so
nothing was working.

I have used the chkconfig tomcat5 on command to have tomcat
automatically start, when the system is booted. However, it did not. We
shut down all of our Linux guests on z/VM every night to do full-volume
backups from the z/OS LPAR. Tomcat apparently did not restart when the
system was re-started after the backup window.

A simple "/etc/init.d/tomcat5 start" command starts tomcat easily, with
no errors.

How can I determine why it isn't starting automatically?

Thanks,
Paul Noble, Systems Programmer
Cuyahoga County Information Service Center

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send
email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit http://www.marist.edu/htbin/wlvindex?LINUX-390 

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send
email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit http://www.marist.edu/htbin/wlvindex?LINUX-390 

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions, send
email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to