PDA

View Full Version : awstats- no server log file ??


greentheory
10-5-03, 01:42 PM
ok, I set up awstats last night, and i tried to update it manually with the "update now" link, but I get this error:

Error: Couldn't open server log file "www/g/greentheory/logs/access_log.1" : No such file or directory

Setup ('/www/g/greentheory/cgi-bin/awstats.greentheory.org.conf' file, web server or permissions) may be wrong.
See AWStats documentation in 'docs' directory for informations on how to setup awstats.

how do I fix this?

greentheory
10-5-03, 01:50 PM
no, i am not typing www. I am typing "http://greentheory.org/cgi-bin/awstats.pl" to access my stats. I can load the stats page, but it has no stats on it, if I try to update the stats, it tells me that there is no log file, which is totally separate from your error, which won't even load the stats page if you put the www.

greentheory
10-5-03, 03:38 PM
anyone?

i went into ftp and i did confirm that the file that says is not there is actually there.. so what's going on?

Jeff321
10-5-03, 05:41 PM
Error: Couldn't open server log file "www/g/greentheory/logs/access_log.1" : No such file or directory

Looks like you're missing the starting / in the configuration file. Double check that you have it in the config as /www/g/greentheory/logs/access_log.1

greentheory
10-5-03, 05:48 PM
that worked.. thank you!!

greentheory
10-5-03, 05:55 PM
ok, so now awstats works but it still doesn't show anything after october 1 at 1:00 am with only 1 hit..

I thought the whole point of installing awstats was that it would fix this problem?!

arghhh!

I'm confused.:(

Jeff321
10-5-03, 08:17 PM
Unfortunatly, not yet. The logs are not rotating right now, so using access_log.1 won't update.

Once they start rotating again (within the next couple days I hope) you should use access_log.1, but for now, if you would like to see your stats, change it to just access_log