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

猜你喜欢

转载自www.cnblogs.com/zhcBlog/p/9845553.html
今日推荐