Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 22nd November 2006, 19:46
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,794
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

Quote:
Originally Posted by Traxus
I was also unable to upgrade from 2.2.7 to 2.2.8. Bellow is the error message I got while building it on my Suse 10 instalation. If You require any extra info, please let me know.

Code:
configure: error: installation or configuration problem: C++ compiler cannot
It looks like you dont have a c++ compiler installed.

If you use debian / ubuntu, you might check and install it with this command:

Quote:
apt-get install cpp g++
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Sponsored Links
  #12  
Old 22nd November 2006, 19:48
Traxus Traxus is offline
Junior Member
 
Join Date: Jan 2006
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till
It looks like you dont have a c++ compiler installed.

If you use debian / ubuntu, you might check and install it with this command:
Hm, that would be odd, since thats the same machine I compiled about 5 versions of ISPConfig before. Lemme check....
Reply With Quote
  #13  
Old 22nd November 2006, 19:49
bwrob bwrob is offline
Member
 
Join Date: Jan 2006
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My

server:/ # ls /tmp/*.gz
/tmp/home_admispconfig_10_01_2006__10_19_42.tar.gz
/tmp/home_admispconfig_10_11_2006__06_30_20.tar.gz
/tmp/root_ispconfig_10_01_2006__10_19_42.tar.gz
/tmp/root_ispconfig_10_11_2006__06_30_20.tar.gz
Reply With Quote
  #14  
Old 22nd November 2006, 19:52
Traxus Traxus is offline
Junior Member
 
Join Date: Jan 2006
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Negative, GCC is installed (if I read this right, its version 4.0.2). I am using Suse 10.

Last edited by Traxus; 22nd November 2006 at 19:54.
Reply With Quote
  #15  
Old 22nd November 2006, 19:53
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,794
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

Quote:
Originally Posted by gavin
On my system, all db_ispconfig tables are still there (last update at 18h20 -- traffic data).

ls /tmp/*.gz output has two home_adminispconfig and root_ispconfig backups (last one from 10_11_2006 -- I think the date of the last update?)

/tmp/home_admispconfig_08_09_2006__15_51_35.tar.gz
/tmp/home_admispconfig_10_11_2006__14_48_14.tar.gz
/tmp/root_ispconfig_08_09_2006__15_51_35.tar.gz
/tmp/root_ispconfig_10_11_2006__14_48_14.tar.gz
Ok, you seem to have backups, but not the latest from todays update.

1) Make a copy of the backup files in a secure place outside the /tmp directory. There is also a file with the ending .sql that you will have to backup.

2) To restore a backup, copy the tar.gz files to /.

example:

Code:
cp  /tmp/home_admispconfig_10_11_2006__14_48_14.tar.gz /home_admispconfig_10_11_2006__14_48_14.tar.gz
Code:
cp /tmp/root_ispconfig_10_11_2006__14_48_14.tar.gz /root_ispconfig_10_11_2006__14_48_14.tar.gz
Then go to the / directory and unpack the backups:

Code:
cd /
tar xvfz /home_admispconfig_10_11_2006__14_48_14.tar.gz
tar xvfz /root_ispconfig_10_11_2006__14_48_14.tar.gz
3) Start ISPConfig:

Code:
/etc/init.d/ispconfig_server start
and try if you can login to the interface and everything is working again.

If not, you will have to restore the .sql dump from the /tmp directory to the ISPConfig database.

4) Now make sure you have a c++ compiler installed and run the update again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #16  
Old 22nd November 2006, 19:54
gavin gavin is offline
Junior Member
 
Join Date: Nov 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Gcc installed here, too -- just installed g++-4.0 libstdc++6-4.0-dev on top of that -- any way of restarting the installation using previous configuration settings (ie upgrade not full reinstall) to test?

OK -- system is back up on 2.2.7 -- retrying upgrade to 2.2.8 after g++ installation (was never necessary before?)

Last edited by gavin; 22nd November 2006 at 19:58.
Reply With Quote
  #17  
Old 22nd November 2006, 19:55
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,794
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

Quote:
Originally Posted by Traxus
Negative, GCC is installed.
Are you sure that the cpp and g++ packages which contain the c++ and not only c compiler is installed. You may have gcc installed without the c++ packages. On Debian and ubuntu they are separated.

If these packages where installed on your server, the compilation must have stopped for another reason. You ran the setup as root user and not with sudo or something like that?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #18  
Old 22nd November 2006, 19:57
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,794
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

Quote:
Originally Posted by gavin
Gcc installed here, too -- just installed g++-4.0 libstdc++6-4.0-dev on top of that -- any way of restarting the installation using previous configuration settings (ie upgrade not full reinstall) to test?
Please see my instructions above.

If I remember correctly, GCC is the c compiler only and g++ is the c++ compiler.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #19  
Old 22nd November 2006, 19:59
bwrob bwrob is offline
Member
 
Join Date: Jan 2006
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My
find . -noleaf -name "*g++*"
Shows non
But Ispconfig was compiling fine on earlier versions.
Suse9.3
Reply With Quote
  #20  
Old 22nd November 2006, 20:02
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,794
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
 
Default

Quote:
Originally Posted by bwrob
My
find . -noleaf -name "*g++*"
Shows non
But Ispconfig was compiling fine on earlier versions.
Suse9.3
The problem is not the compilation of ISPConfig, the problem is the compilation of PHP 5.2. It looks like the latest php version needs a c++ compiler too.

Please use yast to find the c++ compiler package for your SuSE version and install it.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS 4.4 - upgrade 2.2.6 -> 2.2.7 wiped ispconfig db jdell Installation/Configuration 2 12th October 2006 11:20
screwed up the upgrade provell Installation/Configuration 7 14th August 2006 14:33
Upgrading failed, ispconfig broken and ispconfig won't upgrade again dfriis Installation/Configuration 7 14th June 2006 18:54
fedor core upgrade rahulgandhi Kernel Questions 1 11th April 2006 16:14
fedor core upgrade rahulgandhi Installation/Configuration 1 10th April 2006 22:51


All times are GMT +2. The time now is 15:49.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.