Log file rotation failed!

I've been trying to debug this issue for a minute now, but can't figure out. Would appreciate some guidance.

This occurs when trying to turn on "Log file rotation enabled?" for a virtual server. I keep getting this:

Setting up log file rotation ..
.. Log file rotation failed! : .. the log file /var/log/virtualmin/montgomery.al_access_log is already being rotated at /usr/share/webmin/web-lib-funcs.pl line 1465.
Saving server details ..
.. done
Status: 
Active

Comments

Is there already an entry in your /etc/logrotate.conf file for /var/log/virtualmin/montgomery.al_access_log or something that matches it?

wohlford's picture
Submitted by wohlford on Tue, 06/12/2018 - 11:04 Pro Licensee

Yes! That was it. Deleted the other entry and I'm all good now.

Thank you!