You must be logged in to post Login


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Day by Day gives "Never updated (See 'Build/Update' on awstats_setup.html page)" warning

No Tags
UserPost

4:33 pm
June 22, 2012


potatochip

Member

posts 3

I've had awstats running for years and have just added day by day.

The installation seems to have worked and I see the links to the days at the top of the screen. When I click on one of these days I get no stats displayed and the message;

 

Never updated (See 'Build/Update' on awstats_setup.html page)

 

I have run the update script;

 

sudo perl /usr/lib/cgi-bin/awstats.pl -config=awstats.www.mysite.com.conf -databasebreak=day -update

Create/Update database for config "awstats.www.mysite.com.conf" by AWStats version 7.0 (build 1.971)
From data in log file "/var/log/apache2/access.log"…
Phase 1 : First bypass old records, searching new record…
Direct access to last remembered record has fallen on another record.
So searching new records from beginning of log file…
Phase 2 : Now process new records (Flush history on disk after 20000 hosts)…
Warning: awstats has detected that some hosts names were already resolved in your logfile /var/log/apache2/access.log.
If DNS lookup was already made by the logger (web server), you should change your setup DNSLookup=1 into DNSLookup=0 to increase awstats speed.
Jumped lines in file: 0
Parsed lines in file: 91
 Found 0 dropped records,
 Found 0 comments,
 Found 0 blank records,
 Found 0 corrupted records,
 Found 0 old records,
 Found 91 new qualified records.

Any ideas what I need to do to get daily stats displayed?

 

Thanks!

7:11 pm
June 22, 2012


Jean-Luc

Admin

posts 1125

Hi,

This shows that you successfully generated at least one AWStats data file with the databasebreak=day  option.

Do you see this data file in the AWStats DirData  directory (ie. in the same directory as the monthly data files)? A monthly data file for June 2012 will be named awstats062012.your_site.txt while a daily data file for June 19 will be named awstats06201219.your_site.txt.

If you see both monthly and daily data files, check if the permissions are the same.

Please let us know if this helped.

8:42 pm
June 22, 2012


potatochip

Member

posts 3

Thanks for the quick reply.

I do have a file called awstats06201222.txt.

It looks like the site name has been missed off for some reason.

Do you know why this might be?

 

I do have two sites running awstats both with their own conf file. I'm not sure if this is relevant or not

11:35 am
June 23, 2012


Jean-Luc

Admin

posts 1125

I just noticed that you wrote:

sudo perl /usr/lib/cgi-bin/awstats.pl -config=awstats.www.mysite.com.conf -databasebreak=day -update

 

The config parameter is not correct. It should be www.mysite.com and not awstats.www.mysite.com.conf .

9:11 pm
June 24, 2012


potatochip

Member

posts 3

 Thanks that worked perfectly!

 

I don't suppose you know how I can get it to scan all of my historic log files too?

No Tags

About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
10 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 638
Posts: 2712

Membership:

There are 257 Members
There have been 305 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)