首页 > 代码库 > linux下启动tomcat----Cannot find ./catalina.sh
linux下启动tomcat----Cannot find ./catalina.sh
参考: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
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。