腾讯云部署完tomcat,开启./startup.sh后报错,找不到logs/catalina.out

error提示: touch: cannot touch ‘/usr/local/tomcat/apache-tomcat-8.0.50-src/logs/catalina.out’: No such file or directory
/usr/local/tomcat/apache-tomcat-8.0.50-src/bin/catalina.sh: line 456: /usr/local/tomcat/apache-tomcat-8.0.50-src/logs/catalina.out: No such file or directory

1.png

是因为没有logs目录,那我们就创建一个目录

image.png

mkdir /usr/local/tomcat/apache-tomcat-8.0.50-src/logs

再开启就ok


image.png

转载自:https://blog.csdn.net/weixin_39728460/article/details/79908307

你可能感兴趣的:(腾讯云部署完tomcat,开启./startup.sh后报错,找不到logs/catalina.out)