Current time: 04-26-2024, 09:37 PM Hello There, Guest! (LoginRegister)


Post Reply 
[HowTo] AwStats Static Pages
Author Message
petzsch Offline
Junior Member
*

Posts: 43
Joined: Mar 2007
Reputation: 1
Post: #31
RE: [HowTo] AwStats Static Pages
Some notes from my site:

- Something that I allready commented on when the cron engine was used for backups: All the taks rund on the same time, so with an apropiate amount of domains, you will have quite a problem when they start running => solution would be to append the tasks to a shell script which executes all commands one after the other
- you shouldn't copy the awstats_buildstaticpages.pl from the doc folder, perhaps a symlink will do and you will also profit of debian's updates to the package if there are any
04-27-2007 01:39 PM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #32
RE: [HowTo] AwStats Static Pages
yeah thats a good point - you're right.

my servers are stressed a lot with backups & co , too Wink
(This post was last modified: 04-27-2007 08:36 PM by ephigenie.)
04-27-2007 08:34 PM
Visit this user's website Find all posts by this user Quote this message in a reply
SniperSister Offline
Junior Member
*

Posts: 22
Joined: Feb 2007
Reputation: 0
Post: #33
RE: [HowTo] AwStats Static Pages
Hm okay, i'll try to write a shellscript to realize this...
I'm a little stressed these days, so it can take a while. Sry Wink
04-28-2007 07:16 PM
Visit this user's website Find all posts by this user Quote this message in a reply
donnie-darko Offline
Junior Member
*

Posts: 16
Joined: Feb 2007
Reputation: 0
Post: #34
RE: [HowTo] AwStats Static Pages
a statistic for subdomains where also very good Wink
05-08-2007 07:50 AM
Visit this user's website Find all posts by this user Quote this message in a reply
SniperSister Offline
Junior Member
*

Posts: 22
Joined: Feb 2007
Reputation: 0
Post: #35
RE: [HowTo] AwStats Static Pages
donnie-darko Wrote:a statistic for subdomains where also very good Wink

Hm okay, this should be possible...I'll take a look at this in the next days.


gruny Wrote:SniperSister - my icons are not displaying, how to fix this?
I updated the HowTo, so at least the icon problem should be fixed.
05-08-2007 10:26 PM
Visit this user's website Find all posts by this user Quote this message in a reply
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #36
RE: [HowTo] AwStats Static Pages
I took a look in /var/spool/cron/crontabs/root file and there are still entries for domains that were deleted.

Code:
# [deleted-domain.com] backup task START.
40 23  * * *   perl /var/www/vhcs2/engine/awstats/awstats_buildstaticpages.pl -config=deleted-domain.com -update -lang=en -awstatsprog=/usr/lib/cgi-bin/awstats.pl -dir=/var/www/virtual/deleted-domain.com/statistics/
# [deleted-domain.com] backup task END.
(This post was last modified: 05-09-2007 05:26 PM by grungy.)
05-09-2007 05:24 PM
Visit this user's website Find all posts by this user Quote this message in a reply
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #37
RE: [HowTo] AwStats Static Pages
SniperSister Wrote:Afterwards, edit /etc/ispcp/apache/parts/vhcs2_base.tpl and remove this line again (why doubly?!):

/etc/ispcp/apache/parts/vhcs2_base.tpl - you mean /etc/ispcp/apache/parts/ispcp_base.tpl


And the template should be named awstats.ispcp_tpl.conf instead of awstats.vhcs_tpl.conf
05-18-2007 11:11 PM
Visit this user's website Find all posts by this user Quote this message in a reply
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #38
RE: [HowTo] AwStats Static Pages
SniperSister Wrote:The next step is to link the awstats staticpages script into the right directory:
Code:
ln -s /var/www/ispcp/engine/awstats /var/www/ispcp/engine/awstats

Why do you link a dir to itself?
(This post was last modified: 05-18-2007 11:20 PM by grungy.)
05-18-2007 11:17 PM
Visit this user's website Find all posts by this user Quote this message in a reply
SniperSister Offline
Junior Member
*

Posts: 22
Joined: Feb 2007
Reputation: 0
Post: #39
RE: [HowTo] AwStats Static Pages
grungy Wrote:/etc/ispcp/apache/parts/vhcs2_base.tpl - you mean /etc/ispcp/apache/parts/ispcp_base.tpl

And the template should be named awstats.ispcp_tpl.conf instead of awstats.vhcs_tpl.conf

Corrected.

grungy Wrote:Why do you link a dir to itself?

Yeah, you're right...that's pretty stupid^^
I replaced it with the correct link.

Thanks for help!
05-19-2007 07:06 PM
Visit this user's website Find all posts by this user Quote this message in a reply
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #40
RE: [HowTo] AwStats Static Pages
SniperSister Wrote:
Code:
ln -s /var/www/awstats/icon /usr/share/awstats/icon

This should be ln -s /usr/share/awstats/icon /var/www/awstats/icon
(This post was last modified: 05-23-2007 05:11 AM by grungy.)
05-23-2007 05:10 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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