PDA

View Full Version : Awstats Manual Update


cben
11-3-03, 06:36 PM
I have the opposite problem of some people. My awstats will auto update fine, but when I click on UPDATE NOW , it wont.

Has anyone had this problem?

Jess
11-3-03, 06:46 PM
In your awstats.conf file, did you set this parameter to 1?:

AllowToUpdateStatsFromBrowser=1

cben
11-3-03, 07:20 PM
AllowToUpdateStatsFromBrowser=1

I just checked it again and it is set to 1.

When I click on UPDATE NOW I can tell it is changing the time of update to current time, however no change in the stats are recorded, even though the site is active and I am testing it by asking friends to go to my site and make many clicks.

The only change in stats are recorded on Auto Update.

Jess
11-3-03, 08:30 PM
Make sure you have permissions on awstats.pl set to 755.

cben
11-3-03, 08:42 PM
Hmmmm...... Just checked and awstats.pl is set to 755

stevel
11-3-03, 09:20 PM
Which log file are you asking it to analyze?

cben
11-3-03, 09:31 PM
Hey Steve.

Im trying to update from UPDATE NOW link at at the top left of the main page.

Jess
11-3-03, 11:45 PM
Steve is asking which log file you have awstats configured to analyze.

Look in your awstats. conf file and see how you have this parameter set:

LogFile=

To get it to update the current stats, you need to have it set to:
LogFile="/www/u/username/logs/access_log"

Solo
11-5-03, 11:17 PM
Just a thought...

1) Is it supposed to be "access_log" or "access_log.1"?

2) Is webalizer also installed because it also seems to use access_log.1.

cben
11-5-03, 11:32 PM
it is using access_log.1

stevel
11-6-03, 10:49 AM
In that case, you are analyzing yesterday's hits, so today's accesses won't be seen untiil tomorrow.

This is the way I prefer to do it - I have a cron job run at 2:30AM to analyze yesterday's accesses, and I don't miss any entries.

If you want to get the curreent day's activity, change to looking at access_log, but realize that you'll miss any activity between the last time you did the update and (approximately) midnight Pacific time.