linux 启动失败 错误“Cannot find ./catalina.sh”

linux问题记录


记录一下今天遇到的linux 启动tomcat遇到的问题:
在tomcat的bin 目录下执行 sh ./start.sh.sh 启动tomcat
报错:“Cannot find ./catalina.sh
The file is absent or does not have execute permission
This file is needed to run this program”
原因:没有执行权限
解决:先执行 chmod +x .sh 然后再执行启动命令。
解释:chmod 修改权限命令;x是可写权限,w 可读权限,777是读写权限;
.sh 需要修改的文件

发布了24 篇原创文章 · 获赞 11 · 访问量 5440

猜你喜欢

转载自blog.csdn.net/weixin_44037376/article/details/93969829
今日推荐