Current time: 11-25-2024, 06:04 PM Hello There, Guest! (LoginRegister)


Post Reply 
RC6 to RC7 system configurations failed :(
Author Message
TuxReaper Offline
Junior Member
*

Posts: 21
Joined: Apr 2008
Reputation: 0
Post: #1
RC6 to RC7 system configurations failed :(
Hello there!
I'm with ISPCP RC6 and wanted do upgrade to RC7, i've done all steps to backup, and while i was processing the ispcp-update script, i got this:
Code:
Name "main::db" used only once: possible typo at ./ispcp-update line 725.


    Welcome to ispCP '1.0.0 RC6 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
    (0) abort
    Your selection: 7
    Stopping ispCP GUI-Backend communication Daemon: ispcp_daemon/sbin/start-stop-daemon: warning: failed to kill 8582: No such process
.
    Stopping ispCP Network Traffic Logger: ispcp_network.
    Upgrading system values...done
    Upgrading database structure...done
    Rebuilding system configurations...     Update failed!
    ispCP Update failed.
Now my admin page have this:

Code:
Config variable 'CMD_CMP' is missing!
Please contact your system administrator
what can i do? please help me! Sad
thanks in advance,
best regards
12-17-2008 04:56 AM
Find all posts by this user Quote this message in a reply
Lucan Offline
Member
*
Beta Team

Posts: 982
Joined: Jul 2008
Reputation: 12
Post: #2
RE: RC6 to RC7 system configurations failed :(
Restore from Backup and perfom the update again.
It looks like u forgot Step 6 of this howto.

I know that, because exactly the same happened to me and the things i now told u is that, what sci2tech told me a few days ago... and he was right, i forgot to perform step 6, after a new try of updating ispcp everything worked fine for me.


Code:
119    5) Update
120    ---------
121    Make sure you are logged in as root and MySQL is running.
122    
123    1. Untar or unzip the distribution files to a secure directory:
124            # cd /root
125            # tar xjvf ispcp-omega-1.0.0-rc7.tar.bz2
126    
127    2. Change to the newly created directory:
128            # cd ./ispcp-omega-1.0.0
129    
130    3. Install the required modules
131       first update your system:
132            # apt-get update && apt-get upgrade
133    
134       for Debian Sarge use:
135            # apt-get install $(cat ./docs/Debian/debian-packages-sarge)
136       for Debian Etch use:
137            # apt-get install $(cat ./docs/Debian/debian-packages-etch)
138       for Debian Lenny/Sid use:
139            # apt-get install $(cat ./docs/Debian/debian-packages-lenny)
140    
141       Make sure you have added the non-free into your /etc/apt/sources.list:
142    
143       deb     http://ftp.debian.org/debian/            etch         main contrib non-free
144       deb     http://security.debian.org/              etch/updates main contrib non-free
145    
146       If using Sarge, make sure you have added the following backport into your
147       /etc/apt/sources.list:
148    
149       # backports
150       deb     http://dotdeb.pimpmylinux.org/          sarge          all
151    
152    
153            (when you get to the courier screen select 'no' to web directories)
154            (when you get to the postfix screen select 'internet site' and then type 'root'
155            for mail. If you've set debian up correctly on install your domain should be
156            already on screen. Select 'no' to force sync updates.)
157            (when you get to the proftpd screen, select 'standalone')
158            (when you get to the rootkithunter screen, select two time 'yes')
159    
160    4. (optional) Check the ispcp.conf and adapt it to your requirements.
161    
162    5. Build the System by using make:
163            # make install
164    
165    6. Save files
166            # cp -v /var/www/ispcp/engine/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/
167            # cp -v /var/www/ispcp/engine/messager/ispcp-db-keys.pl /tmp/ispcp/var/www/ispcp/engine/messager/
168            # cp -v /var/www/ispcp/gui/include/ispcp-db-keys.php /tmp/ispcp/var/www/ispcp/gui/include/
169            # cp -v /var/www/ispcp/gui/themes/user_logos/* /tmp/ispcp/var/www/ispcp/gui/themes/user_logos/
170            # cp -TvR /var/www/ispcp/gui/domain_default_page /tmp/ispcp/var/www/ispcp/gui/domain_default_page
171    
172       If updating from RC3 or higher:
173            # cp -v /var/www/ispcp/gui/tools/pma/config.inc.php /tmp/ispcp/var/www/ispcp/gui/tools/pma/
174    
175    7. Delete old files to avoid security risks:
176            # rm -fR /var/www/ispcp/gui/{admin,client,include,orderpanel,themes,reseller}/
177            # rm -fR /var/www/ispcp/gui/*.php
178    
179    8. Copy /usr and /var directories into your system (you may make backups)
180            # cp -Rv /tmp/ispcp/usr/* /usr/
181            # cp -Rv /tmp/ispcp/var/* /var/
182    
183    9. Backup ispcp.conf and copy the /etc directory into your system (you may make backups):
184            # mv -v /etc/ispcp/ispcp.conf /etc/ispcp/ispcp.old.conf
185            # cp -Rv /tmp/ispcp/etc/* /etc/
186    
187    10. Now it's time to update your installation. Change into the engine directory:
188            # cd /var/www/ispcp/engine/setup
189    
190    11. Start the engine update:
191            # perl ispcp-update
192    
193    12. Update ispCP ω step-by-step
194    
195            If you get no error, all went good; if you get one, look at
196            http://isp-control.net to solve the problem.
197    
198    13. Clean the temporary folders:
199            # rm -fR /tmp/ispcp/

Greets
(This post was last modified: 12-17-2008 05:24 AM by Lucan.)
12-17-2008 05:23 AM
Find all posts by this user Quote this message in a reply
TuxReaper Offline
Junior Member
*

Posts: 21
Joined: Apr 2008
Reputation: 0
Post: #3
RE: RC6 to RC7 system configurations failed :(
i'm sure that i've done step 6, but... how can i restore my backup?
12-17-2008 06:46 AM
Find all posts by this user Quote this message in a reply
Lucan Offline
Member
*
Beta Team

Posts: 982
Joined: Jul 2008
Reputation: 12
Post: #4
RE: RC6 to RC7 system configurations failed :(
(12-17-2008 06:46 AM)TuxReaper Wrote:  i'm sure that i've done step 6, but... how can i restore my backup?
You made some backup with the howto, the files must be in the tmp folder, if u didn't delete them.
But, if u didn't follow all steps, you may doesn't have a full backup.

Also u may have a Backup of your whole Server?
But thats something that only u know.


Greets.
12-17-2008 07:48 AM
Find all posts by this user Quote this message in a reply
TuxReaper Offline
Junior Member
*

Posts: 21
Joined: Apr 2008
Reputation: 0
Post: #5
RE: RC6 to RC7 system configurations failed :(
Hello,
i've checked that i've done the 6th step:

Code:
nyphos:/tmp/ispcp/var/www/ispcp/engine/messager# ls -lia
totale 32
872680 drwxr-xr-x 2 root root  4096 2008-12-16 19:17 .
872675 drwxr-xr-x 9 root root  4096 2008-12-16 19:17 ..
872882 -rwx------ 1 root root 17593 2008-12-16 19:17 ispcp-arpl-msgr
872788 -rwx------ 1 root root   102 2008-12-16 19:23 ispcp-db-keys.pl
nyphos:/tmp/ispcp/var/www/ispcp/engine/messager#

the date is yesterday, and the file of the steps are here, so how can i solve? Sad
12-17-2008 06:28 PM
Find all posts by this user Quote this message in a reply
Kika Offline
Member
***

Posts: 293
Joined: Feb 2007
Reputation: 8
Post: #6
RE: RC6 to RC7 system configurations failed :(
if you enabled the backup than you have a backup in the /var/www/ispcp/backups. Unpack this and restore. Save the /var/www/ispcp and the /tmp/ispcp folder to another dir (because if you overwrote something maybe one of this containing the old conf like ispcp-db-keys.pl in the tmp)

After this you can start the upgrade again.
(This post was last modified: 12-17-2008 07:09 PM by Kika.)
12-17-2008 07:08 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #7
RE: RC6 to RC7 system configurations failed :(
Quote:Config variable 'CMD_CMP' is missing!
Please contact your system administrator
This means that you have old ispcp.conf without the CMD_CMP Varibale.
But this should be also done by the update script.

Greez BeNe
12-17-2008 07:09 PM
Visit this user's website Find all posts by this user Quote this message in a reply
TuxReaper Offline
Junior Member
*

Posts: 21
Joined: Apr 2008
Reputation: 0
Post: #8
RE: RC6 to RC7 system configurations failed :(
thanks all for fast reponses, but also if i restore the backup, i think the problem will remain.. so... what can i do? Sad
i think the problem is in the ispcp files, because all sites, vhost are avaible, and also SQl databases... i don't think that i need to restore the backup.. or maybe am i wrong?

_____


if u can, can u give me the exactly commands to restore to RC6?
(This post was last modified: 12-17-2008 09:13 PM by TuxReaper.)
12-17-2008 08:09 PM
Find all posts by this user Quote this message in a reply
TuxReaper Offline
Junior Member
*

Posts: 21
Joined: Apr 2008
Reputation: 0
Post: #9
RE: RC6 to RC7 system configurations failed :(
up up up! please Smile
12-19-2008 07:53 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #10
RE: RC6 to RC7 system configurations failed :(
Hi TuxReaper

since we don't know what and how you backed up before, we don't know hwo to restore the backup...

If the CMD_CMP from above error is the only one you have, then just add the variable into the /etc/ispcp.conf:

just to see where it's placed best... (path is valif for debian, maybe others...)
Code:
CMD_DIFF = /usr/bin/diff

CMD_CMP = /usr/bin/cmp

CMD_DU = /usr/bin/du


/J
12-19-2008 05:45 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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