Awstats Problem

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
pagekeeper
-


Joined: 09 Jul 2003
Posts: 35
Location: London, UK

PostPosted: Sun Jul 20, 2003 2:21 am    Post subject: Awstats Problem Reply with quote

AWStats did not found any valid log lines that match your LogFormat parameter, in the 50th first non commented lines read of your log.
Your log file C:/Program Files/Abyss Web Server/log/access.log must have a bad format or LogFormat parameter setup does not match this format.

Your AWStats LogFormat parameter is: 1
This means each line in your web server log file need to have "combined log format" like this:
111.22.33.44 - - [10/Jan/2001:02:14:14 +0200] "GET / HTTP/1.1" 200 1234 "http://www.fromserver.com/from.htm" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"

And this is a sample of records AWStats found in your log file (the record number 50 in your log):
127.0.0.1 - - [09/Jun/2003:11:15:39 +0100] "GET /images/Rollovers/menu__b2_over.gif HTTP/1.1" 200 530


Setup ('awstats.www.teenhubs.co.uk.conf' file, web server or permissions) may be wrong.
See AWStats documentation in 'docs' directory for informations on how to setup awstats.
-----------------------------------------------------------------------------------
8O Whats this mean? :?

Thanks
_________________
Ashley Parmessur - Pagekeeper
Back to top View user's profile Send private message
pagekeeper
-


Joined: 09 Jul 2003
Posts: 35
Location: London, UK

PostPosted: Sun Jul 20, 2003 11:40 pm    Post subject: Reply with quote

Help? Any1 Help? :cry:
_________________
Ashley Parmessur - Pagekeeper
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Mon Jul 21, 2003 5:44 pm    Post subject: Re: Awstats Problem Reply with quote

Open the console, go to Server configuration > Advanced > Server Parameters and set the Extended Logging Format to Yes. New logged lines will be as AWStat expects.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
pagekeeper
-


Joined: 09 Jul 2003
Posts: 35
Location: London, UK

PostPosted: Wed Jul 23, 2003 1:18 am    Post subject: Reply with quote

Hmm, wierd it is set to Extended Logging Format is set to yes! it still dont work! :(

Do i have to add anything in the site script? the tutorial had nothing about this.
:roll:
_________________
Ashley Parmessur - Pagekeeper
Back to top View user's profile Send private message
coleman
-


Joined: 12 Jul 2003
Posts: 2

PostPosted: Wed Jul 23, 2003 7:07 am    Post subject: Reply with quote

I get the same error :(
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Jul 23, 2003 6:56 pm    Post subject: Reply with quote

pagekeeper wrote:
Hmm, wierd it is set to Extended Logging Format is set to yes! it still dont work! :(

Do i have to add anything in the site script? the tutorial had nothing about this.
:roll:

The log line you quoted:
Code:
127.0.0.1 - - [09/Jun/2003:11:15:39 +0100] "GET /images/Rollovers/menu__b2_over.gif HTTP/1.1" 200 530

is isn't in the extended logging format!!!
So either remove such lines or flush the log file and use AWStats on a new one with only extended format lines.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
pagekeeper
-


Joined: 09 Jul 2003
Posts: 35
Location: London, UK

PostPosted: Wed Jul 23, 2003 10:49 pm    Post subject: Reply with quote

How do i flush the log and configure awstast to use a new log file?
steps wouldnt go a miss.

thanks
_________________
Ashley Parmessur - Pagekeeper
Back to top View user's profile Send private message
CapFusion
-


Joined: 18 May 2003
Posts: 617
Location: Lost in Abyss' Dungeon

PostPosted: Wed Jul 23, 2003 11:22 pm    Post subject: Reply with quote

pagekeeper wrote:
How do i flush the log and configure awstast to use a new log file?
steps wouldnt go a miss.

thanks

Flush? The only flush I can think of is to stop Abyss running and then delete the log file.

Unless you mean the toilet. Heehe
_________________
CapFusion,...
Back to top View user's profile Send private message
coleman
-


Joined: 12 Jul 2003
Posts: 2

PostPosted: Thu Jul 24, 2003 12:06 am    Post subject: Reply with quote

Quote:
Flush? The only flush I can think of is to stop Abyss running and then delete the log file


thanks CapFusion
my problem is fixed :)
i didnt read the instructions properly.

Quote:
Open the Abyss Console and go to Server Configuration > Advanced > Server Parameters. Set Extended Logging Format to Yes. If this is already done, and you are sure the Abyss log only contains data in the extended logging format... skip the next instruction.
Delete your current Abyss log files, as you need to get access information in the extended logging format.
Back to top View user's profile Send private message
CapFusion
-


Joined: 18 May 2003
Posts: 617
Location: Lost in Abyss' Dungeon

PostPosted: Thu Jul 24, 2003 12:50 am    Post subject: Reply with quote

Quote:
thanks CapFusion
my problem is fixed
i didnt read the instructions properly.

Good to hear. Have fun and enjoy.
_________________
CapFusion,...
Back to top View user's profile Send private message
pagekeeper
-


Joined: 09 Jul 2003
Posts: 35
Location: London, UK

PostPosted: Thu Jul 24, 2003 8:44 pm    Post subject: Reply with quote

lol that is funny,
Quote:
flush the log
log meaning the Sh*t!

Hehe! 8)

Which i did, works now yay!
but one thing i cant get it to find the "icon" folder!!? so no images turn up. :cry:
_________________
Ashley Parmessur - Pagekeeper
Back to top View user's profile Send private message
CapFusion
-


Joined: 18 May 2003
Posts: 617
Location: Lost in Abyss' Dungeon

PostPosted: Thu Jul 24, 2003 8:55 pm    Post subject: Reply with quote

Quote:
but one thing i cant get it to find the "icon" folder!!? so no images turn up.

Icon folder, being loading? Are you talking about placing all the icon image in one folder and such? If so, it should be the same way you would with other stuff.
_________________
CapFusion,...
Back to top View user's profile Send private message
pagekeeper
-


Joined: 09 Jul 2003
Posts: 35
Location: London, UK

PostPosted: Thu Jul 24, 2003 9:13 pm    Post subject: Reply with quote

What i mean is when i set the awstats www.config file to get the icons, to the C:\awstats\www\icon folder and set it as DirIcons="/www/icon" it doesnt work? i cant see why! when i add awstats at the front it DirIcons="awstats/www/icon" comes up as www.mydomain.com/awstats/awstats/www/icon in the browser.

? :?
_________________
Ashley Parmessur - Pagekeeper
Back to top View user's profile Send private message
CapFusion
-


Joined: 18 May 2003
Posts: 617
Location: Lost in Abyss' Dungeon

PostPosted: Thu Jul 24, 2003 10:27 pm    Post subject: Reply with quote

I am sorry, since I am not using AWStat and I can not get anyone or their site, I am at lost too. Hopefully, someone may have the answer to your question regarding to "icon". Maybe Aprelium have that answer in their treasure chest and may need sometime to find the key to open it.
_________________
CapFusion,...
Back to top View user's profile Send private message
chance
-


Joined: 04 Jan 2003
Posts: 27
Location: everett, wa

PostPosted: Fri Jul 25, 2003 3:18 am    Post subject: Reply with quote

pagekeeper

Had the same problem. Ended using the following config w/complete path to the icon folder

DirCgi="C:/awstats/www"


# If AWStats used as a CGI, enter relative or absolute web URL of all icons
# subdirectories.
# If you build static reports ("... -output > outputpath/output.html"),
enter
# path of icon directory relative to the directory outputpath.
# Example: "/icon"
# Example: "../icon"
# Default: "/icon" (means you must copy icon directories in
"/mywwwroot/icon")
#
DirIcons="C:/awstats/www/icon"
Back to top View user's profile Send private message Visit poster's website
CapFusion
-


Joined: 18 May 2003
Posts: 617
Location: Lost in Abyss' Dungeon

PostPosted: Fri Jul 25, 2003 5:21 pm    Post subject: Reply with quote

Thank chance for chime in to help. Hope this will help other too regarding AWStat
_________________
CapFusion,...
Back to top View user's profile Send private message
pagekeeper
-


Joined: 09 Jul 2003
Posts: 35
Location: London, UK

PostPosted: Mon Jul 28, 2003 7:18 am    Post subject: Reply with quote

Thanks - chance, i think this is useful to learn if someone else comes across the problem! :)

thanks again!
_________________
Ashley Parmessur - Pagekeeper
Back to top View user's profile Send private message
CapFusion
-


Joined: 18 May 2003
Posts: 617
Location: Lost in Abyss' Dungeon

PostPosted: Mon Jul 28, 2003 9:33 pm    Post subject: Reply with quote

pagekeeper wrote:
Thanks - chance, i think this is useful to learn if someone else comes across the problem! :)

thanks again!

I do not see him / her flooding around here often.
_________________
CapFusion,...
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group