Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #21  
Old 9th September 2008, 22:29
indie1982 indie1982 is offline
Member
 
Join Date: Apr 2008
Posts: 42
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Ok, this means that the problem is not caused by the new ispconfig version, there must have been something changed since the last install of 2.2.23.
Thought it might be!

Quote:
root@lenore:/home/administrator# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 187G 1.7G 176G 1% /
varrun 379M 84K 379M 1% /var/run
varlock 379M 0 379M 0% /var/lock
udev 379M 32K 379M 1% /dev
de 379M 0 379M 0% /dev/shm
Loads of free space left!

The server is Ubuntu Hardy Heron, it was set up at the end of April by following the perfect server guide on here and it's been updated with apt-get dist-upgrade most weeks. It was up to date when I tried to upgrade to 2.2.25.

I've done nothing else to the server since it was set up.

Anything else I can give you to help?

Last edited by indie1982; 9th September 2008 at 22:38.
Reply With Quote
Sponsored Links
  #22  
Old 10th September 2008, 17:29
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
mem_dbg.c:620: internal compiler error: Segmentation fault
Did you change the /bin/sh symlink to /bin/bash?
If that doesn't help, you can try to install another gcc version.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #23  
Old 10th September 2008, 20:28
indie1982 indie1982 is offline
Member
 
Join Date: Apr 2008
Posts: 42
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko View Post
Did you change the /bin/sh symlink to /bin/bash?
If that doesn't help, you can try to install another gcc version.
Yes I changed that the first time I installed Ubuntu on the box, ISPConfig wouldn't have installed in the first place if I hadn't?

I remade the symlink just in case and I still get the same error.

Can someone help me downgrade to a previous version of GCC on Ubuntu?

I did "apt-get remove gcc" then tried "apt-get install gcc-4.1" but I have a feeling that's not the proper way to do it as ./setup said it couldn't find gcc.
Reply With Quote
  #24  
Old 11th September 2008, 10:34
indie1982 indie1982 is offline
Member
 
Join Date: Apr 2008
Posts: 42
Thanks: 4
Thanked 0 Times in 0 Posts
Default

All sorted, I think!

apt-get remove gcc g++

apt-get install gcc-3.4 g++-3.4

ln -s /usr/bin/gcc-3.4 /usr/bin/gcc
ln -s /usr/bin/g++-3.4 /usr/bin/g++

It's compiling as I type and it's gone further than before! Fingers crossed!
Reply With Quote
  #25  
Old 11th September 2008, 10:38
indie1982 indie1982 is offline
Member
 
Join Date: Apr 2008
Posts: 42
Thanks: 4
Thanked 0 Times in 0 Posts
Default

It failed again, however it got much further than before, it did alot of compiling then this:

Quote:
===> src/modules
===> src/modules/standard
make[4]: Nothing to be done for `all'.
<=== src/modules/standard
<=== src/modules
gcc -c -I./os/unix -I./include -DLINUX=22 -DHAVE_SET_DUMPABLE -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED modules.c
gcc -c -I./os/unix -I./include -DLINUX=22 -DHAVE_SET_DUMPABLE -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED buildmark.c
gcc -DLINUX=22 -DHAVE_SET_DUMPABLE -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED \
-o httpd buildmark.o modules.o modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a lib/expat-lite/libexpat.a -lm -lcrypt
gcc: modules/standard/libstandard.a: No such file or directory
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/home/administrator/install_ispconfig/compile_aps/apache_1.3.41/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/administrator/install_ispconfig/compile_aps/apache_1.3.41'
make: *** [build] Error 2
ERROR: Could not make Apache
cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/aps.tar.gz': No such file or directory
mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
mv: cannot stat `binaries/cronolog': No such file or directory
mv: cannot stat `binaries/cronosplit': No such file or directory
mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
mv: cannot stat `binaries/zip': No such file or directory
mv: cannot stat `binaries/unzip': No such file or directory
tar: spamassassin.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `spamassassin': No such file or directory
tar: uudeview.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `uudeview': No such file or directory
tar: clamav.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `clamav': No such file or directory
tar: aps.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
./setup2: line 888: ispconfig_tmp/php/bin/php: No such file or directory
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
Something wrong with the updated PHP that is supplied with 2.2.25?

I'm gonna try reinstalling 2.2.23 now that I've got gcc 3.4 installed!

Last edited by indie1982; 11th September 2008 at 10:51.
Reply With Quote
  #26  
Old 11th September 2008, 11:16
indie1982 indie1982 is offline
Member
 
Join Date: Apr 2008
Posts: 42
Thanks: 4
Thanked 0 Times in 0 Posts
Default

2.2.23 Failed, however it did spend about 30 minutes compiling a load of stuff (it's an old P3).

Seems to be getting closer, but it fails again with the following output.

Quote:
Check for valloc
Check for /usr/local/bin and /usr/local/man
Checking for OS specialties
Check for symbolic links
eval make -f unix/Makefile zips `cat flags`
make[1]: Entering directory `/home/administrator/install_ispconfig/compile_aps/zip-2.3'
cc -c -O2 -I. -DUNIX -DNO_PROTO -DNO_CONST -DNO_TIME_T -DNO_SIZE_T -DNO_RMDIR -DNO_STRCHR -DNO_STRRCHR -DNO_RENAME -DNO_MKTEMP -DNO_MKTIME -DZMEM -DNO_ERRNO -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DNO_VALLOC zip.c
make[1]: cc: Command not found
make[1]: *** [zip.o] Error 127
make[1]: Leaving directory `/home/administrator/install_ispconfig/compile_aps/zip-2.3'
make: *** [generic] Error 2
ERROR: Could not make zip
cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
mv: cannot stat `binaries/aps.tar.gz': No such file or directory
mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
mv: cannot stat `binaries/cronolog': No such file or directory
mv: cannot stat `binaries/cronosplit': No such file or directory
mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
mv: cannot stat `binaries/zip': No such file or directory
mv: cannot stat `binaries/unzip': No such file or directory
tar: spamassassin.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `spamassassin': No such file or directory
tar: uudeview.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `uudeview': No such file or directory
tar: clamav.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
mv: cannot stat `clamav': No such file or directory
tar: aps.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
./setup2: line 888: ispconfig_tmp/php/bin/php: No such file or directory
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
install_ispconfig

Quote:
Thu Sep 11 09:40:22 BST 2008 - [ISPConfig] - installation directory: /home/administrator/install_ispconfig
Thu Sep 11 09:40:22 BST 2008 - [ISPConfig] - operating system: Debian lenny/sid.0
Thu Sep 11 09:40:25 BST 2008 - [ISPConfig] - Upgrade einer existierenden ISPConfig-Installation. / Upgrading an existing ISPConfig installation. / Mise � jour d'une installation d'ISPConfig existante.
Thu Sep 11 09:40:25 BST 2008 - [ISPConfig] - ISPConfig server stopped
Thu Sep 11 09:40:42 BST 2008 - [ISPConfig] - selected language: en
Thu Sep 11 09:40:44 BST 2008 - [ISPConfig] - licence accepted
Thu Sep 11 09:40:44 BST 2008 - [ISPConfig] - httpd syntax ok!
Thu Sep 11 09:40:44 BST 2008 - [ISPConfig] - gcc found: /usr/bin/gcc
Thu Sep 11 09:40:44 BST 2008 - [ISPConfig] - make found: /usr/bin/make
Thu Sep 11 09:40:44 BST 2008 - [ISPConfig] - flex found: /usr/bin/lex
Thu Sep 11 09:40:44 BST 2008 - [ISPConfig] - g++ found: /usr/bin/g++
Thu Sep 11 09:40:48 BST 2008 - [ISPConfig] - Directory /var/www/sharedip created.
Thu Sep 11 09:40:48 BST 2008 - [ISPConfig] - Use sharedip_index.html_en as SharedIP default page.
Thu Sep 11 09:40:48 BST 2008 - [ISPConfig] - saved /home/admispconfig/ispconfig/lib/config.inc.php
Thu Sep 11 09:40:48 BST 2008 - [ISPConfig] - saved /home/admispconfig/ispconfig/users
Thu Sep 11 09:40:48 BST 2008 - [ISPConfig] - saved /home/admispconfig/ispconfig/adminmail.txt
Thu Sep 11 09:40:48 BST 2008 - [ISPConfig] - created backup of directory /root/ispconfig/
Thu Sep 11 09:41:11 BST 2008 - [ISPConfig] - created backup of directory /home/admispconfig/
Thu Sep 11 09:41:11 BST 2008 - [ISPConfig] - deleted directory /root/ispconfig/
Thu Sep 11 10:11:52 BST 2008 - [ISPConfig] - WARNING: could not unpack ISPConfig system
Thu Sep 11 10:11:59 BST 2008 - [ISPConfig] - ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!
Reply With Quote
  #27  
Old 11th September 2008, 11:21
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,488
Thanks: 813
Thanked 5,258 Times in 4,122 Posts
Default

Please post the output of:

which cc
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #28  
Old 11th September 2008, 11:37
indie1982 indie1982 is offline
Member
 
Join Date: Apr 2008
Posts: 42
Thanks: 4
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till View Post
Please post the output of:

which cc
Quote:
root@lenore:/home/administrator# which cc
root@lenore:/home/administrator#
Does that mean something isn't installed that needs to be?
Reply With Quote
  #29  
Old 11th September 2008, 11:42
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,488
Thanks: 813
Thanked 5,258 Times in 4,122 Posts
Default

Yes, the cc compiler is not installed or not found. Please check if you have the file:

/usr/bin/cc-3.4

if thats the case, run this command to make a symlink:

ln -s /usr/bin/cc-3.4 /usr/bin/cc
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #30  
Old 11th September 2008, 11:57
indie1982 indie1982 is offline
Member
 
Join Date: Apr 2008
Posts: 42
Thanks: 4
Thanked 0 Times in 0 Posts
 
Default

There is no /usr/bin/cc-3.4

Is cc not gcc on Ubuntu?

Should I be doing:

Quote:
ln -s /usr/bin/gcc-3.4 /usr/bin/cc
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
ISPConfig 3.0.0.6 Beta released till General 38 21st September 2008 19:15
phpMyAdmin 2.11.8 package released for ISPConfig 2 Hans General 2 29th July 2008 07:23
ISPConfig 2.3.3-dev released till General 10 12th March 2008 21:08
ISPConfig 2.2.20 released till General 31 13th February 2008 16:17
fastcgi and php with ispconfig tosser Tips/Tricks/Mods 3 25th June 2006 21:01


All times are GMT +2. The time now is 13:35.


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