Awstats Problems after crontab

powerdomein

Verified User
Joined
Dec 28, 2005
Messages
99
Dear Guys,

I have a little problem. I have download the plugin AWSTATS and install it. After that i have use the crontab the following rules:

/usr/local/bin/php -f /usr/local/directadmin/plugins/awstats/hooks/alldomains.php
/usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats_updateall.pl now -awstatsprog=/usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats.pl


And i know cron works but i get this massege:

Error: Couldn't open config file "awstats.powerdomein.nl.conf" nor "awstats.conf" after searching in path ".,/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.powerdomein.nl.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).

Can anyone help me with fixing this problem. I have 90 domains so i dont want install them manual.

Thanks a lot for helping me..
 
i thk u dont need to have this cron:
/usr/local/bin/php -f /usr/local/directadmin/plugins/awstats/hooks/alldomains.php

all domains.php is used to initialize the user awstats directory and related files for ALL users when you just finished installing it
 
Back
Top