小编spo*_*n72的帖子

Tomcat安装startup.sh不起作用

所以我遵循了以下步骤列表: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: Directory nonexistent
Run Code Online (Sandbox Code Playgroud)

我该怎么做才能解决这个问题?我应该修改CATALINA_BASE变量吗?

tomcat

5
推荐指数
2
解决办法
3万
查看次数

标签 统计

tomcat ×1