Cannot find ./catalina.sh The file is absent or does not have execute permission This file is nee Linux上tomcat无法正常启动 Cannot find ./catalina.sh The file is absent or does not have execute permission This file is nee

Cannot find ./catalina.sh The file is absent or does not have execute permission This file is nee  Linux上tomcat无法正常启动
Cannot find ./catalina.sh The file is absent or does not have execute permission This file is nee

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

解决方法:

 

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

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

Cannot find ./catalina.sh The file is absent or does not have execute permission This file is nee  Linux上tomcat无法正常启动
Cannot find ./catalina.sh The file is absent or does not have execute permission This file is nee