Centos 5 ISPConfig Installation Problem

Discussion in 'Installation/Configuration' started by Akie, Jul 2, 2008.

  1. Akie

    Akie New Member

    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 :(
     
  2. till

    till Super Moderator

    Please post the first error message from the screen output, not the last one.
     
  3. Akie

    Akie New Member

    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 ?
     
  4. till

    till Super Moderator

    One or two lines above "collect2: ld returned 1 exit status" must be the error message, e.g.a missing library or similar.
     
  5. Akie

    Akie New Member

    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. :(
     
  6. till

    till Super Moderator

    Please post the missing lines as I requested above. Without a detailed error message, we can not help you.
     
  7. Akie

    Akie New Member

    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
     
  8. till

    till Super Moderator

    Looks as if you dont have the gzip development linraries installed.
     
  9. Akie

    Akie New Member

    How can I install the gzip libraries ?
     
  10. falko

    falko Super Moderator

    Try
    Code:
    yum groupinstall 'Development Tools' 
    yum groupinstall 'Development Libraries'
     
  11. Akie

    Akie New Member

    I updated CentOS using yum update and I installed the Development Tools and Libraries, but when I tried to install the ISPConfig it gave a message that it is not supported with the operating system.

    I took an alternative solution and I installed webmin, so my problem is fixed.

    Thanks for the help :)
     
  12. falko

    falko Super Moderator

    I guess you're now using CentOS 5.2 which is supported only by the latest ISPConfig release, 2.2.24, which was released three days ago. So if you want to use ISPConfig, download the latest release.
     

Share This Page