Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






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

Awstats stops working after 4am

Reply to Post Add a New Topic
UserPost

8:49 am
July 7, 2010


SHoJi

Member

posts 5

Hi,

i have an issue with awstats.

A few days ago everything seemed to work fine, but as I needed stats by day I installed the "day by day" plugin.

I don't know if it's related, but since that day awstats does not update stats after 4am.

I've read some threads in this forum about using the timezone plugin in the awstats.conf, but it didn't work for me.

Does anyone got this same issue?

Thanks a lot!

P.S: I update automatically by executing this batch file:

@echo off
C:\\WWW\\AWSTATS\\cgi-bin\\awstats.pl -config=model -databasebreak=day -update
C:\\WWW\\AWSTATS\\cgi-bin\\awstats.pl -config=model -update

9:11 am
July 7, 2010


Jean-Luc

Admin

posts 1063

Hi,

The "day by day" add-on slightly changes the way the reports are presented to the users. It has no influence on the updates of the AWStats database.

Please paste here the LogFile  directive from your AWStats config file.

10:54 am
July 7, 2010


SHoJi

Member

posts 5

Hi, this is the LogFile directive:

LogFile="D:\\LogFiles\\W3SVC763497790\\ex%YY%MM%DD.log"

My IIS logs have this format, of course. The only problem it's that when 4am arrives, awstats stops gathering data.

Thanks for your help!

11:55 am
July 7, 2010


Jean-Luc

Admin

posts 1063

There are several things to consider:

  1. IIS log files are usually based on GMT time. A log file is generated for each day from 00:00 GMT till 23:59 GMT.
  2. The Windows Task Scheduler that runs the AWStats update uses the server local time.
  3. ex%YY%MM%DD is calculated from the server local time.

To give a more specific answer, I need to know at what time the Task Scheduler runs the update and what time zone the server is using (i.e. where the server is located).

12:52 pm
July 7, 2010


SHoJi

Member

posts 5

I'm afraid IIS is using GMT time, but the local time is GMT+2 (Madrid).

Task scheduler runs at 5:00 am.

What should I do?

Thanks!

7:21 pm
July 7, 2010


Jean-Luc

Admin

posts 1063

In the LogFile  directive, replace

ex%YY%MM%DD

by

ex%YY-24%MM-24%DD-24

and you will get complete reports.Smile

8:20 am
July 8, 2010


SHoJi

Member

posts 5

Hi Jean-Luc, thanks for your help! but are you sure? notice my logs look like this:

"ex100707.log"

Thanks!

9:28 am
July 8, 2010


Jean-Luc

Admin

posts 1063

If you follow my recommendation, on July 8, 2010 at 5:00 am, AWStats will use the file named "ex100707.log". On July 9 at 5:00 am, it will use the file named "ex100708.log", and so on. And on August 1, it will use the file named "ex100731.log". I guess this is what you want ?

9:22 am
July 9, 2010


SHoJi

Member

posts 5

Jean-Luc, it worked fine! thanks a lot for helping me out!

Reply to Post

Reply to Topic:
Awstats stops working after 4am

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
11 + 6
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 201

Currently Online:
11 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 513
Posts: 2447

Membership:

There are 4127 Members
There have been 254 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

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

Recent New Members: eniko, leptserkhan, JohnnyB, dweb3d, buck, newtoawstat

Administrators: Jean-Luc (1063 Posts)

Moderators: Jean-Luc (1063 Posts)