PDA

View Full Version : after installatrion, awstats problem


Krash
10-27-03, 06:53 PM
I did the entire install process. Now when i go to the directory I get this error:

Error: Couldn't open config file "awstats.site.com.conf" nor "awstats.conf" after searching in path ",/etc/awstats,/etc/opt/awstats,/etc,/usr/local/etc/awstats": No such file or directory

Setup (Config file, web server or permissions) may be wrong.
See AWStats documentation in 'docs' directory for informations on how to setup awstats.

Plz help, I need my stats.

stevel
10-27-03, 06:57 PM
I see a comma before /etc in the paths - where is that coming from?

Krash
10-27-03, 07:06 PM
no clue, that's what it told me.

stevel
10-27-03, 08:36 PM
Did you put things under etc? That's not typical - it should go in cgi-bin, or a subfolder of that. But I suppse etc would work...

Where did you install awstats and what URL are you using to try to run it?

Krash
10-29-03, 12:01 AM
Bump, please help.

andycc.net
10-29-03, 06:56 AM
I had this problem too.

If your config file is called "awstats.undergroundmac.com.conf" you will need to access your stats at http://undergroundmac.com/cgi-bin/awstats.pl, not http://www.undergroundmac.com/cgi-bin/awstats.pl as awstats appears to use the requested hostname to determine the config file.

Worked for me :)

My error had the commas in too, and the same paths so they're all correct.

Just make sure too that the permission of awstats.pl are 755.

Krash
10-29-03, 06:34 PM
I still get the error in both of the links you gave me. and yes permissions are 755.

plz help.

(jj)
10-29-03, 09:58 PM
Is your conf file in etc or in the cgi-bin?

If it's in etc, try moving it to the cgi-bin and if that doesn't do the trick, try renaming the conf file to awstats.conf instead of awstats.undergroundmac.com.conf

kingswell
11-3-03, 11:40 AM
The http://undergroundmac.com/cgi-bin/awstats.pl URL works for me. The above link had a , (comma) at the end, so may not have worked by clicking on it.

I ran into the same problem you did and removing the www. from the URL worked.

andycc.net
11-3-03, 03:37 PM
Originally posted by kingswell
... The above link had a , (comma) at the end, so may not have worked by clicking on it ...

oops sorry my fault :o didn't realise that vbulletin counted the commas as part of the web address.

ill have to remember that in future.

no problem with phpBB however ;)