Page 1 of 1

log error

Posted: 07 Dec 2007, 17:32
by Renan
Hey

I wanted to know if this would be a possible bug.

When I click on "lfd Log" I get this output on the next screen

ConfigServer Security & Firewall - csf v2.94
Displaying the last 30 lines of /var/log/lfd.log...

Fri Dec 7 12:27:34 2007 lfd: Error: Log line flooding/looping in /usr/local/apache/logs/error_log. Reopening log file
Fri Dec 7 12:27:34 2007 lfd: Watching /usr/local/apache/logs/error_log...
Fri Dec 7 12:27:39 2007 lfd: Error: Log line flooding/looping in /usr/local/apache/logs/error_log. Reopening log file
Fri Dec 7 12:27:39 2007 lfd: Watching /usr/local/apache/logs/error_log...
Fri Dec 7 12:27:44 2007 lfd: Error: Log line flooding/looping in /usr/local/apache/logs/error_log. Reopening log file
Fri Dec 7 12:27:44 2007 lfd: Watching /usr/local/apache/logs/error_log...
Fri Dec 7 12:27:49 2007 lfd: Error: Log line flooding/looping in /usr/local/apache/logs/error_log. Reopening log file
Fri Dec 7 12:27:49 2007 lfd: Watching /usr/local/apache/logs/error_log...
Fri Dec 7 12:27:54 2007 lfd: Error: Log line flooding/looping in /usr/local/apache/logs/error_log. Reopening log file
Fri Dec 7 12:27:54 2007 lfd: Watching /usr/local/apache/logs/error_log...
Fri Dec 7 12:27:59 2007 lfd: Error: Log line flooding/looping in /usr/local/apache/logs/error_log. Reopening log file
Fri Dec 7 12:27:59 2007 lfd: Watching /usr/local/apache/logs/error_log...
Fri Dec 7 12:28:05 2007 lfd: Error: Log line flooding/looping in /usr/local/apache/logs/error_log. Reopening log file
Fri Dec 7 12:28:05 2007 lfd: Watching /usr/local/apache/logs/error_log...
Fri Dec 7 12:28:10 2007 lfd: Error: Log line flooding/looping in /usr/local/apache/logs/error_log. Reopening log file
Fri Dec 7 12:28:10 2007 lfd: Watching /usr/local/apache/logs/error_log...
Fri Dec 7 12:28:15 2007 lfd: Error: Log line flooding/looping in /usr/local/apache/logs/error_log. Reopening log file
Fri Dec 7 12:28:15 2007 lfd: Watching /usr/local/apache/logs/error_log...
Fri Dec 7 12:28:20 2007 lfd: Error: Log line flooding/looping in /usr/local/apache/logs/error_log. Reopening log file
Fri Dec 7 12:28:20 2007 lfd: Watching /usr/local/apache/logs/error_log...
Fri Dec 7 12:28:25 2007 lfd: Error: Log line flooding/looping in /usr/local/apache/logs/error_log. Reopening log file
Fri Dec 7 12:28:25 2007 lfd: Watching /usr/local/apache/logs/error_log...
Fri Dec 7 12:28:40 2007 lfd: Error: Log line flooding/looping in /usr/local/apache/logs/error_log. Reopening log file
Fri Dec 7 12:28:40 2007 lfd: Watching /usr/local/apache/logs/error_log...
Fri Dec 7 12:29:00 2007 lfd: Error: Log line flooding/looping in /usr/local/apache/logs/error_log. Reopening log file
Fri Dec 7 12:29:00 2007 lfd: Watching /usr/local/apache/logs/error_log...
Fri Dec 7 12:29:05 2007 lfd: Directory Watching terminated after 40 seconds
Fri Dec 7 12:29:05 2007 lfd: LF_DIRWATCH taking 40 seconds, temporarily throttled to run every 900 seconds
Fri Dec 7 12:29:15 2007 lfd: Error: Log line flooding/looping in /usr/local/apache/logs/error_log. Reopening log file
Fri Dec 7 12:29:15 2007 lfd: Watching /usr/local/apache/logs/error_log...

everytime I go and check its there

Would it be a bug or anything that I have to do in my part?

Please let me know.

Thank you.

Posted: 09 Dec 2007, 11:23
by sdjl
I've recently been getting this in CSF too. Looking in the Apache error_log file I see lots of warnings to do with SUExec.

Warning: SuexecUserGroup directive requires SUEXEC wrapper.
Warning: SuexecUserGroup directive requires SUEXEC wrapper.

So it's probably not a bug with CSF, but something to do with cPanel/WHM/Apache install.

David

Posted: 10 Dec 2007, 10:17
by chirpy
Indeed. It's a protection mechanism within lfd to prevent it looping when there's flooding of one of the log files, in this case the apache error log.

Posted: 11 Dec 2007, 08:11
by Renan
and how can this be corrected?

Posted: 11 Dec 2007, 08:15
by Renan
I did the update today and "it seems" to be normal now, let see in a couple of hours how it performes.

thank you.

Posted: 13 Dec 2007, 16:04
by Renan
It still showing the errors:

Thu Dec 13 11:01:55 2007 lfd: Error: Log line flooding/looping in /usr/local/apache/logs/error_log. Reopening log file
Thu Dec 13 11:01:55 2007 lfd: Watching /usr/local/apache/logs/error_log...
Thu Dec 13 11:02:01 2007 lfd: Error: Log line flooding/looping in /usr/local/apache/logs/error_log. Reopening log file
Thu Dec 13 11:02:01 2007 lfd: Watching /usr/local/apache/logs/error_log...


Can you let me know how I can fix this, I don't have much experience with LFD so if you could help or suggest anything.

Thank you.

Posted: 26 Dec 2007, 15:18
by chirpy
lfd stops checking a log file if the log file (in your case the apache error_log) is being flooded with errors. You have to find out what's causing the problems with the apache error_log and fix that.