PID file exists, but the process is not running

I work in centos6. I installed tomcat6. On the first, everything works fine. But after rebooting, the tomcat6 server did not work properly.

When I execute this command line: " tomcat6 service status ) I received:" A PID file exists, but the process does not run [ÉCHOUÉ] "I checked the log file" catalina.out "and received this error:

GRAVE: StandardServer.await: create [8005]:

java.net.BindException: Cannot assign requested address
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(Unknown Source)
        at java.net.ServerSocket.bind(Unknown Source)
        at java.net.ServerSocket.<init>(Unknown Source)
        at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
        at org.apache.catalina.startup.Catalina.await(Catalina.java:657)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:617)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

Thanks in advance for your help.

+4
source share
3 answers

Tomcat CATALINA_PID, PID Tomcat . , Tomcat, , (, ) PID .

, Tomcat , ( CATALINA_PID) .

, jsvc, Tomcat .

+2

tomcat? 80 8080? , ? ? tomcat,

ps -ax | grep tomcat
kill -9 <PID>

, tomcat - java, , ,

killall -9 java

, catelina.out , .

- , /:

tail -f /usr/share/apache-tomcat-6.0.37/logs/catalina.out

init setenv.sh, PID. .

+2

, , , linux.

ps -ax | grep 8080

Kill 8080

sudo service tomcat start 

.

0

All Articles