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@test233 bin]# sh startup.sh
Using CATALINA_BASE: /home/tomcat2
Using CATALINA_HOME: /home/tomcat2
Using CATALINA_TMPDIR: /home/tomcat2/temp
Using JRE_HOME: /home/jdk
Using CLASSPATH: /home/tomcat2/bin/bootstrap.jar:/home/tomcat2/bin/tomcat-juli.jar
Tomcat started.

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

 

相关文章:

  • 2022-12-23
  • 2021-09-03
  • 2021-10-05
  • 2022-12-23
  • 2021-09-14
  • 2021-06-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-29
  • 2021-07-10
  • 2022-12-23
  • 2021-12-10
相关资源
相似解决方案