Update Failed - need help URGENT! PLEASE

Discussion in 'Installation/Configuration' started by shuvuu, Apr 18, 2008.

  1. shuvuu

    shuvuu New Member

    Last time I updated ISPConfig about 3 4 months ago.
    Now I tried to upgrade latest version (2.2.23) and it FAILED with error ClamAV....

    /root/adminispconfig - is gone.

    I backed up : mysql databases, /etc/bind , /etc/apache/ - config files vhosts, /etc/postfix and /etc/mail. what else I need to back up ?

    How can I fix it? need to install fresh ispconfig ? and how can I recover the sites, users? please help me!

    --------------------

    OS : Debian 4.0
    Apache version : 2.0
    Mysql version : 5
     
    Last edited: Apr 18, 2008
  2. shuvuu

    shuvuu New Member

    I tried to install fresh installation. But it gives error :

    Code:
    collect2: ld returned 1 exit status
    make[2]: *** [freshclam] Error 1
    make[2]: Leaving directory `/home/install_ispconfig/compile_aps/clamav-0.93/freshclam'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/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!
    
    please, help to fix it
     
  3. falko

    falko Super Moderator ISPConfig Developer

    I need the full error output. There must have been errors before the first line you posted...

    Anyway, there are backups of your old installation in /tmp (a backup for /root/ispconfig, one for /home/admispconfig, and an SQL dump of the ISPConfig database. You can restore your old installation from these.
     
  4. shuvuu

    shuvuu New Member

    Code:
    .o hashtab.o dconf.o lzma_iface.o explode.o textnorm.o  .libs/libclamav.lax/liblzma.a/LzmaStateDecode.o
    ranlib .libs/libclamav.a
    rm -fr .libs/libclamav.lax
    creating libclamav.la
    (cd .libs && rm -f libclamav.la && ln -s ../libclamav.la libclamav.la)
    /bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I./nsis -I./lzma -I/usr/local/include -DCLI_MEMFUNSONLY -g -O2 -MT libclamav_internal_utils_la-str.lo -MD -MP -MF .deps/libclamav_internal_utils_la-str.Tpo -c -o libclamav_internal_utils_la-str.lo `test -f 'str.c' || echo './'`str.c
     gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma -I/usr/local/include -DCLI_MEMFUNSONLY -g -O2 -MT libclamav_internal_utils_la-str.lo -MD -MP -MF .deps/libclamav_internal_utils_la-str.Tpo -c str.c  -fPIC -DPIC -o .libs/libclamav_internal_utils_la-str.o
     gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma -I/usr/local/include -DCLI_MEMFUNSONLY -g -O2 -MT libclamav_internal_utils_la-str.lo -MD -MP -MF .deps/libclamav_internal_utils_la-str.Tpo -c str.c -o libclamav_internal_utils_la-str.o >/dev/null 2>&1
    mv -f .deps/libclamav_internal_utils_la-str.Tpo .deps/libclamav_internal_utils_la-str.Plo
    /bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I./nsis -I./lzma -I/usr/local/include -DCLI_MEMFUNSONLY -g -O2 -MT libclamav_internal_utils_la-others.lo -MD -MP -MF .deps/libclamav_internal_utils_la-others.Tpo -c -o libclamav_internal_utils_la-others.lo `test -f 'others.c' || echo './'`others.c
     gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma -I/usr/local/include -DCLI_MEMFUNSONLY -g -O2 -MT libclamav_internal_utils_la-others.lo -MD -MP -MF .deps/libclamav_internal_utils_la-others.Tpo -c others.c  -fPIC -DPIC -o .libs/libclamav_internal_utils_la-others.o
     gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I./nsis -I./lzma -I/usr/local/include -DCLI_MEMFUNSONLY -g -O2 -MT libclamav_internal_utils_la-others.lo -MD -MP -MF .deps/libclamav_internal_utils_la-others.Tpo -c others.c -o libclamav_internal_utils_la-others.o >/dev/null 2>&1
    mv -f .deps/libclamav_internal_utils_la-others.Tpo .deps/libclamav_internal_utils_la-others.Plo
    /bin/sh ../libtool --tag=CC   --mode=link gcc -DCLI_MEMFUNSONLY -g -O2 -static  -o libclamav_internal_utils.la  libclamav_internal_utils_la-str.lo libclamav_internal_utils_la-others.lo
    ar cru .libs/libclamav_internal_utils.a  libclamav_internal_utils_la-str.o libclamav_internal_utils_la-others.o
    ranlib .libs/libclamav_internal_utils.a
    creating libclamav_internal_utils.la
    (cd .libs && rm -f libclamav_internal_utils.la && ln -s ../libclamav_internal_utils.la libclamav_internal_utils.la)
    make[3]: Leaving directory `/root/install_ispconfig/compile_aps/clamav-0.93/libclamav'
    make[2]: Leaving directory `/root/install_ispconfig/compile_aps/clamav-0.93/libclamav'
    Making all in clamscan
    make[2]: Entering directory `/root/install_ispconfig/compile_aps/clamav-0.93/clamscan'
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT output.o -MD -MP -MF .deps/output.Tpo -c -o output.o `test -f '../shared/output.c' || echo './'`../shared/output.c
    mv -f .deps/output.Tpo .deps/output.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o `test -f '../shared/getopt.c' || echo './'`../shared/getopt.c
    mv -f .deps/getopt.Tpo .deps/getopt.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT cfgparser.o -MD -MP -MF .deps/cfgparser.Tpo -c -o cfgparser.o `test -f '../shared/cfgparser.c' || echo './'`../shared/cfgparser.c
    mv -f .deps/cfgparser.Tpo .deps/cfgparser.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT misc.o -MD -MP -MF .deps/misc.Tpo -c -o misc.o `test -f '../shared/misc.c' || echo './'`../shared/misc.c
    mv -f .deps/misc.Tpo .deps/misc.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT options.o -MD -MP -MF .deps/options.Tpo -c -o options.o `test -f '../shared/options.c' || echo './'`../shared/options.c
    mv -f .deps/options.Tpo .deps/options.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT clamscan.o -MD -MP -MF .deps/clamscan.Tpo -c -o clamscan.o clamscan.c
    mv -f .deps/clamscan.Tpo .deps/clamscan.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT others.o -MD -MP -MF .deps/others.Tpo -c -o others.o others.c
    mv -f .deps/others.Tpo .deps/others.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT manager.o -MD -MP -MF .deps/manager.Tpo -c -o manager.o manager.c
    manager.c: In function 'clamav_unpack':
    manager.c:483: warning: passing argument 2 of 'execv' from incompatible pointer type
    manager.c:485: warning: passing argument 2 of 'execvp' from incompatible pointer type
    mv -f .deps/manager.Tpo .deps/manager.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT treewalk.o -MD -MP -MF .deps/treewalk.Tpo -c -o treewalk.o treewalk.c
    mv -f .deps/treewalk.Tpo .deps/treewalk.Po
    /bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2   -o clamscan output.o getopt.o cfgparser.o misc.o options.o clamscan.o others.o manager.o treewalk.o  ../libclamav/libclamav.la -lpthread
    mkdir .libs
    gcc -g -O2 -o .libs/clamscan output.o getopt.o cfgparser.o misc.o options.o clamscan.o others.o manager.o treewalk.o  ../libclamav/.libs/libclamav.so -lpthread  -Wl,--rpath -Wl,/home/admispconfig/ispconfig/tools/clamav/lib
    creating clamscan
    make[2]: Leaving directory `/root/install_ispconfig/compile_aps/clamav-0.93/clamscan'
    Making all in clamd
    make[2]: Entering directory `/root/install_ispconfig/compile_aps/clamav-0.93/clamd'
    gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT output.o -MD -MP -MF .deps/output.Tpo -c -o output.o `test -f '../shared/output.c' || echo './'`../shared/output.c
    mv -f .deps/output.Tpo .deps/output.Po
    gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT cfgparser.o -MD -MP -MF .deps/cfgparser.Tpo -c -o cfgparser.o `test -f '../shared/cfgparser.c' || echo './'`../shared/cfgparser.c
    mv -f .deps/cfgparser.Tpo .deps/cfgparser.Po
    gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o `test -f '../shared/getopt.c' || echo './'`../shared/getopt.c
    mv -f .deps/getopt.Tpo .deps/getopt.Po
    gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT misc.o -MD -MP -MF .deps/misc.Tpo -c -o misc.o `test -f '../shared/misc.c' || echo './'`../shared/misc.c
    mv -f .deps/misc.Tpo .deps/misc.Po
    gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT network.o -MD -MP -MF .deps/network.Tpo -c -o network.o `test -f '../shared/network.c' || echo './'`../shared/network.c
    mv -f .deps/network.Tpo .deps/network.Po
    gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT options.o -MD -MP -MF .deps/options.Tpo -c -o options.o `test -f '../shared/options.c' || echo './'`../shared/options.c
    mv -f .deps/options.Tpo .deps/options.Po
    gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT clamd.o -MD -MP -MF .deps/clamd.Tpo -c -o clamd.o clamd.c
    mv -f .deps/clamd.Tpo .deps/clamd.Po
    gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT tcpserver.o -MD -MP -MF .deps/tcpserver.Tpo -c -o tcpserver.o tcpserver.c
    mv -f .deps/tcpserver.Tpo .deps/tcpserver.Po
    gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT localserver.o -MD -MP -MF .deps/localserver.Tpo -c -o localserver.o localserver.c
    mv -f .deps/localserver.Tpo .deps/localserver.Po
    gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT session.o -MD -MP -MF .deps/session.Tpo -c -o session.o session.c
    mv -f .deps/session.Tpo .deps/session.Po
    gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT thrmgr.o -MD -MP -MF .deps/thrmgr.Tpo -c -o thrmgr.o thrmgr.c
    mv -f .deps/thrmgr.Tpo .deps/thrmgr.Po
    gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT server-th.o -MD -MP -MF .deps/server-th.Tpo -c -o server-th.o server-th.c
    mv -f .deps/server-th.Tpo .deps/server-th.Po
    gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT scanner.o -MD -MP -MF .deps/scanner.Tpo -c -o scanner.o scanner.c
    mv -f .deps/scanner.Tpo .deps/scanner.Po
    gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT others.o -MD -MP -MF .deps/others.Tpo -c -o others.o others.c
    mv -f .deps/others.Tpo .deps/others.Po
    gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT clamuko.o -MD -MP -MF .deps/clamuko.Tpo -c -o clamuko.o clamuko.c
    mv -f .deps/clamuko.Tpo .deps/clamuko.Po
    gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT dazukoio_compat12.o -MD -MP -MF .deps/dazukoio_compat12.Tpo -c -o dazukoio_compat12.o dazukoio_compat12.c
    mv -f .deps/dazukoio_compat12.Tpo .deps/dazukoio_compat12.Po
    gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT dazukoio.o -MD -MP -MF .deps/dazukoio.Tpo -c -o dazukoio.o dazukoio.c
    mv -f .deps/dazukoio.Tpo .deps/dazukoio.Po
    /bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2   -o clamd output.o cfgparser.o getopt.o misc.o network.o options.o clamd.o tcpserver.o localserver.o session.o thrmgr.o server-th.o scanner.o others.o clamuko.o dazukoio_compat12.o dazukoio.o  ../libclamav/libclamav.la  -lpthread
    mkdir .libs
    gcc -g -O2 -o .libs/clamd output.o cfgparser.o getopt.o misc.o network.o options.o clamd.o tcpserver.o localserver.o session.o thrmgr.o server-th.o scanner.o others.o clamuko.o dazukoio_compat12.o dazukoio.o  ../libclamav/.libs/libclamav.so -lpthread  -Wl,--rpath -Wl,/home/admispconfig/ispconfig/tools/clamav/lib
    creating clamd
    make[2]: Leaving directory `/root/install_ispconfig/compile_aps/clamav-0.93/clamd'
    Making all in clamdscan
    make[2]: Entering directory `/root/install_ispconfig/compile_aps/clamav-0.93/clamdscan'
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -DCL_NOLIBCLAMAV -I. -I..  -I.. -I../clamscan -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT output.o -MD -MP -MF .deps/output.Tpo -c -o output.o `test -f '../shared/output.c' || echo './'`../shared/output.c
    mv -f .deps/output.Tpo .deps/output.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -DCL_NOLIBCLAMAV -I. -I..  -I.. -I../clamscan -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT cfgparser.o -MD -MP -MF .deps/cfgparser.Tpo -c -o cfgparser.o `test -f '../shared/cfgparser.c' || echo './'`../shared/cfgparser.c
    mv -f .deps/cfgparser.Tpo .deps/cfgparser.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -DCL_NOLIBCLAMAV -I. -I..  -I.. -I../clamscan -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT misc.o -MD -MP -MF .deps/misc.Tpo -c -o misc.o `test -f '../shared/misc.c' || echo './'`../shared/misc.c
    mv -f .deps/misc.Tpo .deps/misc.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -DCL_NOLIBCLAMAV -I. -I..  -I.. -I../clamscan -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o `test -f '../shared/getopt.c' || echo './'`../shared/getopt.c
    mv -f .deps/getopt.Tpo .deps/getopt.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -DCL_NOLIBCLAMAV -I. -I..  -I.. -I../clamscan -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT options.o -MD -MP -MF .deps/options.Tpo -c -o options.o `test -f '../shared/options.c' || echo './'`../shared/options.c
    mv -f .deps/options.Tpo .deps/options.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -DCL_NOLIBCLAMAV -I. -I..  -I.. -I../clamscan -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT clamdscan.o -MD -MP -MF .deps/clamdscan.Tpo -c -o clamdscan.o clamdscan.c
    mv -f .deps/clamdscan.Tpo .deps/clamdscan.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -DCL_NOLIBCLAMAV -I. -I..  -I.. -I../clamscan -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT client.o -MD -MP -MF .deps/client.Tpo -c -o client.o client.c
    mv -f .deps/client.Tpo .deps/client.Po
    /bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2   -o clamdscan output.o cfgparser.o misc.o getopt.o options.o clamdscan.o client.o  ../libclamav/libclamav_internal_utils.la  -lresolv
    mkdir .libs
    gcc -g -O2 -o clamdscan output.o cfgparser.o misc.o getopt.o options.o clamdscan.o client.o  ../libclamav/.libs/libclamav_internal_utils.a -lresolv
    make[2]: Leaving directory `/root/install_ispconfig/compile_aps/clamav-0.93/clamdscan'
    Making all in freshclam
    make[2]: Entering directory `/root/install_ispconfig/compile_aps/clamav-0.93/freshclam'
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT output.o -MD -MP -MF .deps/output.Tpo -c -o output.o `test -f '../shared/output.c' || echo './'`../shared/output.c
    mv -f .deps/output.Tpo .deps/output.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT cfgparser.o -MD -MP -MF .deps/cfgparser.Tpo -c -o cfgparser.o `test -f '../shared/cfgparser.c' || echo './'`../shared/cfgparser.c
    mv -f .deps/cfgparser.Tpo .deps/cfgparser.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o `test -f '../shared/getopt.c' || echo './'`../shared/getopt.c
    mv -f .deps/getopt.Tpo .deps/getopt.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT misc.o -MD -MP -MF .deps/misc.Tpo -c -o misc.o `test -f '../shared/misc.c' || echo './'`../shared/misc.c
    mv -f .deps/misc.Tpo .deps/misc.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT options.o -MD -MP -MF .deps/options.Tpo -c -o options.o `test -f '../shared/options.c' || echo './'`../shared/options.c
    mv -f .deps/options.Tpo .deps/options.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT sha256.o -MD -MP -MF .deps/sha256.Tpo -c -o sha256.o `test -f '../shared/sha256.c' || echo './'`../shared/sha256.c
    mv -f .deps/sha256.Tpo .deps/sha256.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT cdiff.o -MD -MP -MF .deps/cdiff.Tpo -c -o cdiff.o `test -f '../shared/cdiff.c' || echo './'`../shared/cdiff.c
    mv -f .deps/cdiff.Tpo .deps/cdiff.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT tar.o -MD -MP -MF .deps/tar.Tpo -c -o tar.o `test -f '../shared/tar.c' || echo './'`../shared/tar.c
    mv -f .deps/tar.Tpo .deps/tar.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT freshclam.o -MD -MP -MF .deps/freshclam.Tpo -c -o freshclam.o freshclam.c
    mv -f .deps/freshclam.Tpo .deps/freshclam.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT manager.o -MD -MP -MF .deps/manager.Tpo -c -o manager.o manager.c
    mv -f .deps/manager.Tpo .deps/manager.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT notify.o -MD -MP -MF .deps/notify.Tpo -c -o notify.o notify.c
    mv -f .deps/notify.Tpo .deps/notify.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT dns.o -MD -MP -MF .deps/dns.Tpo -c -o dns.o dns.c
    mv -f .deps/dns.Tpo .deps/dns.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT execute.o -MD -MP -MF .deps/execute.Tpo -c -o execute.o execute.c
    mv -f .deps/execute.Tpo .deps/execute.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT nonblock.o -MD -MP -MF .deps/nonblock.Tpo -c -o nonblock.o nonblock.c
    mv -f .deps/nonblock.Tpo .deps/nonblock.Po
    gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I..  -I.. -I../shared -I../libclamav -I/usr/local/include  -g -O2 -MT mirman.o -MD -MP -MF .deps/mirman.Tpo -c -o mirman.o mirman.c
    mv -f .deps/mirman.Tpo .deps/mirman.Po
    /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':
    ../shared/cdiff.c:984: undefined reference to `gzdopen'
    ../shared/cdiff.c:994: undefined reference to `gzgets'
    ../shared/cdiff.c:1016: undefined reference to `gzclose'
    ../shared/cdiff.c:1010: undefined reference to `gzclose'
    tar.o: In function `tar_addfile':
    ../shared/tar.c:82: undefined reference to `gzwrite'
    ../shared/tar.c:95: undefined reference to `gzwrite'
    ../shared/tar.c:111: undefined reference to `gzwrite'
    manager.o: In function `buildcld':
    /root/install_ispconfig/compile_aps/clamav-0.93/freshclam/manager.c:932: undefined reference to `gzclose'
    /root/install_ispconfig/compile_aps/clamav-0.93/freshclam/manager.c:944: undefined reference to `gzclose'
    /root/install_ispconfig/compile_aps/clamav-0.93/freshclam/manager.c:884: undefined reference to `gzopen'
    /root/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 `/root/install_ispconfig/compile_aps/clamav-0.93/freshclam'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/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!
    
    it gives above error again. no back up in /tmp ...

    please help me,
     
  5. jnsc

    jnsc rotaredoM Moderator

    I once had a similar error while compiling clamav manually. I had to execute ldconfig between make and make install.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Before you try to run the ispconfig setup script again, you always have to run:

    mkdir /root/ispconfig

    otherwise your configuration data will get lost.
     
  7. shuvuu

    shuvuu New Member

    I installed 2.2.22 version successfully. Afraid to try again. maybe something wrong in 2.2.23 version .. or .. ?
     
  8. jc.considine

    jc.considine New Member

    I have just installed 2.2.23 onto an opensuse 10.3 server, and had what I think was the same problem. I found additional references to the issue for users installing or upgrading clamav ( http://www.gossamer-threads.com/lists/clamav/users/37740 )

    Here's what I did:
    Code:
    cd /usr/local/lib
    ln -s /usr/lib/libz.so libz.so  
    After that ISPConfig installed successfully.
     

Share This Page