linux tomcat 运行后没有启动

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux tomcat 运行后没有启动相关的知识,希望对你有一定的参考价值。

root@ubuntu:/usr/local/apache-tomcat-7.0.63/bin# sh -x startup.sh
+ os400=false
+ uname
+ PRG=startup.sh
+ [ -h startup.sh ]
+ dirname startup.sh
+ PRGDIR=.
+ EXECUTABLE=catalina.sh
+ false
+ [ ! -x ./catalina.sh ]
+ exec ./catalina.sh start
Using CATALINA_BASE: /usr/local/apache-tomcat-7.0.63
Using CATALINA_HOME: /usr/local/apache-tomcat-7.0.63
Using CATALINA_TMPDIR: /usr/local/apache-tomcat-7.0.63/temp
Using JRE_HOME: /usr/java/jdk1.8.0_51/jre
Using CLASSPATH: /usr/local/apache-tomcat-7.0.63/bin/bootstrap.jar:/usr/local/apache-tomcat-7.0.63/bin/tomcat-juli.jar
Usage: catalina.sh ( commands ... )
commands:
debug Start Catalina in a debugger
debug -security Debug Catalina with a security manager
jpda start Start Catalina under JPDA debugger
run Start Catalina in the current window
run -security Start in the current window with security manager
start Start Catalina in a separate window
start -security Start in a separate window with security manager
stop Stop Catalina, waiting up to 5 seconds for the process to end
stop n Stop Catalina, waiting up to n seconds for the process to end
stop -force Stop Catalina, wait up to 5 seconds and then use kill -KILL if still running
stop n -force Stop Catalina, wait up to n seconds and then use kill -KILL if still running
configtest Run a basic syntax check on server.xml - check exit code for result
version What version of tomcat are you running?
Note: Waiting for the process to end and use of the -force option require that $CATALINA_PID is defined
我的环境变量应该都设置的没有问题了不知道为什么进程里也没有启动。。

参考技术A 首先打开终端进入tomcat的bin文件夹
然后输入chmod +x *.sh
最后sh startup.sh追问

没用。。

以上是关于linux tomcat 运行后没有启动的主要内容,如果未能解决你的问题,请参考以下文章

在linux的tomcat部署一个war包 启动正常,启动日志没有问题,但是在访问的时候一直不能显示。

tomcat启动后,第一次访问时间很长

tomcat启动后,第一次访问时间很长

Linux服务器tomcat部署运行后cpu升到最高一直不降。

Linux下启动tomcat时,日志输出报错信息:

ubuntu命令安装tomcat 并怎么启动服务