On Friday 16 Jan 2009, Sandip Tiwari wrote:
> I installed tomcat 6 using YAST (openSUSE 11.1). Here is what I get
> when I try to run it
>
> linux-sv4d:/home/st # /etc/init.d/tomcat6 start
> Starting Tomcat (/usr/share/tomcat6)lock file found but no process
> running for pid 25716, continuing   done

There is a stale .pid file for tomcat6.
As root run the following to find .pid files
        find /var -iname '*.pid'

> linux-sv4d:/home/st # /etc/init.d/tomcat6 status
> Checking for Tomcat (/usr/share/tomcat6)                 dead
>
> linux-sv4d:/home/st # /etc/init.d/tomcat6 stop
> Shutting down Tomcat (/usr/share/tomcat6)                failed
>
>
> tail /var/log/messages
>
> Jan 16 22:53:25 linux-sv4d su: (to tomcat) root on none
> Jan 16 22:53:35 linux-sv4d su: (to tomcat) root on none
>
> Can anyone tell me what is wrong? Or where I should look for
> problems?

Don't have any experience with Tomcat but suggest that:
If tomcat configuration has log settings then change them to log tomcat 
into a separate file e.g. /var/log/tomcat.log and /var/log/tomcat.err.
Look at what is logged in the .err file, usually there is enough info on 
what is wrong with your setup.

For Apache the above strategy works for me.

HTH,
-- Arun Khan

Reply via email to