码迷,mamicode.com
首页 > 系统相关 > 详细

linux下启动tomcat----Cannot find ./catalina.sh

时间:2014-11-27 10:22:42      阅读:530      评论:0      收藏:0      [点我收藏+]

标签:blog   http   io   ar   sp   文件   on   art   log   

参考:http://dearseven.blog.163.com/blog/static/1005379222013764440253/

linux 下启动tomcat

[root@test233 bin]# sh startup.sh
Cannot find ./catalina.sh
The file is absent or does not have execute permission
This file is needed to run this program

 

解决办法:
给.sh文件授权

[root@test233 bin]#  chmod +x *.sh  

再启动,成功

[root@test233 bin]# sh startup.sh
Using CATALINA_BASE: /home/tomcat2
Using CATALINA_HOME: /home/tomcat2
Using CATALINA_TMPDIR: /home/tomcat2/temp
Using JRE_HOME: /home/jdk
Using CLASSPATH: /home/tomcat2/bin/bootstrap.jar:/home/tomcat2/bin/tomcat-juli.jar
Tomcat started.

linux下启动tomcat----Cannot find ./catalina.sh

标签:blog   http   io   ar   sp   文件   on   art   log   

原文地址:http://www.cnblogs.com/yimiyan/p/4125662.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!