How to fix incorrect permissions when installing Tomcat? -
i've installed tomcat 7 in ubuntu 13.04 have problem in starting server.
i've installed tomcat 7 command:
tar -xzpf ./apache-tomcat-7.0.26.tar.gz -c /chemin_vers_dossier_d_installation/
and start server :
/opt/apache-tomcat-7.0.39/bin/catalina.sh run
but had error message:
run using catalina_base: /opt/apache-tomcat-7.0.39 using catalina_home: /opt/apache-tomcat-7.0.39 using catalina_tmpdir: /opt/apache-tomcat-7.0.39/temp using jre_home: /home/fakarovic/jdk1.6.0_45/ using classpath: /opt/apache-tomcat-7.0.39/bin/bootstrap.jar:/opt/apache-tomcat-7.0.39/bin/tomcat-juli.jar may 10, 2013 9:19:32 org.apache.catalina.startup.catalina load warning: unable load server configuration [/opt/apache-tomcat-7.0.39/conf/server.xml] may 10, 2013 9:19:32 org.apache.catalina.startup.catalina load warning: permissions incorrect, read permission not allowed on file. may 10, 2013 9:19:32 org.apache.catalina.startup.catalina load warning: unable load server configuration [/opt/apache-tomcat-7.0.39/conf/server.xml] may 10, 2013 9:19:32 org.apache.catalina.startup.catalina load warning: permissions incorrect, read permission not allowed on file. may 10, 2013 9:19:32 org.apache.catalina.startup.catalina start severe: cannot start server. server instance not configured.
nb: defined java_home variable.
its problem related file permissions in linux. check file permission of tomcat installation directory, change work.
becauase see line of log
may 10, 2013 9:19:32 org.apache.catalina.startup.catalina load warning: permissions incorrect, read permission not allowed on file.
the excpetion shouting have file permission problem.
Comments
Post a Comment