启动tomcat报错touch: cannot touch ‘/home/web/tomcat-8099-app/logs/catalina.out’: No such file or directo
报错:[root@im bin]# bash catalina.sh startUsing CATALINA_BASE:/home/web/tomcat-8099-appUsing CATALINA_HOME:/home/web/tomcat-8099-appUsing CATALINA_TMPDIR: /home/web/tomcat-8099-app/tempUsing JRE_HOME:/u
·
报错:
[root@im bin]# bash catalina.sh start
Using CATALINA_BASE: /home/web/tomcat-8099-app
Using CATALINA_HOME: /home/web/tomcat-8099-app
Using CATALINA_TMPDIR: /home/web/tomcat-8099-app/temp
Using JRE_HOME: /usr
Using CLASSPATH: /home/web/tomcat-8099-app/bin/bootstrap.jar:/home/web/tomcat-8099-app/bin/tomcat-juli.jar
touch: cannot touch ‘/home/web/tomcat-8099-app/logs/catalina.out’: No such file or directory
catalina.sh: line 439: /home/web/tomcat-8099-app/logs/catalina.out: No such file or directory
Tomcat started.
处理:
[root@im tomcat-8099-app]# mkdir logs
[root@im tomcat-8099-app]# ls
bin BUILDING.txt conf CONTRIBUTING.md lib LICENSE logs NOTICE README.md RELEASE-NOTES RUNNING.txt webapps
再启动就成功了。
更多推荐
已为社区贡献3条内容
所有评论(0)