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

时间:2023-03-08 16:48:24

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.****.net/u012599988/article/details/44080673

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