首页 > 技术文章 > Cannot find ./catalina.sh The file is absent or does not have execute permission This file is nee Linux上tomcat无法正常启动

cx-code 2019-03-04 21:10 原文

上传了个tomcat7的压缩包上linux服务器,解压后,想直接启动,发现报错:

Cannot find ./catalina.sh The file is absent or does not have execute permission This file is nee

 

解决方法:

 

1.在tomcat 的bin目录下 执行这条命令
chmod +x *.sh  
2.再次执行 sh catalina.sh通过,

 

3.然后用sh startup.sh启动成功

 

推荐阅读