1. 程式人生 > >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 Linux上tomcat無法正常啟動

inux 分享圖片 無法 解決方法 tle clas color ron 方法

上傳了個tomcat7的壓縮包上linux服務器,解壓後,想直接啟動,發現報錯:

Cannot find ./catalina.sh The file is absent or does not have execute permission This file is nee

解決方法:

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無法正常啟動