Current User: Guest Login
Please consider registering


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

Missing days every month – more often now!

Reply to Post Add a New Topic
UserPost

10:31 am
October 15, 2008


fox1977

Member

posts 3

Hi there,

Just wondering if anyone can help us with a problem we are having with awstats 6.8 running on win 2003 server.  We host numerous sites on our servers and we run awstats every night so that our clients can see hw their sites are doing.  We have a windows scheduled job that runs every night.  We have a custom application we developed to update the log file path to the previous days log file.  The process is quite simple really, we run awstats.pl and then buildstaticpages.

The problem we are experiencing is that, for example, all of the september stat will run fine.  October stats will start running fine and then at some seemingly random day the stats will start getting blank days on the stats.
For example we may have three blank days at the begining of the month and other days we may have 13 days blank.

All of the log files are there and we have managed to find a workaround but it takes a lot of work.  We manually rebuild the stats using awstats.pl and we remove the faulty month's .txt files and THE PREVIOUS MONTH.  When we remove the previous month and reprocess them using awstats.pl and build static pages  they appear fine with all the days.  We are then able to drop the previous months files into the folder and run the build static pages and all the stats are fine.

Has anyone else experienced anything similar and does anyone have any suggestions to resolve the issue as it is driving me crazy!

Thanks in advance

Cheers

2:28 pm
October 15, 2008


Jean-Luc

Admin

posts 1125

Hi,

There is no known problem like that in AWStats, but an imperfect user's update procedure is quite common.

Double-check that the log file of the day before is always available before the update is started and double-chek that the update is finished when the static pages are built.

I suspect that your problem is coming from updates that are sometimes done before the log file is ready.

Please note that, in most cases, a custom application is not needed to manage the daily changes in the log file names. AWStats can often take care of that.

9:29 am
October 16, 2008


fox1977

Member

posts 3

Is this likely to have been caused by one job already running processing a log file then another job trying to access the same log file?

I have several scheduled jobs running that might overlap.  I have just amended these jobs so they run at 8pm then 4am.  I will see if this makes a difference.

Any other thoughts?

9:50 am
October 16, 2008


Jean-Luc

Admin

posts 1125

That two programs read the same file at the same time is not a problem as such. However, the higher the system load, the higher the risk of malfunction.

Assuming that the update is done in a batch file, you could easily log the error messages from AWStats in a file. Just add  … >> c:\\some_path\\awstats_diagnosis.txt to the line doing the update.This would definitely help when something goes wrong.

Reply to Post

Reply to Topic:
Missing days every month – more often now!

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:
9 + 11
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
13 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

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

Membership:

There are 257 Members
There have been 302 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)