The file is absent or does not have execute permission This file is needed to run this program.
运行:
1 | $ ./startup.sh |
提示:
1 | Cannot find ./catalina.sh |
说明catalina.sh没有执行权限.把 ~/apache-tomcat-6.0.33/bin/目录下的所有sh文件的权限都设为755(当然 也包括catalina.sh)即可:
1 | $ chmod 755 *.sh |
再次运行startup.sh,显示的结果正常:
1 | $ ./startup.sh |