|
[HowTo] AwStats Static Pages UPDATED
|
| Author |
Message |
grungy
Junior Member

Posts: 186
Group: Registered
Joined: Dec 2006
Status:
Offline
Reputation: 6
|
RE: [HowTo] AwStats Static Pages UPDATED
Commented out the tpl file -
/etc/ispcp/cron.d/parts/dmn_custom_entry.tpl
# 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 |
|
 |
Breaki
Junior Member
   
Posts: 109
Group: Dev Team
Joined: Sep 2007
Status:
Offline
Reputation: 5
|
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 
Greetz
|
|
| 10-05-2007 03:08 AM |
|
 |
zpin
Junior Member

Posts: 63
Group: Registered
Joined: Sep 2007
Status:
Offline
Reputation: 0
|
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 |
|
 |
grungy
Junior Member

Posts: 186
Group: Registered
Joined: Dec 2006
Status:
Offline
Reputation: 6
|
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 |
|
 |
Eminos
Junior Member

Posts: 141
Group: Registered
Joined: Jan 2007
Status:
Offline
Reputation: 0
|
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?
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 |
|
 |
Eminos
Junior Member

Posts: 141
Group: Registered
Joined: Jan 2007
Status:
Offline
Reputation: 0
|
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 |
|
 |
grungy
Junior Member

Posts: 186
Group: Registered
Joined: Dec 2006
Status:
Offline
Reputation: 6
|
RE: [HowTo] AwStats Static Pages UPDATED
well if you run # crontab /etc/cron.d/ispcp it will be run
- 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 |
|
 |
Eminos
Junior Member

Posts: 141
Group: Registered
Joined: Jan 2007
Status:
Offline
Reputation: 0
|
RE: [HowTo] AwStats Static Pages UPDATED
well if you run # crontab /etc/cron.d/ispcp it will be run 
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 |
|
 |
diems
Junior Member

Posts: 12
Group: Registered
Joined: Jan 2008
Status:
Offline
Reputation: 0
|
RE: [HowTo] AwStats Static Pages UPDATED
Hi,
This works on Debian Etch and IspCp-Omega RC2c ?
tks!
|
|
| 01-29-2008 05:21 AM |
|
 |
gOOvER
Documentation Team
  
Posts: 1,329
Group: Docu Team
Joined: Jul 2007
Status:
Offline
Reputation: 13
|
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
-> This Signature is OpenSource <-
|
|
| 01-29-2008 12:34 PM |
|
 |
|
|