LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > awstats bug - i think

Reply
 
Thread Tools Display Modes
  #1  
Old 03-21-2006, 09:14 AM
rampage rampage is offline
New Member
 
Join Date: Mar 2006
Posts: 9
Default awstats bug - i think

Content-type: text/html; charset= Cache-Control: public Last-Modified: Tue Mar 21 17:07:40 2006 Expires: Tue Mar 21 17:07:40 2006
Error: Couldn't open config file "awstats.trinitaku.myftp.org.conf" nor "awstats.conf" after searching in path "wwwroot/cgi-bin,/etc/awstats,/usr/local/etc/awstats,/etc,/etc/opt/awstats": No such file or directory

- Did you use the correct URL ?
Example: http://localhost/awstats/awstats.pl?config=mysite
Example: http://127.0.0.1/cgi-bin/awstats.pl?config=mysite
- Did you create your config file 'awstats.trinitaku.myftp.org.conf' ?
If not, you can run "/tools/awstats_configure.pl" from command line, or create it manually.

Check config file, permissions and AWStats documentation (in 'docs' directory)


...
i get that whenever i try to access my stats. first of all the config file is located at /home/users/taku/awstats/conf/awstats.TriniTaku.conf
yet when i try to access the stats it says:
Error: Couldn't open config file "awstats.trinitaku.myftp.org.conf" nor "awstats.conf" after searching in path
Reply With Quote
  #2  
Old 03-21-2006, 12:50 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
What URL were you using to access awstats?

You don't need to and should not specify "config" parameter with LSWS, just use a URL like
http://your.domain/awstats/
Reply With Quote
  #3  
Old 03-21-2006, 03:32 PM
rampage rampage is offline
New Member
 
Join Date: Mar 2006
Posts: 9
http://trinitaku.com/webstats

and that is the url i use, when i go to it, that is the msg i see

this is what i have in my litespeed web server config:
AWStats Integration Edit
Update Mode Static
Working Directory $VH_ROOT/awstats/
AWStats URI /webstats/
Site Domain trinitaku.com
Site Aliases 127.0.0.1 localhost REGEX[trinitaku.com]
Update Interval Hourly
Update Offset (secs) 0
Secured Connection No
Authentication Realm N/A
Reply With Quote
  #4  
Old 03-22-2006, 08:26 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
What name is used for this vhost? have you changed it?
Maybe you should remove the working directory and let LSWS configure awstats from scratch.
Reply With Quote
  #5  
Old 03-23-2006, 06:47 AM
rampage rampage is offline
New Member
 
Join Date: Mar 2006
Posts: 9
vhost name = TriniTaku
never changed vhost name but i did change the awstats domain name from trinitaku.myftp.org to trinitaku.com. even if i change it back to trinitaku.myftp.org i get the same problem

removed the working dir, same problem
Reply With Quote
  #6  
Old 03-23-2006, 08:05 AM
rampage rampage is offline
New Member
 
Join Date: Mar 2006
Posts: 9
i got it to display stats but it just isn't updating the stats now :

http://trinitaku.com/stats/

you will notice that a couple days are not accounted for.
Reply With Quote
  #7  
Old 03-23-2006, 08:23 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Please check the permission of the working directory and the log file.
Reply With Quote
  #8  
Old 03-23-2006, 08:35 AM
rampage rampage is offline
New Member
 
Join Date: Mar 2006
Posts: 9
permissions were always at 777.

i think i found the problem:
it's looking for the logfile as "accesslog.awstats" when the log file is really just "accesslog". I tried going into the litespeed admin panel and setting the log filename as "accesslog.awstats", and when the stats ran it looked for "accesslog.awstats.awstats". It keeps trying to add .awstats at the end of the filename.

Is there a way fix that?
Reply With Quote
  #9  
Old 03-23-2006, 10:02 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Don't change the log file name, just let LSWS handle that for you. if you see accesslog.awstats, just remove it.
Reply With Quote
  #10  
Old 03-23-2006, 01:50 PM
rampage rampage is offline
New Member
 
Join Date: Mar 2006
Posts: 9
well i reinstalled the webserver and it works fine now. thx for the help!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
awstats config problem on LS v3.1.1 Simply Install/Configuration 3 07-18-2007 02:52 PM
AWstats are not secured by password SyNeo Install/Configuration 5 11-16-2005 11:07 AM
lsws logs rotation and awstats add-on SyNeo Install/Configuration 3 01-11-2005 08:47 AM
awstats in version 2.0RC2 stefan Install/Configuration 3 09-23-2004 09:08 PM
installing awstats ! stefan Install/Configuration 1 06-08-2004 03:45 AM


All times are GMT -7. The time now is 05:15 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.