linux安装tomcat后启动报错Cannot find ./catalina.sh的解决方法

linux安装tomcat后启动报错:

Cannot find ./catalina.sh
The file is absent or does not have execute permission
This file is needed to run this program

原因:无权限

解决方法:

1. chmod +x /usr/tomcat7/bin/*.sh  (亲测可用)

2. chmod 755 /usr/tomcat7/bin/*.sh

3. chmod 777 /usr/tomcat7/bin/*.sh

 

参考:

1.https://blog.csdn.net/u012599988/article/details/44080673

2.https://blog.csdn.net/qq_32600929/article/details/79682864

posted on 2018-10-24 19:16  zhcgis  阅读(856)  评论(0编辑  收藏  举报

导航