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 2nd July 2008, 11:56
Akie Akie is offline
Junior Member
 
Join Date: Jul 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Centos 5 ISPConfig Installation Problem

Hello all,

I faced this error while installing ISPConfig on CentOS 5:

./setup2: line888: 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!

I am logged in as root and I updated the zlib files as well.
Anyone can help me, please ?

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 2nd July 2008, 17:37
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,419
Thanks: 834
Thanked 5,498 Times in 4,328 Posts
Default

Please post the first error message from the screen output, not the last one.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 3rd July 2008, 08:56
Akie Akie is offline
Junior Member
 
Join Date: Jul 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Centos 5 ISPConfig Installation Problem

This is what I could get from my screen:

collect2: ld returned 1 exit status
make[2]: *** [freshclam] Error 1
make[2]: Leaving directory `/usr/src/install_ispconfig/compile_aps/clamav-0.93/freshclam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/install_ispconfig/compile_aps/clamav-0.93'
make: *** [all] Error 2
ERROR: Could not make ClamAV
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!

I searched for many solutions in the forum and I tried them but still I am getting this error. Any Help ?
Reply With Quote
  #4  
Old 3rd July 2008, 09:39
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,419
Thanks: 834
Thanked 5,498 Times in 4,328 Posts
Default

One or two lines above "collect2: ld returned 1 exit status" must be the error message, e.g.a missing library or similar.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 3rd July 2008, 10:16
Akie Akie is offline
Junior Member
 
Join Date: Jul 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Centos 5 ISPConfig Installation Problem

I have tried everything, I followed all the documents and I installed all the required packages and files.

I installed some packages that were missing and I went further into the installation process and I thought it will work this time, but it gave the same error at the end.

I am really confused on how to fix this problem.
Reply With Quote
  #6  
Old 3rd July 2008, 10:23
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,419
Thanks: 834
Thanked 5,498 Times in 4,328 Posts
Default

Please post the missing lines as I requested above. Without a detailed error message, we can not help you.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 6th July 2008, 08:29
Akie Akie is offline
Junior Member
 
Join Date: Jul 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Centos 5 ISPConfig Installation Problem

This is the latest error message that I got from the last installation:

/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o freshclam output.o cfgparser.o getopt.o misc.o options.o sha256.o cdiff.o tar.o freshclam.o manager.o notify.o dns.o execute.o nonblock.o mirman.o ../libclamav/libclamav.la -lresolv -lpthread
mkdir .libs
gcc -g -O2 -o .libs/freshclam output.o cfgparser.o getopt.o misc.o options.o sha256.o cdiff.o tar.o freshclam.o manager.o notify.o dns.o execute.o nonblock.o mirman.o ../libclamav/.libs/libclamav.so -lresolv -lpthread -Wl,--rpath -Wl,/home/admispconfig/ispconfig/tools/clamav/lib
cdiff.o: In function `cdiff_apply':
/tmp/install_ispconfig/compile_aps/clamav-0.93/freshclam/../shared/cdiff.c:984: undefined reference to `gzdopen'
/tmp/install_ispconfig/compile_aps/clamav-0.93/freshclam/../shared/cdiff.c:994: undefined reference to `gzgets'
/tmp/install_ispconfig/compile_aps/clamav-0.93/freshclam/../shared/cdiff.c:1016: undefined reference to `gzclose'
/tmp/install_ispconfig/compile_aps/clamav-0.93/freshclam/../shared/cdiff.c:1010: undefined reference to `gzclose'
tar.o: In function `tar_addfile':
/tmp/install_ispconfig/compile_aps/clamav-0.93/freshclam/../shared/tar.c:82: undefined reference to `gzwrite'
/tmp/install_ispconfig/compile_aps/clamav-0.93/freshclam/../shared/tar.c:95: undefined reference to `gzwrite'
/tmp/install_ispconfig/compile_aps/clamav-0.93/freshclam/../shared/tar.c:111: undefined reference to `gzwrite'
manager.o: In function `buildcld':
/tmp/install_ispconfig/compile_aps/clamav-0.93/freshclam/manager.c:932: undefined reference to `gzclose'
/tmp/install_ispconfig/compile_aps/clamav-0.93/freshclam/manager.c:944: undefined reference to `gzclose'
/tmp/install_ispconfig/compile_aps/clamav-0.93/freshclam/manager.c:884: undefined reference to `gzopen'
/tmp/install_ispconfig/compile_aps/clamav-0.93/freshclam/manager.c:913: undefined reference to `gzclose'
collect2: ld returned 1 exit status
make[2]: *** [freshclam] Error 1
make[2]: Leaving directory `/tmp/install_ispconfig/compile_aps/clamav-0.93/freshclam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/install_ispconfig/compile_aps/clamav-0.93'
make: *** [all] Error 2
ERROR: Could not make ClamAV
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!


I hope this helps in solving the problem. Thanks
Reply With Quote
  #8  
Old 6th July 2008, 11:22
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,419
Thanks: 834
Thanked 5,498 Times in 4,328 Posts
Default

Looks as if you dont have the gzip development linraries installed.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 6th July 2008, 11:50
Akie Akie is offline
Junior Member
 
Join Date: Jul 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Centos 5 ISPConfig Installation Problem

How can I install the gzip libraries ?
Reply With Quote
  #10  
Old 7th July 2008, 17:40
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
 
Default

Try
Code:
yum groupinstall 'Development Tools' 
yum groupinstall 'Development Libraries'
__________________
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
Virtual users... Ubuntu 8.04 spaceuser HOWTO-Related Questions 12 19th June 2008 08:04
ISPconfig after installation cannot reach www.xyz.de:81 Figth4Linux Installation/Configuration 23 6th March 2008 22:38
Centos 5 Installation problem (hanging) pesja Installation/Configuration 7 27th June 2007 18:47
ISPConfig 2.3.2-dev released till General 9 4th June 2007 10:46
ISPconfig Virtual Hosts + Perfect setup Problem ? orasis Installation/Configuration 5 16th March 2007 10:46


All times are GMT +2. The time now is 16:56.


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