linux 下启动tomcat报错 Cannot find ./catalina.sh

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  

再启动,成功

posted @ 2020-12-03 15:27  杰梦  阅读(335)  评论(0编辑  收藏  举报