restar linux will resolve issues
I get this error when I call tomcat service
Code:
tomcat dead but subsys locked I tried restart still the same issue. |
|
Also check this:
There's a file that gets created when services start - usually held in /var/run/subsys or so - and are empty files but serve as a flag to indicate that the process is running. When the service terminates abnormally, that file often doesn't get deleted. That message you see is referring to the fact that the file exists but no running process is detected. To get around it, firstly execute the "shutdown" script, something like: /etc/init.d/tomcat stop It may give errors, but it should write to its logfiles etc and think that the process has finished. Then find the subsys file and delete it. Then start the process, eg: /etc/init.d/tomcat start That should get you running again. Source: http://www.mombu.com/gnu_linux/red-h...-10496087.html |
I could not find the /var/run/subsys file , how to find this file ?
Quote:
|
any help with this
tomcat starts shutsdown no errors but when tomcat is runing i check the status servide tomcat status I get tomcat dead but subsys locked I tried rm -rf /var/lock/subsys/tomcat but did not change. Quote:
|
Look in the service start up file (prob in /etc/init.d); it should mention the relevant file+location
Try Code:
ls /var/lock/subsys Which distro+version is this? |
All times are GMT -5. The time now is 09:51 AM. |