近日在啟動Tomcat下的sh文件時報錯,報錯如下:
Cannot find ./catalina.sh
The file is absent or does not have execute permission
This file is needed to run this program
解決方法:
在tomcat 的bin目錄下 執行這條命令
chmod +x *.sh
再次執行 sh catalina.sh
通過,
然后用sh startup.sh
啟動成功
非常感謝這位朋友:http://blog.csdn.net/home_zhang/article/details/8178471