a lots of (Permission denied) in catalina.out

后端 未结 3 1229
渐次进展
渐次进展 2021-02-07 17:43

How can i install Apache web server and Apache tomcat to avoid get errors like this:

java.io.FileNotFoundException: /usr/local/apache-tomcat-7.0.5/work/Catalin

3条回答
  •  伪装坚强ぢ
    2021-02-07 18:10

    Can't vouch for the security of doing so, but

    $ cd /usr/local/tomcat/ #or /usr/shared/tomcat6, whatever your $TOMCAT_BASE dir
    $ chown -R tomcat6 webapps temp logs work conf
    $ chmod -R 777 webapps temp logs work conf
    

    works a treat for these situations.

    My tomcat install was borked with permission errors, but throwing open the gates thusly fixed everything.

提交回复
热议问题