Current time: 11-27-2024, 07:46 AM Hello There, Guest! (LoginRegister)


Post Reply 
awstats static not working
Author Message
ralph Offline
Junior Member
*

Posts: 17
Joined: Jun 2008
Reputation: 0
Post: #1
awstats static not working
in the install i chose awstats and static pages. when i go to domain.com/stats the dir is empty. are there any cron jobs im missing? i chose static because of awstats security, how do i change to dynamic? how is the security in the ispcp implementation of awstats?

my setup is freshly installed debian lenny with newest omega rc5(+a).
07-09-2008 03:55 PM
Find all posts by this user Quote this message in a reply
itanium Offline
Junior Member
*

Posts: 35
Joined: Apr 2007
Reputation: 0
Post: #2
RE: awstats static not working
Hello,

This problem is due to the cronjob. The directory specified is invalid. It should be /var/www/sites/xxx.com/statistics. I reinstall and I look this.
07-09-2008 09:13 PM
Find all posts by this user Quote this message in a reply
itanium Offline
Junior Member
*

Posts: 35
Joined: Apr 2007
Reputation: 0
Post: #3
RE: awstats static not working
Problem is the path in the cron ispcp:

Code:
1 3  * * *   root perl /var/www/ispcp/engine/awstats/awstats_buildstaticpages.pl -config=xxx.com -update -lang=fr -awstatsprog=/usr/lib/cgi-bin/awstats.pl -dir=/usr/share/awstats/xxxx/statistics/ >/dev/null 2>&1

The good cron is:

Code:
1 3  * * *   root perl /var/www/ispcp/engine/awstats/awstats_buildstaticpages.pl -config=xxx.com -update -lang=fr -awstatsprog=/usr/lib/cgi-bin/awstats.pl -dir=/var/www/virtual/xxx.com/statistics >/dev/null 2>&1

Patch:

change in /etc/ispcp:

AWSTATS_WEB_DIR = /usr/share/awstats

to

AWSTATS_WEB_DIR = /var/www/virtual

also icon isn't showing because the path is wrong.
07-10-2008 01:31 AM
Find all posts by this user Quote this message in a reply
ralph Offline
Junior Member
*

Posts: 17
Joined: Jun 2008
Reputation: 0
Post: #4
RE: awstats static not working
how do i make ispcp remake these crons? ive updated the ispcp.conf, but the crons arent changed
07-30-2008 03:35 PM
Find all posts by this user Quote this message in a reply
julli Offline


Posts: 3
Joined: Jul 2008
Reputation: 0
Post: #5
RE: awstats static not working
Hi.

Open ispcp.conf -> /etc/ispcp/ispcp.conf

Edit this
AWSTATS_WEB_DIR = /usr/share/awstats

From this
AWSTATS_WEB_DIR = /var/www/virtual

save and close ispcp.conf

if need, edit /etc/cron.d/ispcp and /etc/ispcp/cron.d/working

EG /etc/cron.d/ispcp & /etc/ispcp/cron.d/working

Edit
# [yourdomain.com] AWStats static tasks START.
6 3 * * * root perl /var/www/ispcp/engine/awstats/awstats_buildstaticpages.pl -config=yourdomain.com -update -lang=en -awstatsprog=/usr/lib/cgi-bin/awstats.pl -dir=/usr/share/awstats/yourdomain.com/statistics/ >/dev/null 2>&1
# [yourdomain.com] AWStats static tasks END.

From this
# [yourdomain.com] AWStats static tasks START.
6 3 * * * root perl /var/www/ispcp/engine/awstats/awstats_buildstaticpages.pl -config=yourdomain.com -update -lang=en -awstatsprog=/usr/lib/cgi-bin/awstats.pl -dir=/var/www/virtual/yourdomain.com/statistics/ >/dev/null 2>&1
# [yourdomain.com] AWStats static tasks END.
08-07-2008 05:53 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)