I am moving my current working awstats reporting from a Centos 5.7 64 bit
server to a Centos 6.1 64 bit server. On the Centos 6.1 I generate daily and
monthly static reports using IHS access_log data from just a 24 our period
(00:00:00-23:59:59 ), The montly report will contained data not on that
particular day. The IP are from the PC I am using to kick off the reports.
That information being displayed IS NOT in the access logs that are being
processed. If I process a log from a log that only has Dec 22nd info, and I am
kicking off the scripts on Dec 23 there will be data listing activity on Dec
23rd from my PC's IP??? Not sure if this is a bug, Does awstats run well in
Centos 6.1?? I am using Awstats 7.0 (build 1.971)
There is no known issues like the one you describe. AWStats can only process
data found in your log files. Please double-check the LogFile directive in
your AWStats config file and eventually the contents of the log file itself.
Jean-Luc, InternetOfficer (AWStats
The problem does appear to be something wih the OS. I just built at Centos 5.7
64bit server and I copied the doc root, awstat, and httpd files over and I am
not having the issue. The problem shows up when is use the follwing URL to
bring up a awstat report: http://<web server="" host="">/awstats/awstats.pl?config=<IHS server="">. I use crontab initiated scripts
to load the previous day's IHS access_log. That log only has one calender
day's worth of files. When I run the report using that URL it shows some
activity of access occuring on my PC IP for the current date?? I should only
see activity up to the previous day. I am willing to upload any additional
info on this or debug information you would like to look at.
You wrote: " I use crontab initiated scripts to load the previous day's IHS
What do you mean by "load the previous day's IHS access_log" ? Does it include
the AWStats update ? Please give more details. Also can you paste here your
I have set up my crontabs on the Centos 5.7 server. Tomorrow morning I will
get a better comparison of this issue.
On the IHS 7 server in the httpd.conf file the access_log(s) are rotated every
24 hours with this entry:
CustomLog "|/IHS/bin/rotatelogs -l /IHS/logs/<server>-443-access_log.%Y-%m-%d
86400" common. I ensure that the access log that is processed by awstats only
has one day's worth of activity ( 00:00:00 - 23:59:59). That is why its
strange to see information being displayed on awstats on information that
should not be in the access logs. I will reply back tomorrow after the
Identically set up Centos 5.7 and 6.1 servers process the logs via crontab to
nail down if the issue is my configuration or something different with the OS.
OK this appears to be a config issue. The main issue appears when running the
report with the http://<web server="" host="">/awstats/awstats.pl?config=<IHS server=""> URL. Intermitently additional data is added to the monthly
awstats<mmyyyydd>.<host>.txt data file. This is displayed on the monthly
stats. This is the line that is added to that data file: <IP> 49 1091 2643229
20111228102722 20111228091821 <Ful path="" name="" of="" a="" random="" file="" in="" web="" root="" directory=""> The date of the entry matches the time the url was entered in the
browster to bring up the stats.
This happens on the Centos 6.1 and the Indentically set up Centos 5.7 server.
This never happens on the on the server want to move from
I may have found the culprit to this issue. Webalizer was also installed. This
get installed by default in anaconda during the initial install when selecting
a web server type install. As soon as I removed webalizer the issue of data
NOT contained in the access logs on the monthly reports stopped
Log in to post a comment.