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

Awstats doesnt work with IIS 8

Reply to Post Add a New Topic
UserPost

6:36 pm
July 26, 2014


kunal

Guest

Hello GUys,

I am trying to COnfigure awstats with iis8 and its not working properly. It reads the website log but doesnt read the FTP logs. I have ftp server and i wnat to read ftp logs with awstats.

This is my configuration file.

LogFile="C:\inetpub\logs\LogFiles\FTPSVC2\u_ex%YY-24%MM-24%DD-24.log"(This command take, file always from yesterday)

LogFile="C:\inetpub\logs\LogFiles\FTPSVC2\u_ex%YY-1%MM-1%DD-1.log" (This is may be for every hour.)

LogType=F

LogFormat="date time c-ip cs-username cs-host s-ip cs-method cs-uri-stem sc-status sc-substatus sc-bytes cs-bytes time-taken x-session x-fullpath"

LogSeparator=" "

SiteDomain="ftp.mydomain.org"

HostAliases="localhost 127.0.0.1 REGEX[myserver\.com$]"

DNSLookup=2

DirData="."

DirCgi="/cgi-bin"

DirIcons="/icon"

AllowToUpdateStatsFromBrowser=0

AllowFullYearView=2

 

this is command, which i run from command promt.

C:\perl\bin\perl.exe awstats.pl -config=ftp.mydomian.org

OUTPUT:—>

From data in log file "C:\inetpub\logs\LogFiles\FTPSVC2\u_ex140725.log"…(IT took file from one day before.)
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: 20538
 Found 1 dropped records,
 Found 7 comments,
 Found 0 blank records,
 Found 20530 corrupted records,
 Found 0 old records,
 Found 0 new qualified records.

 

Please give me some hints, i have researched but didnt find any clue, i know i am doing something wrong but cant figure it out

please suggest me.

7:46 pm
July 26, 2014


Jean-Luc

Admin

posts 1125

Hello kunal,

Please paste here a few lines from your FTP log file.

8:25 pm
July 26, 2014


kunal

Guest

#Software: Microsoft Internet Information Services 8.5
#Version: 1.0
#Date: 2014-07-26 13:14:59
#Fields: date time c-ip cs-username cs-host s-ip cs-method cs-uri-stem sc-status sc-substatus sc-bytes cs-bytes time-taken x-session x-fullpath
2014-07-26 13:14:59 X.X.X.X SVV-FTP\guest – X.X.X.X REST 0 350 0 22 8 0 9adsfdse9a-525d-4h3f-bec1-78408345435
2014-07-26 13:14:59 X.X.X.X SVV-FTP\guest – X.X.X.X REST 0 350 0 22 8 0 9aesdfsd9a-525d-4h3f-bec1-78408f643534
2014-07-26 13:14:59 X.X.X.X SVV-FTP\guest – X.X.X.X REST 0 350 0 22 8 0 9adafe9a-525d-4h3f-bec1-78408f6734534

8:28 pm
July 26, 2014


kunal

Guest

really thanks to replay

9:38 pm
July 26, 2014


kunal

Guest

I want to check log every day, meas when i run this command from command line until then, this should update my awstat webpage.

will this command look like this:

LogFile="C:\inetpub\logs\LogFiles\FTPSVC2\u_ex%YY-0%MM-0%DD-0.log

 

thanks

 

Admin Smile

3:38 pm
July 27, 2014


kunal

Guest

Hello ADmin,,

I am wating for your Replay,

Awstats is always drooping all the record , can you please help me to solve it out

 

thanks

7:37 am
August 9, 2014


kunal

Guest

Helllo,,

GUys

 

I am writing again the solution of awstat. P

IMportant: Please check your log file, what you want to read via awstat. this must have some log format as you define in your Config file.

$: some time one log files have two different kind of log format.

PLease study your log files and then set up your awstats. In my case my log file doesnt work with

Log format=2

i had to put, all log format filed from my log file and then it worked.

log format= date time c-ip cs-username cs-host s-ip cs-method cs-uri-stem sc-status sc-substatus sc-bytes cs-bytes time-taken x-session x-fullpath

 

please choose according to your log file.

 

thanks

Reply to Post

Reply to Topic:
Awstats doesnt work with IIS 8

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


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

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