claloano
(Claudio Pelosi)
September 6, 2016, 8:04am
1
Just premiums arrival me a notice by two FreePBX that the disk is almost full …
I immediately alerted course
After checking I realize that the logs were becoming huge !
Yet logrotate had been set months ago and I have not touched him
I checked when the problem started and I realized that ten days ago the logs have begun to grow out … I am attaching image
To someone happened the same?
There was an update that may have modified my logrotate ?
claloano
(Claudio Pelosi)
September 6, 2016, 9:54am
2
to better address
Here are the files that have started a grow a proportion:
277784 9272960 -rw-r–r-- 1 root root 9495505909 Sep 4 07:36 ./var/log/httpd/error_log-20160904
277846 3470868 -rw-r–r-- 1 root root 3554162574 Sep 6 09:00 ./var/log/httpd/error_log
277812 1584864 -rw-r–r-- 1 root root 1622895751 Aug 28 07:45 ./var/log/httpd/error_log-20160828
jfinstrom
(James Finstrom)
September 6, 2016, 3:00pm
3
Can you open one of the logs and see what line(s) are repeating
1 Like
claloano
(Claudio Pelosi)
September 6, 2016, 3:56pm
4
Tell me that you want to log and send immediately
For the rest I saw that the logrotate operations have been set to default but they were not so …
Something happened , perhaps an update , I may have triggered something on the FreePBX software …
jfinstrom
(James Finstrom)
September 6, 2016, 5:11pm
5
The error log /var/log/httpd/error_log
that is filling up… what is it filling up with? open the log, see what is in it. This log should generally have little to no content.
claloano
(Claudio Pelosi)
September 7, 2016, 12:48pm
6
jfinstrom thanks
there are no anomalies in the log generation
Now the machines work best
I set logrotate at best and now it’s all no anomalies
It remains unexplained why the " /etc/logrotate.conf " file is returned to the default setting …
but otherwise all right