Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to start Tomcat #1

Open
rsysadmin-com opened this issue Sep 7, 2020 · 0 comments
Open

Failed to start Tomcat #1

rsysadmin-com opened this issue Sep 7, 2020 · 0 comments

Comments

@rsysadmin-com
Copy link

rsysadmin-com commented Sep 7, 2020

Hello Josphat,

Apologies for being the first one to report an issue... :-)

Unfortunately something does not work as expected here on a freshly installed CentOS 8 VM...

Sep 07 15:09:10 foobar01 systemd[1]: Starting Tomcat...
Sep 07 15:09:10 foobar01 catalina.sh[8673]: touch: cannot touch '/opt/tomcat/logs/catalina.out': Permission denied
Sep 07 15:09:10 foobar01 catalina.sh[8673]: /opt/tomcat/bin/catalina.sh: line 505: /opt/tomcat/logs/catalina.out: Permission denied
Sep 07 15:09:10 foobar01 systemd[1]: tomcat.service: Control process exited, code=exited status=1
Sep 07 15:09:10 foobar01 systemd[1]: tomcat.service: Failed with result 'exit-code'.
Sep 07 15:09:10 foobar01 systemd[1]: Failed to start Tomcat.

These are the permissions fpr the logs directory:

[root@foobar01 ~]# ls -ld /opt/tomcat/logs/
drwxr-x---. 2 tomcat9 tomcat 6 Jun 30 22:09 /opt/tomcat/logs/
[root@foobar01 ~]#

Any ideas?

Thanks in advance!

Best,
Martin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant