Tomcat 7 Start Issue, Status Running but Can't Stop

0. Environment

JDK 1.7, Tomcat 7.0, Linux


1. Problem Description

Disk is full, clean the log file to make room.

pinnacle bin :( # /etc/init.d/tomcat7-phase3 status
tomcat7-phase3 (pid ) is running...
pinnacle bin # /etc/init.d/tomcat7-phase3 stop
Stopping tomcat7-phase3:                                   [FAILED]
pinnacle run # /etc/init.d/tomcat7-phase3 start
Starting tomcat7-phase3:                                   [  OK  ]
However, the tomcat is not running and can't find any booting log in catalina.out.


2. Analysis

The disk space full might have caused the tomcat crash and exception, even if we have cleaned the log file.


3. Solution

rm /var/run/tomcat7-phase3.pid

Reference:

[1] http://serverfault.com/questions/440986/tomcat6-on-centos-6-cannot-stop-restart-service

你可能感兴趣的:(Tomcat 7 Start Issue, Status Running but Can't Stop)