The file is absent or does not have execute permission

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/nidongde521/article/details/78413875

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

猜你喜欢

转载自blog.csdn.net/nidongde521/article/details/78413875
今日推荐