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


從tomcat官網上下載了apache-tomcat-5.5.36.zip,在window xp系統里面解壓以后,直接放在了linux服務器上。

進入tomcat/bin目錄,執行啟動的時候出現如下錯誤:

[root@test bin]# ./startup.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啟動成功


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM