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
  #1  
Old 17th June 2008, 17:17
dtech dtech is offline
Junior Member
 
Join Date: Jun 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default Installation fails on Ubuntu 8.04 LTS

Hello,
I've followed the exact howtoforge perfect-server configuration for my ubuntu 8.04 server installation, but the installation of ispconfig fails.
Don't know if it matters, but the system it is a VPS under xen.
I've installed gcc 3.4 as recommended in this thread, but that didn't do anything.
I get the following errors:
Code:
gcc -DMONOLITH -I.. -I../include  -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DH                                              AVE_DLFCN_H -DOPENSSL_NO_KRB5 -m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=in                                              t   -c -o s_server.o s_server.c
/tmp/ccEOrYwF.s: Assembler messages:
/tmp/ccEOrYwF.s:435: Error: Incorrect register `%rax' used with `l' suffix
/tmp/ccEOrYwF.s:443: Error: Incorrect register `%rbx' used with `l' suffix
/tmp/ccEOrYwF.s:463: Error: Incorrect register `%rdx' used with `l' suffix
/tmp/ccEOrYwF.s:464: Error: Incorrect register `%rbx' used with `l' suffix
make[1]: *** [s_server.o] Error 1
make[1]: Leaving directory `/root/install_ispconfig/compile_aps/openssl-0.9.7m/a                                              pps'
make: *** [sub_all] Error 1
ERROR: Could not make OpenSSL
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 syste                                              m! The installation routine stops here!
Can anyone help me?
Reply With Quote
Sponsored Links
  #2  
Old 17th June 2008, 18:23
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,483
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

You are running a 64Bit kernel on a 32Bit Userland or the other way round. Please make sure that the architecture for kernel and userland are identical.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 17th June 2008, 19:55
dtech dtech is offline
Junior Member
 
Join Date: Jun 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't know exactly what that means, but from what I make up from wikipedia is that the userland is the environment where software is in and the kernel is "the OS".
Afaik both are x86_64. I just installed everything with apt-get so I don't think anything 64-bit is installed. As far as I can see (I don't have access to the host OS) both the OS host and the guest are x86_64 too.
How exactly can I check which userland is used and what do I have to do to correct it?
Reply With Quote
  #4  
Old 17th June 2008, 20:11
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,483
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Please post the output of:

uname -a

and the content of the file:

/etc/apt/sources.list
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 17th June 2008, 20:20
dtech dtech is offline
Junior Member
 
Join Date: Jun 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

uname -a:
Code:
Linux _hostname_ 2.6.22-14-xen #1 SMP Sun Oct 14 23:20:20 GMT 2007 x86_64 GNU/Linux
/etc/apt/sources.list:
Code:
deb     http://ubuntu.apt-get.eu/ubuntu     gutsy main restricted universe mu$
deb-src http://ubuntu.apt-get.eu/ubuntu     gutsy main restricted universe
deb     http://ubuntu.apt-get.eu/ubuntu     gutsy-updates main restricted uni$
deb-src http://ubuntu.apt-get.eu/ubuntu     gutsy-updates main restricted uni$
deb http://security.ubuntu.com/ubuntu gutsy-security main restricted universe
deb-src http://security.ubuntu.com/ubuntu gutsy-security main restricted univ$
I see now too that "gutsy" (7.10) seems to be selected instead of "hoardy" (8.01). This is very strange since it is a standard image from my host. It might be there is an error in their image, especially since 8.01 has only been available very shortly.
Might this be fixed by placing the good repository's, apt-get update and apt-get upgrade?
Reply With Quote
  #6  
Old 18th June 2008, 16:25
dtech dtech is offline
Junior Member
 
Join Date: Jun 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've gotten a fresh image and changed the apt configuration from the start.
Code:
make[1]: Leaving directory `/root/install_ispconfig/compile_aps/openssl-0.9.7m/test'
making links in tools...
make[1]: Entering directory `/root/install_ispconfig/compile_aps/openssl-0.9.7m/tools'
make[1]: Nothing to be done for `links'.
make[1]: Leaving directory `/root/install_ispconfig/compile_aps/openssl-0.9.7m/tools'
generating dummy tests (if needed)...
make[1]: Entering directory `/root/install_ispconfig/compile_aps/openssl-0.9.7m/test'
make[1]: Nothing to be done for `generate'.
make[1]: Leaving directory `/root/install_ispconfig/compile_aps/openssl-0.9.7m/test'

Configured for linux-x86_64.
making all in crypto...
make[1]: Entering directory `/root/install_ispconfig/compile_aps/openssl-0.9.7m/crypto'
( echo "#ifndef MK1MF_BUILD"; \
        echo '  /* auto-generated by crypto/Makefile for crypto/cversion.c */'; \
        echo '  #define CFLAGS "gcc -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int"'; \
        echo '  #define PLATFORM "linux-x86_64"'; \
        echo "  #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
        echo '#endif' ) >buildinf.h
gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int   -c -o cryptlib.o cryptlib.c
In file included from /usr/include/features.h:354,
                 from /usr/include/stdio.h:28,
                 from cryptlib.c:59:
/usr/include/gnu/stubs.h:9:27: error: gnu/stubs-64.h: No such file or directory
cryptlib.c: In function 'CRYPTO_get_new_dynlockid':
cryptlib.c:221: warning: value computed is not used
cryptlib.c: In function 'CRYPTO_destroy_dynlockid':
cryptlib.c:263: warning: value computed is not used
make[1]: *** [cryptlib.o] Error 1
make[1]: Leaving directory `/root/install_ispconfig/compile_aps/openssl-0.9.7m/crypto'
make: *** [sub_all] Error 1
ERROR: Could not make OpenSSL
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!
Do I have such a strange installation?

Last edited by dtech; 18th June 2008 at 16:29. Reason: gcc 3.4 not installed
Reply With Quote
  #7  
Old 18th June 2008, 17:10
dtech dtech is offline
Junior Member
 
Join Date: Jun 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm a little bit further. But I still get an error. Here's what I did:
Code:
# Remove gcc 4.2
apt-get remove gcc g++

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

# Make symbolic links
ln -s /usr/bin/gcc-3.4 /usr/bin/gcc
ln -s /usr/bin/g++-3.4 /usr/bin/g++

# Install AMD64 libraries
apt-get install libc-amd64 libc6-dev-amd64
It seemed to go on a bit longer, but I get the following error now:
Code:
gcc -DMONOLITH -I.. -I../include  -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int   -c -o openssl.o openssl.c
rm -f openssl
+ gcc -o openssl -DMONOLITH -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int openssl.o verify.o asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o x509.o genrsa.o gendsa.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o smime.o rand.o engine.o ocsp.o prime.o ../libssl.a ../libcrypto.a -ldl
/usr/bin/ld: cannot find -lgcc_s_64
collect2: ld returned 1 exit status
make[1]: *** [openssl] Error 1
make[1]: Leaving directory `/root/install_ispconfig/compile_aps/openssl-0.9.7m/apps'
make: *** [sub_all] Error 1
ERROR: Could not make OpenSSL
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!
Reply With Quote
  #8  
Old 18th June 2008, 18:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Can you search for gcc_s_64 using apt-file?
http://www.howtoforge.com/apt_file_debian_ubuntu
__________________
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
  #9  
Old 18th June 2008, 20:19
dtech dtech is offline
Junior Member
 
Join Date: Jun 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Doesn't work either.
Code:
root@host:~# apt-file update
Can't get http://ubuntu.apt-get.eu/ubuntu/dists/hardy-updates/Contents-i386.gz
Can't get http://security.ubuntu.apt-get.eu/ubuntu/dists/hardy-security/Contents-i386.gz
http://archive.ubuntu.com/ubuntu/dists/hardy-updates/ neither has the file, so it's not a apt-get.eu problem.
Reply With Quote
  #10  
Old 19th June 2008, 16:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

What'S in /etc/apt/sources.list, and what's the output of
Code:
uname -a
?

What does
Code:
dig ubuntu.apt-get.eu
show?
__________________
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
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
ubuntu 8.04 server installation of ispconfig fails DocProc Installation/Configuration 27 5th June 2008 21:23
On Ubuntu 8.04 LTS Server Setup chrisathowtoforge Technical 4 2nd June 2008 18:20
The Perfect Server - Ubuntu Hardy Heron (Ubuntu 8.04 LTS Server) - Page4-DNS Server Linocks Installation/Configuration 3 13th May 2008 12:24
Xen installation issues w/ Ubuntu 8.04 LTS server pabb HOWTO-Related Questions 1 9th May 2008 15:11
Installation fails on Ubuntu 6.06 Jcorrea920 Installation/Configuration 2 23rd April 2007 20:14


All times are GMT +2. The time now is 14:53.


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