Hi!请登陆

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

2020-10-27 72 10/27

运行:

$ ./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
Tag:

相关推荐