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

Reply to Post Add a New Topic
UserPost

1:24 am
December 17, 2009


peta

Member

posts 4

Im using Awstats 6.95, strawberry-perl-5.10.1, apache 2.2.11 under windows server 2003.
My problem is that when load in the apache log, the awstat doesnt create
data text.

C:\\wamp\\bin\\AWStats\\wwwroot\\cgi-bin>perl awstats.pl -config=etc.hu -update
Create/Update database for config “./awstats.etc.hu.conf” by AWStats version 6.95 (build 1.943)
From data in log file “c:/wamp/bin/
apache/Apache2.2.11/logs/access_etc.log”

Phase 1 : First bypass old records, searching new record…
Searching new records from beginning of log file…
Jumped lines in file: 0
Parsed lines in file: 39
Found 0 dropped records
Found 39 corrupted records
Found 0 old records
Found 0 new qualified records.

according to this, there is nothing wrong with the perl, but still no data
text.

In awstats.etc.hu.conf I tried to set it manually, but nothing happend.
Right now its on default.

DirData=”.”

I have a test operation system, awstats 6.95, strawberry-perl-5.10.1, apache2.2.11 under windows Xp
The apache, awstats and perl is the same 100 percent, and it perfectly works.

what could be the problem?

thx

1:56 am
December 17, 2009


Jean-Luc

Admin

posts 1125

Hi,

Please paste here a few lines form your log file and the LogFormat  definition used in the AWStats config file.

2:17 am
December 17, 2009


peta

Member

posts 4

hy!

apache config logformat:
LogFormat "%h %l %u %t %V \\"%r\\" %>s %b \\"%{Referer}i\\" \\"%{User-Agent}i\\"" combined

apache log:
84.2.108.242 – peta [17/Dec/2009:09:14:01 +0100] petaa.hu "GET / HTTP/1.1" 200 1614 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; hu; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)"
84.2.108.242 – peta [17/Dec/2009:09:14:01 +0100] petaa.hu "GET / HTTP/1.1" 200 1614 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; hu; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)"
84.2.108.242 – - [17/Dec/2009:09:14:02 +0100] petaa.hu "GET /dont-shoot-the-puppy.swf HTTP/1.1" 304 – "http://petaa.hu/" "Mozilla/5.0 (Windows; U; Windows NT 6.0; hu; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)"
84.2.108.242 – - [17/Dec/2009:09:14:04 +0100] petaa.hu "GET /afds HTTP/1.1" 404 199 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.0; hu; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)"

and awstats config:
LogFormat=1

2:45 am
December 17, 2009


Jean-Luc

Admin

posts 1125

Your "combined" log format is a modified Apache combined log format.

Try :

LogFormat = "%host %other %logname %time1 %other %methodurl %code %bytesd %refererquot %uaquot"

2:48 am
December 17, 2009


peta

Member

posts 4

Very-very big thanks!

But logformat=1 is work under windows xp. why?

3:00 am
December 17, 2009


Jean-Luc

Admin

posts 1125

I guess that, if you double check the log format on your Windows XP system, you will see that it is slightly different and that it uses the true Apache combined log format, while here you are using a modified version (added %V  field).

3:08 am
December 17, 2009


peta

Member

posts 4

i think.

thank again

Reply to Post

Reply to Topic:
data text

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:
7 + 12
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
16 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 639
Posts: 2710

Membership:

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