These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Log file rotation fails, no error. on the new forum.
My log files seem to never rotate (at least I only checked the apache access_logs), so I tried to do a forced log rotation, this was the output:
Forcing the immediate rotation of all log files ..
.. failed! See the output above for the reason why.
No error is specified..
I also checked the directory and the file size of the log files is still the same, so the command did indeed not execute as it should have. (100MB+ access_log).
Any ideas as to what may be the cause?
Actually the first time I did get "done". However, as said in the previous post, the size of the access_log is still the same. settings for minimum and maximum log size are set to default. Do I need to change this?
I'm unsure what to fill in, why is there a maximum option anyway?
Howdy,
What happens if you run this command as root:
logrotate -d -f /etc/logrotate.conf
Do you see any errors?
-Eric
It seems to ignore the domain.conf files because of bad file mode. Any idea what that means?
OK, I set the chmod to 644 for those config files (though i didn't create them, so seems to be a webmin bug).
Then did another forced log rotate; now the config files are included, but the result is still the same; logs are not rotated and no new ones / renmaes either as in this output...