Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 3 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Move Awstats in an other directory

Reply to Post Add a New Topic
UserPost

8:56 am
October 4, 2010


geemist

Guest

Hello,

 

I decided to move the all of awstats directories in a single directoriy, I thought to have change the variables in my file awstats.pl and awstats_buildstatcipages.pl for to take into account my modifications but when I see my pages with awstats.pl, I have this error message:

Error: Couldn't open config file "awstats.localhost.conf" nor 
"awstats.conf" after searching in path 
"/nfs/awstats/run/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/awsta.....fig=mysite

Example: http://127.0.0.1/cgi-bin/awsta.....fig=mysite

- Did you create your config file 'awstats.localhost.conf' ?

If not, you can run "awstats_configure.pl"
from command line, or create it manually.



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

 

 

And when I see my pages with awstats_buildstaticpages.pl, I have this error message:

Error: Couldn't open config file "awstats.locahost.conf" nor 
"awstats.conf" after searching in path 
"/nfs/awstats/run/wwwroot/cgi-bin,/etc/awstats,/usr/local/etc/awstats,/etc,/etc/opt/awstats":
 No such file or directory




- Did you use correct config parameter ?

Example: If your config file is awstats.mysite.conf, use -config=mysite
- Did you create your config file 'awstats.locahost.conf' ?

If not, you can run "awstats_configure.pl"
from command line, or create it manually.



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

 

What are the files I may forget to change ? please

 

Thanks you

3:47 pm
October 6, 2010


Jean-Luc

Admin

posts 1063

Hello,

It is a bit confusing. You wrote: "I thought to have change the variables in my file awstats.pl and awstats_buildstatcipages.pl " Well, nothing should be changed in these files when you move them to another directory.

Your error messages say that AWStats does not find the config file. Is your config file in the same directory as awstats.pl ? The config file must be in the same directory as awstats.pl or in one of these other directories: /etc/awstats, /usr/local/etc/awstats, /etc or /etc/opt/awstats.

Reply to Post

Reply to Topic:
Move Awstats in an other directory

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:
8 + 4
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 201

Currently Online:
17 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 513
Posts: 2447

Membership:

There are 4127 Members
There have been 254 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
albert_newton – 30
deepakgupta – 28
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: eniko, leptserkhan, JohnnyB, dweb3d, buck, newtoawstat

Administrators: Jean-Luc (1063 Posts)

Moderators: Jean-Luc (1063 Posts)