ispCP - Board - Support
Update from VHCS2 2.4.8 RC1 to ispCP RC3 failed - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Update/Upgrade (/forum-44.html)
+--- Thread: Update from VHCS2 2.4.8 RC1 to ispCP RC3 failed (/thread-2599.html)



Update from VHCS2 2.4.8 RC1 to ispCP RC3 failed - DaSilva - 02-29-2008 03:23 AM

I have two errors with the update script.
I have tested this twice (with an image).
My current "project" is discussed here already.
I always have these two errors in the update script:

Code:
Stopping ispCP GUI-Backend communication Daemon: ispcp_daemon/sbin/start-stop-daemon: warning: failed to kill 2671: No such process

Removing apache vhost file...This site is already disabled, or does not exist!
done
        Removing Daemons        Rebuilding customers...Can't open perl script "/var/www/vhcs2/engine/ispcp-rqst-mngr": Datei oder Verzeichnis nicht gefunden
failed!
        Rebuild failed.

This is from my second try where I already copied the "ispcp-rqst-mngr" to "/var/www/vhcs2/engine/ispcp-rqst-mngr".
The first try gave me this second error message:

Code:
Removing Daemons Rebuilding customers...Can't open perl script "/var/www/vhcs2/engine/ispcp-rqst-mngr": Datei oder Verzeichnis nicht gefunden

I have started the ispCP Daemon manually before the update script.
Manually exec "perl ispcp-rqst-mngr" in "/var/www/ispcp/engine" does work.
So what is the problem with the update script and how can I solve it?
Thanks for help.


RE: Update from VHCS2 2.4.8 RC1 to ispCP RC3 failed - joximu - 02-29-2008 09:10 AM

I think there is something wrong with the config:
the command which is run looks like this:

$rs = sys_command_rs("perl $main::cfg{'ROOT_DIR'}/engine/ispcp-rqst-mngr");

so, the ROOT_DIR variable seems to be wrong (set to the old vhcs instead of new ispcp folder).

have a look in /etc/ispcp/ispcp.conf - this variable.

and then repeat the update again - and post what you type in...


RE: Update from VHCS2 2.4.8 RC1 to ispCP RC3 failed - DaSilva - 03-01-2008 03:29 AM

The ispcp.conf already says

ROOT_DIR = /var/www/ispcp

so this could not be the problem.
Some more tips?