Hey all,
I switched my server time to EST recently when I setup ntpd. I left the hwclock in UTC as well. Now the problem is that the log analyzer throws out any line where the date contains -0400 and only counts lines that have +0000.
For example, this is an invalid line:
###.##.###.## - - [06/Jun/2006:13:04:54 -0400] "GET /forums/index.php HTTP/1.1" 200 6849 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4"
and this is a valid line that is not "corrupt":
###.##.##.### - - [06/Jun/2006:17:11:46 +0000] "GET /forums/showthread.php?t=337 HTTP/1.0" 200 37060 "-" "msnbot/1.0 (+http://search.msn.com/msnbot.htm)"
I noticed my stats were down a LOT but just got around to figuring out why now. My question is, how can I fix this? Can I make the log analyzer read the -0400? Should I reset the system time to GMT again so it matches the hwclock? I have no idea why those +0000 entries are even there, they seem kind of random.
FYI, I am running cpanel 10.2.0-RELEASE 82 on RH9.
Thank you for any help,
Tim
I switched my server time to EST recently when I setup ntpd. I left the hwclock in UTC as well. Now the problem is that the log analyzer throws out any line where the date contains -0400 and only counts lines that have +0000.
For example, this is an invalid line:
###.##.###.## - - [06/Jun/2006:13:04:54 -0400] "GET /forums/index.php HTTP/1.1" 200 6849 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4"
and this is a valid line that is not "corrupt":
###.##.##.### - - [06/Jun/2006:17:11:46 +0000] "GET /forums/showthread.php?t=337 HTTP/1.0" 200 37060 "-" "msnbot/1.0 (+http://search.msn.com/msnbot.htm)"
I noticed my stats were down a LOT but just got around to figuring out why now. My question is, how can I fix this? Can I make the log analyzer read the -0400? Should I reset the system time to GMT again so it matches the hwclock? I have no idea why those +0000 entries are even there, they seem kind of random.
FYI, I am running cpanel 10.2.0-RELEASE 82 on RH9.
Thank you for any help,
Tim