Summary: | error: cannot stat /etc/logrotate.d: No such file or directory | ||
---|---|---|---|
Product: | IPFire | Reporter: | M.A. <bugzilla> |
Component: | logrotate | Assignee: | Michael Tremer <michael.tremer> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | Major Usability | ||
Priority: | - Unknown - | CC: | ahepp, arne.fitzenreiter, itsuperhack, michael.tremer, pub, stefan.schantl |
Version: | 2 | ||
Hardware: | unspecified | ||
OS: | Unspecified |
Description
M.A.
2014-09-19 15:12:20 UTC
addition to perl script: /srv/web/ipfire/cgi-bin/logs.cgi/proxylog.dat if you press "Update/Aktualisieren" more than once you can fire more than one perl process which can lead into hanging ipfire machine, if the access.log is too big. Hello, with core 85, there is still this problem. To solve the problem, just create the folder /etc/logrotate.d manually or otherwise remove the corresponding line in /etc/lograte.conf One customer of us, had 46 GB logfiles yesterday. I hope it will be solved in the next ipfire version. It does not make sense to fix the problem after each new installation manually. thanks Andreas Just to confirm this, logrotate doesn't rotate any logs at all if the directory does not exist? I don't suppose that we will be able to do any performance improvements on that perl code in the next time. Hi, i can confirm your suspicion. Just create the folder and everything is functioning properly. (you can check this in your normal update routine and / or create it at new installations) Regards Markus Bug was introduced by: http://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=23b810171806939a23c3d5df7758b90dda357116 *** Bug 10531 has been marked as a duplicate of this bug. *** *** Bug 10762 has been marked as a duplicate of this bug. *** Here is the fix: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff;h=c460d5c25e231ab6322dcbb13bc04e6e56d5d7f6 Fix shipped with Core Update 89. |