知识站

 找回密码
 立即注册
知识站 首页 软件服务器 查看内容

linux下启动tomcat----Cannot find ./catalina.sh

2020-1-29 10:28| 发布者: admin| 查看: 98| 评论: 0

摘要: linux 下启动tomcat# sh startup.sh提示Cannot find ./catalina.shThe file is absent or does not have execute permissionThis file is needed to run this program解决办法:给.sh文件授权# chmod +x *.sh 再启动 ...


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@test233 bin]#  chmod +x *.sh  

再启动,成功

root@instance-43t2cfcm:/usr/local/bluesky/software/apache-tomcat-9.0.30/bin# sh ./startup.sh 

Using CATALINA_BASE:   /usr/local/bluesky/software/apache-tomcat-9.0.30

Using CATALINA_HOME:   /usr/local/bluesky/software/apache-tomcat-9.0.30

Using CATALINA_TMPDIR: /usr/local/bluesky/software/apache-tomcat-9.0.30/temp

Using JRE_HOME:        /usr/local/bluesky/software/jdk1.8.0_202/jre

Using CLASSPATH:       /usr/local/bluesky/software/apache-tomcat-9.0.30/bin/bootstrap.jar:/usr/local/bluesky/software/apache-tomcat-9.0.30/bin/tomcat-juli.jar

Tomcat started.

发表评论

最新评论

Archiver|知识站 ( 鲁ICP备20004068号-1 )

鲁公网安备 37132502371390号

GMT+8, 2020-6-23 22:50 , Processed in 0.013098 second(s), 16 queries .

返回顶部