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

Corrupted Records

Reply to Post Add a New Topic
UserPost

11:02 am
May 6, 2009


aink99

Member

posts 5

Hi,

I have a strange problem when a process log on one of my site. When I process the update i am getting  a lot of corrupted record.  See Below :

But if I remove the .txt database and I process the logs files again. everything is fine.

Corrupted record line 4729 (record format does not match LogFormat parameter): 2009-05-05 22:01:19 GET /images/game/cardCover.png – - 97.123.138.14 HTTP/1.1 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+GTB6) http://www.frigocheeseheads.co…..Master.swf 200 70222
Corrupted record line 4730 (comment line): #Software: Microsoft Internet Information Services 6.0
Corrupted record line 4731 (comment line): #Version: 1.0
Corrupted record line 4732 (comment line): #Date: 2009-05-05 22:17:45
Jumped lines in file: 2832
 Found 2832 already parsed records.
Parsed lines in file: 2604
 Found 1 dropped records,
 Found 1900 corrupted records,
 Found 0 old records,
 Found 703 new qualified records.

Heres a sample of iis log file :

#Fields: date time cs-method cs-uri-ste
m cs-uri-query cs-username c-ip cs-vers
ion cs(User-Agent) cs(Referer) sc-statu
s sc-bytes

2009-05-05 07:31:16 GET /index.htm – -
65.198.132.126 HTTP/1.1 Mozilla/4.0+(co
mpatible;+MSIE+6.0;+Windows+NT+5.1;+SV1
;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.4506
.2152;+.NET+CLR+3.5.30729) – 200 23156

2009-05-05 07:31:16 GET /js/swfobject.j
s – - 65.198.132.126 HTTP/1.1 Mozilla/4
.0+(compatible;+MSIE+6.0;+Windows+NT+5.
1;+SV1;+.NET+CLR+2.0.50727;+.NET+CLR+3.
0.4506.2152;+.NET+CLR+3.5.30729) http:/
/frigocheeseheads.com/ 200 10027

2009-05-05 07:31:16 GET /js/swffit.js -
 - 65.198.132.126 HTTP/1.1 Mozilla/4.0+
(compatible;+MSIE+6.0;+Windows+NT+5.1;+
SV1;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.4
506.2152;+.NET+CLR+3.5.30729) http://fr
igocheeseheads.com/ 200 2621

Thanks

5:08 pm
May 6, 2009


Jean-Luc

Admin

posts 1063

Hi,

This is a known problem with LogFormat=2 .

Replace it by:

LogFormat = "%time2 %method %url %query %logname %host %other %ua %referer %code %bytesd"

8:59 am
May 7, 2009


aink99

Member

posts 5

Hi

Thanks works like a charm.

I  used grepwin to replace all of my config files at once.

Smile

Reply to Post

Reply to Topic:
Corrupted Records

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


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 201

Currently Online:
13 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)