[SOLVED] Update 1.0.5->1.0.6: doSQL(), msg: ERROR: Unable to connect SQL server ! - 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 1.0.5->1.0.6: doSQL(), msg: ERROR: Unable to connect SQL server ! (/thread-11623.html) |
[SOLVED] Update 1.0.5->1.0.6: doSQL(), msg: ERROR: Unable to connect SQL server ! - heinzi - 09-09-2010 04:27 AM Hello, I just started the update from 1.0.5 to 1.0.6 and got the following error message while running the perl update script: Quote:DEBUG: push_el() sub_name: sys_command(), msg: Starting...I think that I made something wrong while step 5 of the update instructions: Quote:5. Backup files So I regenerated the ispcp-db-keys.pl by deleting the mysql password from ispcp.conf and running /var/www/ispcp/engine/ispcp-db-passwd, but the error still is the same. The mysql daemon is running. What else could cause this error? -Heinzi edit: I know that I made a mistake in step 5, because the ispcp-db-keys.pl files I copied there contained only {IV} and {KEY}. But after calling ispcp-db-passwd, they contain values. I made the same mistake for the other files of this step, but they shouldn't be that important, right? edit2: Here the log files in /tmp: Quote:root@server:/var/www/ispcp/engine/setup# cat /tmp/ispcp-update-database.log solved it! ispcp-db-passwd just writes the password to /etc/ispcp.conf and the perl update script just overwrites this file with ispcp.old.conf. So the changes by ispcp-db-passwd were overwritten every time. I now copied the password hash into ispcp.old.conf (after running ispcp-db-passwd) and it works. |