service tomcat7 start fails, but the process exists and tomcat is running

后端 未结 4 2043
名媛妹妹
名媛妹妹 2021-02-19 10:29

I have been trying to install tomcat7 on ubuntu docker images with apt-get install tomcat7. The installation works fine and starting tomcat from the catalina.sh wo

4条回答
  •  别那么骄傲
    2021-02-19 11:12

    I happens have the some situation, it caused by deleting /var/lib/tomcat7/logs directory, where I remake the directory, it owned by another user, so that tomcat7 can not restart, and not logs output, I change own, now it works fine.

    sudo chown tomcat7.tomcat7 /var/log/tomcat7
    sudo chown tomcat7.tomcat7 /var/lib/tomcat7/logs
    

提交回复
热议问题