Current time: 05-28-2024, 04:14 PM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] Update 1.0.2 -> 1.0.5 error: fastCGI modules configuration failed
Author Message
Nuxwin
Unregistered

 
Post: #7
RE: Update 1.0.2 -> 1.0.5 error: fastCGI modules configuration failed
Oh my god... Just before re-run the following command :

Code:
make -f Makefile.ubuntu install
cp -R /tmp/ispcp/* /

I hope you have re-saved you old files such as db keys files, pma configuration file.... I'm sure you have forgot this step.... and that explain all the errors.

To resume:

The ispcp-update script uses the db keys to decrypt the password stored in your ispcp.conf/ispcp.old.conf. So, if you have forgot to re-save these files before redo the make process and copy all the new files, the database connection fail. Look the content of the/var/www/ispcp/engine/ispcp-db-keys.pl and /var/www/ispcp/gui/include/ispcp-db-keys.php files. If this files content is like this:

/var/www/ispcp/engine/ispcp-db-keys.pl:
Code:
#!/usr/bin/perl

# ispCP ω (OMEGA) a Virtual Hosting Control Panel
# Copyright (C) 2001-2006 by moleSoftware GmbH - http://www.molesoftware.com
# Copyright (C) 2006-2010 by isp Control Panel - http://ispcp.net
#
# Version: $Id: ispcp-db-keys.pl 2505 2010-01-06 20:30:53Z nuxwin $
#
# The contents of this file are subject to the Mozilla Public License
# Version 1.1 (the "License"); you may not use this file except in
# compliance with the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS"
# basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
# License for the specific language governing rights and limitations
# under the License.
#
# The Original Code is "VHCS - Virtual Hosting Control System".
#
# The Initial Developer of the Original Code is moleSoftware GmbH.
# Portions created by Initial Developer are Copyright (C) 2001-2006
# by moleSoftware GmbH. All Rights Reserved.
# Portions created by the ispCP Team are Copyright (C) 2006-2010 by
# isp Control Panel. All Rights Reserved.
#
# The ispCP ω Home Page is:
#
#    http://isp-control.net/var/www/ispcp/gui/include/ispcp-db-keys.php
#

$main::db_pass_key = '{KEY}';

$main::db_pass_iv = '{IV}';

1;

/var/www/ispcp/gui/include/ispcp-db-keys.php:
Code:
<?php
/**
* ispCP ω (OMEGA) a Virtual Hosting Control System
*
* @copyright     2001-2006 by moleSoftware GmbH
* @copyright     2006-2010 by ispCP | http://isp-control.net
* @version     SVN: $Id: ispcp-db-keys.php 2599 2010-02-11 15:08:57Z benedikt $
* @link         http://isp-control.net
* @author         ispCP Team
*
* @license
* The contents of this file are subject to the Mozilla Public License
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* License for the specific language governing rights and limitations
* under the License.
*
* The Original Code is "VHCS - Virtual Hosting Control System".
*
* The Initial Developer of the Original Code is moleSoftware GmbH.
* Portions created by Initial Developer are Copyright (C) 2001-2006
* by moleSoftware GmbH. All Rights Reserved.
* Portions created by the ispCP Team are Copyright (C) 2006-2010 by
* isp Control Panel. All Rights Reserved.
*/

$ispcp_db_pass_key = '{KEY}';

$ispcp_db_pass_iv = '{IV}';

That explain all the errors. I hope you have a backup. for the following filesthat you should restore:

1. /var/www/ispcp/engine/ispcp-db-keys.pl
2. /var/www/ispcp/engine/messenger/ispcp-db-keys.pl
3. /var/www/ispcp/gui/include/ispcp-db-keys.php

Best Regards ;
04-04-2010 09:52 PM
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Update 1.0.2 -> 1.0.5 error: fastCGI modules configuration failed - Nuxwin - 04-04-2010 09:52 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)