ispCP - Board - Support
[solved]update from 1.0.3 - to 1.0.5 failed -> ispCP database error - 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: [solved]update from 1.0.3 - to 1.0.5 failed -> ispCP database error (/thread-10558.html)



[solved]update from 1.0.3 - to 1.0.5 failed -> ispCP database error - xister - 04-28-2010 01:07 AM

Hello everybody,

we try to update ispCP and get the following erros:
Quote:DEBUG: push_el() sub_name: update_ispcp_config(), msg: Ending...
Done
Check ispCP configuration file:DEBUG: push_el() sub_name: check_ispcp_cfg_file(), msg: Starting...
DEBUG: push_el() sub_name: check_ispcp_cfg_file(), msg: Ending...
Done

ispCP database
Update ispCP database schemaDEBUG: push_el() sub_name: update_database_schema(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: Starting...
DEBUG: push_el() sub_name: get_file(), msg: Ending...
DEBUG: push_el() sub_name: sys_command_rs(), msg: Starting...
sh: line 1: 2433 Segmentation fault /usr/bin/php5 /var/www/ispcp/engine/setup/updDB.php >&/tmp/ispcp-update-database.log
DEBUG: push_el() sub_name: sys_command_rs(), msg: Ending...
Failed
DEBUG: push_el() sub_name: exit_msg(), msg: Starting...

FATAL: An error was occured during update process!
Correct it and re-run this program.

You can find help at http://isp-control.net/forum

DEBUG: push_el() sub_name: exit_msg(), msg: Ending...

cat /tmp/ispcp-update-database.log
Quote:Connection failed: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
But the password is correct in the conf and the db key files look same.

We set a new sql pw (ispCP dokumentation) but we get now the following error
Quote:vm01:/var/www/ispcp/engine/setup# /usr/bin/php5 /var/www/ispcp/engine/setup/updDB.php
Connection failed: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES)Segmentation fault

i´ve attached the log created with strace -o /tmp/ispcp-update-database.log /usr/bin/php5 /var/www/ispcp/engine/setup/updDB.php

I hope someone could help us.

greetings
xister


RE: update from 1.0.3 - to 1.0.5 failed -> ispCP database error - Marcel - 04-28-2010 02:32 AM

Hi,

the problem was the Zend Optimizer which caused the segment fault.

~Marcel


RE: update from 1.0.3 - to 1.0.5 failed -> ispCP database error - gOOvER - 04-28-2010 04:07 AM

Or try to rebuild the DB Passwd. Start at Point 4 ^^


RE: update from 1.0.3 - to 1.0.5 failed -> ispCP database error - xister - 04-28-2010 02:53 PM

(04-28-2010 04:07 AM)gOOvER Wrote:  Or try to rebuild the DB Passwd. Start at Point 4 ^^

haha, did you really read the two posting?
i don´t think so. marcel allready posted the cause.