Post Reply  Post Thread 
[HowTo] AwStats Static Pages UPDATED
Author Message
grungy
Junior Member
*


Posts: 186
Group: Registered
Joined: Dec 2006
Status: Offline
Reputation: 6
Post: #21
RE: [HowTo] AwStats Static Pages UPDATED

Commented out the tpl file -

Code:
/etc/ispcp/cron.d/parts/dmn_custom_entry.tpl


Code:
# Modified by grungy && Snipersister for awstats Support
    $rs = dmn_add_bkp_crontab_data($dmn_data);

    return $rs if ($rs != 0);


did you change to dmn_add_bkp_crontab_data?


- OMEGUS FANATICUS -

- Nicaš Do Jaja -

- "If ispCP the dominating hosting system becomes, there is a faith war less" -

Debian Etch 4.0 User

This post was last modified: 10-05-2007 03:19 AM by grungy.

10-05-2007 03:04 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Breaki
Junior Member
****
Dev Team

Posts: 109
Group: Dev Team
Joined: Sep 2007
Status: Offline
Reputation: 5
Post: #22
RE: [HowTo] AwStats Static Pages UPDATED

hm... atm i have to work on other things, but i seems that ispcp checks if awstats is installed or not, and if so, it will add the cronjob for awstats, but awstats is not fully implemented to ispcp --> the command to add the custom cronjob fails and that would be the reason why all your cron's failing. maybe we should wait till awstats is official included to ispCP, or you have to look for the error yourself Wink

Greetz

10-05-2007 03:08 AM
Visit this user's website Find all posts by this user Quote this message in a reply
zpin
Junior Member
*


Posts: 63
Group: Registered
Joined: Sep 2007
Status: Offline
Reputation: 0
Post: #23
RE: [HowTo] AwStats Static Pages UPDATED

Try replacing "dmn_add_crontab_data" with "dmn_add_bkp_crontab_data" in the ispcp-dmn-mngr file...

10-05-2007 03:19 AM
Find all posts by this user Quote this message in a reply
grungy
Junior Member
*


Posts: 186
Group: Registered
Joined: Dec 2006
Status: Offline
Reputation: 6
Post: #24
RE: [HowTo] AwStats Static Pages UPDATED

Hey I managed to get this stuff to work, but maybe it is better to implement awstat cron jobs using the dmn_custom_entry.tpl template file?


- OMEGUS FANATICUS -

- Nicaš Do Jaja -

- "If ispCP the dominating hosting system becomes, there is a faith war less" -

Debian Etch 4.0 User
10-05-2007 03:19 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Eminos
Junior Member
*


Posts: 141
Group: Registered
Joined: Jan 2007
Status: Offline
Reputation: 0
Post: #25
RE: [HowTo] AwStats Static Pages UPDATED

grungy Wrote:
Hey I managed to get this stuff to work, but maybe it is better to implement awstat cron jobs using the dmn_custom_entry.tpl template file?


Probably is. At least it looks better.
I thinkn I'm about to get your code working as well. But I'm still not sure if the /etc/cron.d/ispcp is run at all.

/E

10-05-2007 03:23 AM
Find all posts by this user Quote this message in a reply
Eminos
Junior Member
*


Posts: 141
Group: Registered
Joined: Jan 2007
Status: Offline
Reputation: 0
Post: #26
RE: [HowTo] AwStats Static Pages UPDATED

It seems to work now, except that it's not removing the entries in the cron.d/ispcp file when I delete a domain.

/E

10-05-2007 03:44 AM
Find all posts by this user Quote this message in a reply
grungy
Junior Member
*


Posts: 186
Group: Registered
Joined: Dec 2006
Status: Offline
Reputation: 6
Post: #27
RE: [HowTo] AwStats Static Pages UPDATED

well if you run # crontab /etc/cron.d/ispcp it will be run Wink


- OMEGUS FANATICUS -

- Nicaš Do Jaja -

- "If ispCP the dominating hosting system becomes, there is a faith war less" -

Debian Etch 4.0 User
10-05-2007 03:50 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Eminos
Junior Member
*


Posts: 141
Group: Registered
Joined: Jan 2007
Status: Offline
Reputation: 0
Post: #28
RE: [HowTo] AwStats Static Pages UPDATED

grungy Wrote:
well if you run # crontab /etc/cron.d/ispcp it will be run Wink


Well, yes, but no ?
Why should I put the /etc/cron.d/ispcp file into an own crontab when every file in the cron.d directory is (suposed to be) run anyway ??

/E

10-05-2007 03:53 AM
Find all posts by this user Quote this message in a reply
diems
Junior Member
*


Posts: 12
Group: Registered
Joined: Jan 2008
Status: Offline
Reputation: 0
Post: #29
RE: [HowTo] AwStats Static Pages UPDATED

Hi,

This works on Debian Etch and IspCp-Omega RC2c ?

tks!

01-29-2008 05:21 AM
Find all posts by this user Quote this message in a reply
gOOvER
Documentation Team
***
Docu Team

Posts: 1,329
Group: Docu Team
Joined: Jul 2007
Status: Offline
Reputation: 13
Post: #30
RE: [HowTo] AwStats Static Pages UPDATED

I wouldn't use this HowTo. It's safer to install the latest Trunk or wait until RC3 is released. No one knows what happens, when you try to upgrade later to RC3.


OS : Debian 4.0 Etch 64bit
ispCP Version : RC6 r1272 - 15.07.08 (NightlyBuild)
Activated : AWStats dynamic
Mods : update via NightlyUpdateScript
->SmileThis Signature is OpenSourceSmile<-
01-29-2008 12:34 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

| All rights reserved : isp-control.net |