您的位置:首页 > 其它

The file is absent or does not have execute permission

2017-11-01 14:38 246 查看

linux 下启动tomcat

[root@test233 bin]# sh ./startup.sh


Cannot find ./catalina.sh


The file is absent or does not have execute permission


This file is needed to run this program


解决办法:

给.sh文件授权

[root@Zwz9dyykkqb7rb64lo bin]# chmod 777 catalina.sh

提示Permission denied

-bash: ./startup.sh: Permission denied


解决办法:

命令前加 sh

[root@Zwz9dyykkqb7rb64lo bin]# sh ./startup.sh
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐