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

catalina logrotate configuration error #165

Open
mbornoz opened this issue Sep 13, 2017 · 1 comment
Open

catalina logrotate configuration error #165

mbornoz opened this issue Sep 13, 2017 · 1 comment

Comments

@mbornoz
Copy link
Member

mbornoz commented Sep 13, 2017

There is currently 2 problems on Debian 8 with the default ERB template:

  1. group tomcat-admin does not exist anymore
  2. we have to use "su" directive to tell logrotate which user/group should be used for rotation
@jwkaltz
Copy link
Member

jwkaltz commented Sep 13, 2017

While you're improving the puppet-tomcat configuration, could you please also add a default tomcat-users file, too - this would avoid error messages when starting tomcat (and therefore make it easier to monitor the log files for "real" error messages).

So create a file /srv/tomcat/tomcat1/conf/tomcat-users.xml with contents:
<?xml version='1.0' encoding='utf-8'?> <tomcat-users> </tomcat-users>

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

2 participants