
2nd July 2008, 11:56
|
|
Junior Member
|
|
Join Date: Jul 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

2nd July 2008, 17:37
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,883
Thanks: 691
Thanked 4,187 Times in 3,204 Posts
|
|
Please post the first error message from the screen output, not the last one.
|

3rd July 2008, 08:56
|
|
Junior Member
|
|
Join Date: Jul 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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 ?
|

3rd July 2008, 09:39
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,883
Thanks: 691
Thanked 4,187 Times in 3,204 Posts
|
|
One or two lines above "collect2: ld returned 1 exit status" must be the error message, e.g.a missing library or similar.
|

3rd July 2008, 10:16
|
|
Junior Member
|
|
Join Date: Jul 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

3rd July 2008, 10:23
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,883
Thanks: 691
Thanked 4,187 Times in 3,204 Posts
|
|
Please post the missing lines as I requested above. Without a detailed error message, we can not help you.
|

6th July 2008, 08:29
|
|
Junior Member
|
|
Join Date: Jul 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

6th July 2008, 11:22
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,883
Thanks: 691
Thanked 4,187 Times in 3,204 Posts
|
|
Looks as if you dont have the gzip development linraries installed.
|

6th July 2008, 11:50
|
|
Junior Member
|
|
Join Date: Jul 2008
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Centos 5 ISPConfig Installation Problem
How can I install the gzip libraries ?
|

7th July 2008, 17:40
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Try
Code:
yum groupinstall 'Development Tools'
yum groupinstall 'Development Libraries'
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 18:44.
|
|
Recent comments
2 days 9 hours ago
2 days 18 hours ago
2 days 21 hours ago
2 days 22 hours ago
3 days 16 sec ago
3 days 1 hour ago
3 days 3 hours ago
3 days 4 hours ago
3 days 20 hours ago
3 days 21 hours ago