Linux——Cannot find ./catalina.sh The file is absent or does not have execute permission This file is
程序员文章站
2024-02-28 19:51:22
...
现象
在Linux环境下运行Tomcat,当执行 ./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启动成功。
推荐阅读
-
The file is absent or does not have execute permission 启动tomcat异常
-
已解决:Cannot find ./catalina.sh The file is absent or does not have execute permission This file is ne
-
linux下执行命令报错Cannot find ./catalina.sh The file is absent or does not have execute permission
-
linux启动tomcat 服务报 The file is absent or does not have execute permission
-
Linux——Cannot find ./catalina.sh The file is absent or does not have execute permission This file is
-
The file is absent or does not have execute permission
-
Cannot find ./catalina.sh The file is absent or does not have execute permission