ispCP - Board - Support
suse 10.1 install problem - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: suse 10.1 install problem (/thread-1576.html)



suse 10.1 install problem - feitjie - 10-19-2007 08:50 PM

hi

when i try to install ispCp i get the

ERROR: Undefined intput data, bt: |{PHP_STARTER_DIR}|, et: |{PHP_STARTER_DIR}|, src !


any help woud be great
Thanx


RE: suse 10.1 install problem - BeNe - 10-19-2007 09:16 PM

Which ispCP Version did you test ?
Please use a Nightly Build from today.

Greez BeNe


RE: suse 10.1 install problem - joximu - 10-19-2007 09:38 PM

Hi feitjie

please understand, that maybe not everything is working out of the box for suse.
I installed ispcp this summer on a openSuSE 10.2 but there's some manual work to do which I cannot put in the trunk every time the devs are changing something.

If you want to try - we can help here but you must provide more information (which ispcp version (which download) do you use...

And... why suse 10.1? AFAIK this is one of the bad versions of suse. 10.2 is far better (10.3 I don't know yet).

/Joximu


RE: suse 10.1 install problem - feitjie - 10-19-2007 10:00 PM

the thing is i installed "ispCP Omega 1.0.0 RC2c" a while back and it is working great,

i now want to setup a second one and for the life of me cant figure out what i am doing wrong.

i am using 10.1 because i have a working one on 10.1

when i install with todays nightly build i get this

ERROR: Undefined intput data, bt: |{AWSTATS_ROOT_DIR}|, et: |{AWSTATS_ROOT_DIR}|, src !

thanks for the quik respons


RE: suse 10.1 install problem - joximu - 10-19-2007 10:50 PM

Is this error happening while running the ispcp-setup?

I think it's a missing or not complete cron-config file.

Could you please compare the files in config/dists/suse10/cron with the one of the other sitros...?

/Joximu


RE: suse 10.1 install problem - feitjie - 10-20-2007 02:51 PM

i checked out the cron.d seems to be fine and the one created in /etc/ispcp/cron.d also looks fine


RE: suse 10.1 install problem - joximu - 10-20-2007 06:19 PM

I mean something different:

in the tarball you downloaded.

The file trunk/configs/cron.d/ispcp is bigger than
trunk/configs/dists/suse10/cron.d/ispcp

Thi differences are not trivial:
Code:
> diff -wu  dists/suse10/cron.d/ispcp cron.d/ispcp
--- dists/suse10/cron.d/ispcp   2007-09-02 09:41:27.000000000 +0200
+++ cron.d/ispcp        2007-10-16 15:30:43.000000000 +0200
@@ -8,19 +8,31 @@
0,30   *       *       *       *  root {TRAFF_ROOT_DIR}/ispcp-srv-traff &>{LOG_DIR}/ispcp-srv-traff.log
0,30   *       *       *       *  root {TRAFF_ROOT_DIR}/ispcp-vrl-traff &>{LOG_DIR}/ispcp-vrl-traff.log
15,45  *       *       *       *  root {TRAFF_ROOT_DIR}/ispcp-vrl-traff-correction &>{LOG_DIR}/ispcp-vrl-traff-correction.log
+
+# customer logs
30     23      *       *       *  root {TOOLS_ROOT_DIR}/ispcp-httpd-logs-mngr &>{LOG_DIR}/ispcp-httpd-logs-mngr.log

# Backup
-0      1       *       *       *  root {BACKUP_ROOT_DIR}/ispcp-backup-all yes &>{LOG_DIR}/ispcp-backup-all-mngr.log
+@daily root {BACKUP_ROOT_DIR}/ispcp-backup-all yes &>{LOG_DIR}/ispcp-backup-all-mngr.log
+@daily root {BACKUP_ROOT_DIR}/ispcp-backup-ispcp noreport &>{LOG_DIR}/ispcp-backup-all-mngr.log

# Remove config backups older than seven days
-@daily root find /etc/ispcp/*/backup/* -maxdepth 0 -type f -mtime +7 -print | egrep '.*\.[0-9]+$' | xargs /bin/rm
+@daily root find {CONF_DIR}/*/backup/* -maxdepth 0 -type f -mtime +7 -print | egrep '.*\.[0-9]+$' | xargs /bin/rm
+
+# Remove Daemon Logs older than 14 days (except .gz files)
+@daily root find {LOG_DIR}/* -maxdepth 1 -type f -mtime +14 -print | egrep '.*\.gz$' | xargs /bin/rm

# AWStats
-{AWSTATS}
+{AW-ENABLED}15 */6     *       *       *       root {AWSTATS_ROOT_DIR}/awstats_updateall.pl now -awstatsprog={AWSTATS_ENGINE_DIR}/awstats.pl

# Rootkit Hunter
-0      0,12    *       *       *       root rkhunter --createlogfile --cronjob
+{RK-ENABLED}0  0,12    *       *       *       root rkhunter --scan-knownbad-files --check-deleted --createlogfile --cronjob --createlogfile {RKHUNTER_LOG}>/dev/null 2>&1
+
+# Chkrootkit
+{CR-ENABLED}0  0,12    *       *       *       root chkrootkit 2>&1 > {CHKROOTKIT_LOG}
+
+# Look for and purge old sessions every 30 minutes
+0,30 *     * * *     root   {TOOLS_ROOT_DIR}/ispcpphptemp.sh >/dev/null 2>&1

# [{DMN_NAME}] backup task START.
# [{DMN_NAME}] backup task END.
@@ -28,4 +40,7 @@
# [{DMN_NAME}]:{CRONJOB_ID} custom task START.
# [{DMN_NAME}]:{CRONJOB_ID} custom task END.

+# [{DMN_NAME}] AWStats static tasks START.
+# [{DMN_NAME}] AWStats static tasks END.
+
# delayed tasks END.

I think you should be able to install fine if youm just copy the "debian cron file" to the suse dist...

/Joxi