+ echo 0000003
0000003
+ '[' '!' -z /var/tomcat/9300.pid ']'
+ echo CATALINA_PID:/var/tomcat/9300.pid
CATALINA_PID:/var/tomcat/9300.pid
+ '[' -f /var/tomcat/9300.pid ']'
+ '[' 5 -ge 0 ']'
++ cat /var/tomcat/9300.pid
+ kill -0 23430
+ '[' 0 -gt 0 ']'
+ '[' 5 -gt 0 ']'
+ sleep 1
+ '[' 5 -eq 0 ']'
++ expr 5 - 1
+ SLEEP=4
+ '[' 4 -ge 0 ']'
++ cat /var/tomcat/9300.pid
+ kill -0 23430
+ '[' 0 -gt 0 ']'
+ '[' 4 -gt 0 ']'
+ sleep 1
+ '[' 4 -eq 0 ']'
++ expr 4 - 1
+ SLEEP=3
+ '[' 3 -ge 0 ']'
++ cat /var/tomcat/9300.pid
+ kill -0 23430
+ '[' 0 -gt 0 ']'
+ '[' 3 -gt 0 ']'
+ sleep 1
+ '[' 3 -eq 0 ']'
++ expr 3 - 1
+ SLEEP=2
+ '[' 2 -ge 0 ']'
++ cat /var/tomcat/9300.pid
+ kill -0 23430
+ '[' 0 -gt 0 ']'
+ '[' 2 -gt 0 ']'
+ sleep 1
+ '[' 2 -eq 0 ']'
++ expr 2 - 1
+ SLEEP=1
+ '[' 1 -ge 0 ']'
++ cat /var/tomcat/9300.pid
+ kill -0 23430
+ '[' 0 -gt 0 ']'
+ '[' 1 -gt 0 ']'
+ sleep 1
+ '[' 1 -eq 0 ']'
++ expr 1 - 1
+ SLEEP=0
+ '[' 0 -ge 0 ']'
++ cat /var/tomcat/9300.pid
+ kill -0 23430
+ '[' 0 -gt 0 ']'
+ '[' 0 -gt 0 ']'
+ '[' 0 -eq 0 ']'
+ '[' 0 -eq 0 ']'
+ echo 'Tomcat did not stop in time. PID file was not removed.'
Tomcat did not stop in time. PID file was not removed.
++ expr 0 - 1
+ SLEEP=-1
+ '[' -1 -ge 0 ']'
+ '[' 0 -eq 1 ']'
[root@ptbin]#
Tomcat 关闭报错:Tomcat did not stop in time. PID file w(3)
内容版权声明:除非注明,否则皆为本站原创文章。
转载注明出处:https://www.heiqu.com/4f0bdba19ba516edd3c44a3991017896.html