Share

The file is absent or does not have execute permission This file is needed to run this program.

运行:

$ ./startup.sh

提示:

Cannot find ./catalina.sh
The file is absent or does not have execute permission
This file is needed to run this program.

说明catalina.sh没有执行权限.把~/apache-tomcat-6.0.33/bin/目录下的所有sh文件的权限都设为755(当然
也包括catalina.sh)即可:

$ chmod 755 *.sh

再次运行startup.sh,显示的结果正常:

$ ./startup.sh
Using CATALINA_BASE: /root/apache-tomcat-6.0.33
Using CATALINA_HOME: /root/apache-tomcat-6.0.33
Using CATALINA_TMPDIR: /root/apache-tomcat-6.0.33/temp
Using JRE_HOME: /usr
Using CLASSPATH: /root/apache-tomcat-6.0.33/bin/bootstrap.jar

请先暂停下你的广告拦截插件

或者将本站地址

加入你广告拦截器的白名单

我们需要你的支持

再次感谢!

ozabc