Tag Archives: logrotate
Cron is mailing me reports like these:
error: squeezeboxserver:1 duplicate log entry for /var/log/squeezeboxserver/server.log
error: found error in /var/log/squeezeboxserver/server.log , skipping
error: squeezeboxserver:14 duplicate log entry for /var/log/squeezeboxserver/scanner.log
error: found error in /var/log/squeezeboxserver/scanner.log , skipping
As the report tells you, logrotate tries to rotate some logs twice. Not a severe error but annoying enough to be fixed.
Begin by changing directory:
Search for the filenames mentioned in the error report:
It seems that squeezeboxserver changed name (this has happened before…) to logitechmediaserver with the latest software upgrade. An old entry still exists in logrotate for squeezeboxserver. Move this file out of the way:
There, problem fixed!