I'm running Ubuntu 12.04. Since I removed tomcat via aptitude purge the other day, I keep getting the following error from Cron daily:

error: tomcat6:7 unknown user 'tomcat6'
error: found error in /var/log/tomcat6/catalina.out , skipping

I want to get rid of this error message, but I have absolutely no idea where to start. I don't even really understand what the point of the error message is.

How do I fix it?

1 Answer 1


This is the logrotate software (that, as the name says, "rotate" logs) complaining about a non-existent user configured to rotate your tomcat logs.

Try searching the /etc/logrotate.d/ directory for something like "tomcat" or "tomcat6" and remove the file if you find it, it's useless now that tomcat is not installed anymore.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.