0

I run catalina.sh stop via putty because I modify files in server but then when I command catalina.sh start then it give me.

/opt/tomcat/bin$ ./catalina.sh start Using CATALINA_BASE: /opt/tomcat Using CATALINA_HOME: /opt/tomcat Using CATALINA_TMPDIR: /opt/tomcat/temp Using JRE_HOME: /usr Using CLASSPATH: /opt/tomcat/bin/bootstrap.jar:/opt/tomcat/bin/tomcat-juli.jar Using CATALINA_OPTS: touch: cannot touch '/opt/tomcat/logs/catalina.out': Permission denied ./catalina.sh: 504: cannot create /opt/tomcat/logs/catalina.out: Permission denied

I need answer to fix issues

hash
  • 1
  • Check the permissions (and owner) of the file. This commonly happens when you log in through multiple user accounts and start the server using them alternatively. Especially if root is among them: After root started the server, no unprivileged user can start it any more, due to write-protected files belonging to root. – Olaf Kock Jan 12 '23 at 13:26

0 Answers0