• Welcome to The Network People Support Forums. Please login or sign up.

Invalid Log Entries?

Started by flashcoder, April 10, 2007, 02:32:39 AM

Previous topic - Next topic

flashcoder

Hi,

  I think I have it working correctly on a different box.  I set it up again and it executes.  I just get this error now:

ERROR: You have invalid log entries! Read the FAQ for setting up logging correctly.
ERROR: You have invalid log entries! Read the FAQ for setting up logging correctly.
ERROR: You have invalid log entries! Read the FAQ for setting up logging correctly.
ERROR: You have invalid log entries! Read the FAQ for setting up logging correctly.
ERROR: You have invalid log entries! Read the FAQ for setting up logging correctly.
ERROR: You have invalid log entries! Read the FAQ for setting up logging correctly.

I checked my conf file and I have the following below.  It's the same as this page:

http://www.tnpi.net/internet/www/logmonster/index.shtml

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %v" combined
CustomLog "| /usr/local/sbin/cronolog /var/log/apache/%Y/%m/%d/access.log" combined
ErrorLog "| /usr/local/sbin/cronolog /var/log/apache/%Y/%m/%d/error.log"


I checked the logfile itself and I see

67.52.5.86 - - [09/Apr/2007:07:36:24 -0500] "GET /photo_gallery.php?cur=2 HTTP/1.1" 200 7650 "http://www.somewebsite.org/photo_gallery.php?cur=1"; "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT
5.1)"

I think it may not like the IP infront of the logfile?  Does apache put that in by default?  If it's just the IP, I could write some script that removes that from every line....

Any help is appreciated...

matt

Some of the log entries might be older, from before you set up the logging for logmonster?

Matt