Current time: 11-22-2024, 10:54 PM Hello There, Guest! (LoginRegister)


Post Reply 
Updating 1.0.7 to 1.1.0 beta 1 - Error Rebuilding customers config files
Author Message
avispa987 Offline
Junior Member
*****
Dev Team

Posts: 70
Joined: Oct 2007
Reputation: 0
Post: #1
Updating 1.0.7 to 1.1.0 beta 1 - Error Rebuilding customers config files
Hi there..
OS: Debian Squeeze
no mods!


Code:
Starting ispCP update
         * Stopping services: ..........                                             [ Done ]

        ispCP main configuration file

        Pre-installation tasks for Debian
         * Nothing to do...                                                          [ Done ]
         * Loading old ispCP configuration file:                                     [ Done ]
         * Update ispCP configuration file:                                          [ Done ]
         * Check ispCP configuration file:                                           [ Done ]
         * Update ispCP key configuration file:                                      [ Done ]

        ispCP database
         * Update ispCP database schema:                                             [ Done ]

        Rebuilding all services configuration files
         * ispCP system resolver:                                                    [ Done ]
         * ispCP crontab file:                                                       [ Done ]
         * ispCP Bind9 main configuration file:                                      [ Done ]
         * ispCP Apache fastCGI modules configuration:                               [ Done ]
         * ispCP Apache main vhost file:                                             [ Done ]
         * ispCP Apache AWStats vhost file:                                          [ Done ]
         * ispCP Postfix configuration files:                                        [ Done ]
         * ispCP Courier-Authentication:                                             [ Done ]
         * ispCP ProFTPd configuration file:                                         [ Done ]
         * ispCP init scripts:                                                       [ Done ]

        Rebuilding all GUI configuration files
         * ispCP GUI Bind9 configuration:                                            [ Done ]
         * ispCP GUI fastCGI/PHP configuration:                                      [ Done ]
         * ispCP GUI vhost file:                                                     [ Done ]
         * ispCP PMA configuration file:                                             [ Done ]

       [b] Rebuilding all customers configuration files
         * Please wait, this may take some time:                                   [ Failed ][/b]


LOGS
ispcp-update.log

ispcp-setup.log

i hope someone can help me with this T_T...
(This post was last modified: 06-10-2011 08:19 PM by avispa987.)
06-10-2011 12:59 PM
Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: Updating 1.0.7 to 1.1.0 beta 1 - Error Rebuilding customers config files
Quick fix: install rkhunter (apt-get install rkhunter).

Developers reference: the problem is caused by the function "setup_rkhunter" in the file "engine/setup/ispcp-setup-methods.pl" line 3381, where the third block tries to run even when there is no rkhunter installed.
06-10-2011 04:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
avispa987 Offline
Junior Member
*****
Dev Team

Posts: 70
Joined: Oct 2007
Reputation: 0
Post: #3
RE: Updating 1.0.7 to 1.1.0 beta 1 - Error Rebuilding customers config files
i allready have rkhunter installed... i've made apt-get install rkhunter and nothing happens, it says:
rkhunter is on the most recent version.
06-10-2011 08:18 PM
Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #4
RE: Updating 1.0.7 to 1.1.0 beta 1 - Error Rebuilding customers config files
You are right, in the third block the if-block is totally stupid: it will be executed no matter if rkhunter is installed or not. I will try to fix this.
06-11-2011 07:15 AM
Visit this user's website Find all posts by this user Quote this message in a reply
avispa987 Offline
Junior Member
*****
Dev Team

Posts: 70
Joined: Oct 2007
Reputation: 0
Post: #5
RE: Updating 1.0.7 to 1.1.0 beta 1 - Error Rebuilding customers config files
i should wait for a fix?? or reinstall again the server T_T
06-11-2011 10:40 AM
Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #6
RE: Updating 1.0.7 to 1.1.0 beta 1 - Error Rebuilding customers config files
fix in r3852, please try it.
06-11-2011 05:23 PM
Visit this user's website Find all posts by this user Quote this message in a reply
sawettachat Offline


Posts: 3
Joined: Mar 2009
Reputation: 0
Post: #7
RE: Updating 1.0.7 to 1.1.0 beta 1 - Error Rebuilding customers config files
The problem is bug in sub rebuild_customers_cfg in /var/www/ispcp/engine/setup/ispcp-update .
Variable $table for update status, error when table is no data.
06-11-2011 09:19 PM
Find all posts by this user Quote this message in a reply
avispa987 Offline
Junior Member
*****
Dev Team

Posts: 70
Joined: Oct 2007
Reputation: 0
Post: #8
RE: Updating 1.0.7 to 1.1.0 beta 1 - Error Rebuilding customers config files
i just reinstalled the vps.. i will install now ispcp and move all the clients..

thanks all for the answers..
06-11-2011 11:53 PM
Find all posts by this user Quote this message in a reply
RatS Offline
Project Leader
******

Posts: 1,854
Joined: Oct 2006
Reputation: 17
Post: #9
RE: Updating 1.0.7 to 1.1.0 beta 1 - Error Rebuilding customers config files
(06-11-2011 09:19 PM)sawettachat Wrote:  The problem is bug in sub rebuild_customers_cfg in /var/www/ispcp/engine/setup/ispcp-update .
Variable $table for update status, error when table is no data.
$table cannot be empty.

But maybe I don't understand what you mean. Can you please give an example?
06-12-2011 02:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
sawettachat Offline


Posts: 3
Joined: Mar 2009
Reputation: 0
Post: #10
RE: Updating 1.0.7 to 1.1.0 beta 1 - Error Rebuilding customers config files
OK I'm mistake.
When I re-run after 10 minute everything is done.
06-12-2011 03:32 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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