gpt4 book ai didi

Tomcat 启动脚本未运行

转载 作者:行者123 更新时间:2023-11-28 21:55:16 25 4
gpt4 key购买 nike

所以我已经按照以下步骤列表进行操作:https://www.digitalocean.com/community/articles/how-to-install-apache-tomcat-on-ubuntu-12-04 .

当我尝试运行启动脚本 $CATALINA_HOME/bin/startup.sh 时,我收到此消息:

Using CATALINA_BASE: /usr/share/tomcat7
Using CATALINA_HOME: /usr/share/tomcat7
Using CATALINA_TMPDIR: /usr/share/tomcat7/temp
Using JRE_HOME: /usr/lib/jvm/default-java
Using CLASSPATH:
/usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar
touch: cannot touch `/usr/share/tomcat7/logs/catalina.out': No such file or directory
/usr/share/tomcat7/bin/catalina.sh: 389: /usr/share/tomcat7/bin/catalina.sh: cannot create /usr/share/tomcat7/logs/catalina.out:

我应该怎么做才能让启动脚本正常工作?

最佳答案

尝试:

mkdir /usr/share/tomcat7/logs/; chown user_running_tomcat /usr/share/tomcat7/logs

关于Tomcat 启动脚本未运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19014948/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com