ispCP - Board - Support
ISPCP Upgrade form RC7 to ispCP Omega 1.0.0 FAILD - 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: ISPCP Upgrade form RC7 to ispCP Omega 1.0.0 FAILD (/thread-5827.html)

Pages: 1 2 3 4


ISPCP Upgrade form RC7 to ispCP Omega 1.0.0 FAILD - sunsus - 02-26-2009 08:48 PM

Solution:
/etc/group
add:
Code:
vu2000:x:2000:

/etc/passwd
add:
Code:
vu2000:x:2000:2000:vu-master:/var/www/fcgi/master:/bin/false

check Rights:

cd /var/www/fcgi/maser
ls -l
Code:
drwxr-xr-x 2 root   root   4096 Oct 24  2007 php4
-rwxr-xr-x 1 vu2000 vu2000  195 Oct 24  2007 php4-fcgi-starter
drwxr-xr-x 2 root   root   4096 Feb 19 12:26 php5
-rwxr-xr-x 1 vu2000 vu2000  195 Oct 24  2007 php5-fcgi-starter
Code:
:/var/www/fcgi/master/php5# ls -l
total 48
-rw-r--r-- 1 vu2000 vu2000 46314 Feb 19 12:26 php.ini
Code:
chown vu2000:vu2000 /var/www/fcgi/master/* -R
chown root:root /var/www/fcgi/master/php5/
chown root:root /var/www/fcgi/master/php4/

Quote:I have upgrade like the how to explain! and the ispcp-update script faild!

Quote:perl ispcp-update
Name "main:Big Grinb" used only once: possible typo at ispcp-update line 750.
Make sure you have read and performed all steps from docs/distro/INSTALL
document.

Continue?
(1) Yes
(0) No
Your selection: 1
Welcome to ispCP '1.0.0 OMEGA' Update Dialog.
This program will update your VHCS / ispCP OMEGA system on your server.
Please make sure you have a backup of your server data.

NOTE: During the migration process some or all services might require to be
shut down or restarted.

Please select from which version you want to update:
(1) VHCS 2.4.7 or VHCS 2.4.7.1
(2) VHCS 2.4.8 RC1
(3) ispCP OMEGA 1.0.0 RC2 (incl. b and c)
(4) ispCP OMEGA 1.0.0 RC3
(5) ispCP OMEGA 1.0.0 RC4
(6) ispCP OMEGA 1.0.0 RC5
(7) ispCP OMEGA 1.0.0 RC6
(8) ispCP OMEGA 1.0.0 RC7
(0) abort
Your selection: 8
Stopping ispCP GUI-Backend communication Daemon: ispcp_daemon.
Stopping ispCP Network Traffic Logger: ispcp_network
* ispcp_network is already stopped
.
Upgrading system values...done
Rebuilding system configurations...
Please enter ispCP ftp SQL user. [vftp]:

Please enter ispCP ftp SQL user password. [auto generate]:

ispCP ftp SQL user password set to: Li{UBuRNxM_d1C{/!/
Update failed!
ispCP Update failed.



RE: ISP Upgrade to ispCP Omega 1.0.0 FAILD - sci2tech - 02-26-2009 08:50 PM

Without logs nobody can tel you what was wrong! Enable debug then start again. Also see logs from /var/log/ispcp. Also you upgraded from what RC? What distro do you use? what trunk do you use?


RE: ISP Upgrade to ispCP Omega 1.0.0 FAILD - sunsus - 02-26-2009 09:29 PM

Distro: Debian Etch
Upgrade: RC7 to Stable
Trunk: http://downloads.sourceforge.net/ispcp/ispcp-omega-1.0.0.tar.bz2

ispcp-setup-services.log:
Code:
Starting ftp server: proftpd - processing configuration directory '/etc/proftpd/ispcp'
.



RE: ISP Upgrade to ispCP Omega 1.0.0 FAILD - RatS - 02-26-2009 09:37 PM

one of the managers broke, please give us the output of all stderr-files in /var/log/ispcp/ (only the one of today.


RE: ISP Upgrade to ispCP Omega 1.0.0 FAILD - sunsus - 02-26-2009 09:42 PM

There is no log of today in this folder!
how can I turn on the debug mode on the upgrade script?
ispcp-vrl-traff.el:
doSQL() | ERROR: Unable to connect SQL server !
doSQL() | Starting...
get_conf() | Ending...
setup_main_vars() | Ending...
decrypt_db_password() | Ending...
decrypt_db_password() | Starting...
setup_main_vars() | Starting...
get_file() | Ending...
get_file() | Starting...
get_conf() | Starting...
del_file() | Ending...
del_file() | Starting...
vrl_traff_start_up() | Starting...
get_conf() | Ending...
setup_main_vars() | Ending...
decrypt_db_password() | Ending...
decrypt_db_password() | Starting...
setup_main_vars() | Starting...
get_file() | Ending...
get_file() | Starting...
get_conf() | Starting...
ispcp-srv-traff.el:
doSQL() | ERROR: Unable to connect SQL server !
doSQL() | Starting...
get_conf() | Ending...
setup_main_vars() | Ending...
decrypt_db_password() | Ending...
decrypt_db_password() | Starting...
setup_main_vars() | Starting...
get_file() | Ending...
get_file() | Starting...
get_conf() | Starting...
del_file() | Ending...
del_file() | Starting...
srv_traff_start_up() | Starting...
get_conf() | Ending...
setup_main_vars() | Ending...
decrypt_db_password() | Ending...
decrypt_db_password() | Starting...
setup_main_vars() | Starting...
get_file() | Ending...
get_file() | Starting...
get_conf() | Starting...


RE: ISP Upgrade to ispCP Omega 1.0.0 FAILD - BeNe - 02-26-2009 09:49 PM

Quote:ERROR: Unable to connect SQL server !
Is your MySQL Server running ?
Login / Password correct ?

Greez BeNe


RE: ISP Upgrade to ispCP Omega 1.0.0 FAILD - sunsus - 02-26-2009 09:51 PM

Code:
/etc/init.d/mysql status
/usr/bin/mysqladmin  Ver 8.41 Distrib 5.0.32, for pc-linux-gnu on i486
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license

Server version          5.0.32-Debian_7etch8-log
Protocol version        10
Connection              Localhost via UNIX socket
UNIX socket             /var/run/mysqld/mysqld.sock
Uptime:                 9 sec

Threads: 1  Questions: 917  Slow queries: 0  Opens: 1165  Flush tables: 1  Open tables: 64  Queries per second avg: 101.889.



RE: ISP Upgrade to ispCP Omega 1.0.0 FAILD - BeNe - 02-26-2009 09:53 PM

Code:
Uptime:                 9 sec
Rolleyes
You are sure that this runs before you did the upgrade ?

Greez BeNe


RE: ISP Upgrade to ispCP Omega 1.0.0 FAILD - sunsus - 02-26-2009 09:55 PM

mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 10
Server version: 5.0.32-Debian_7etch8-log Debian etch distribution

how do ispcp encrypt the mysql password in /etc/ispcp/ispcp.conf
Yes I just restarted


RE: ISP Upgrade to ispCP Omega 1.0.0 FAILD - BeNe - 02-26-2009 10:06 PM

Quote:how do ispcp encrypt the mysql password in /etc/ispcp/ispcp.conf
--> http://www.isp-control.net/ispcp/wiki/howto_dbchangepw

Greez BeNe