Upgrade went wrong: ISPConfig gone

Discussion in 'Installation/Configuration' started by djkoelkast, Feb 21, 2008.

  1. djkoelkast

    djkoelkast New Member

    Fortunatly I made a clone before upgrading so nothing is lost but still, I can't upgrade. These errors occur before it stops:

    Code:
    /bin/sh: -c: line 0: unexpected EOF while looking for matching ``'
    /bin/sh: -c: line 1: syntax error: unexpected end of file
    make: *** [sa-compile] Error 2
    ERROR: Could not make SpamAssassin
    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 873: 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!
    
    Anybody any clue?
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Any errors before these lines? And plaese post the output of:

    df -h
     
  3. djkoelkast

    djkoelkast New Member

    Not that I'm aware of.
    I swapped the harddisk again because this is a live server so I can't have it down too long.

    I did upgrade Debian with all possible upgrades through synaptic, maybe that was the cause? Upgraded the kernel, php, mysql and everything automaticly. Everything worked fine then.
     
  4. djkoelkast

    djkoelkast New Member

    I did left something above that:

    Code:
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/Plugin/HTMLEval.pm >blib/lib/Mail/SpamAssassin/Plug            in/HTMLEval.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/Logger.pm >blib/lib/Mail/SpamAssassin/Logger.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/Plugin/Hashcash.pm >blib/lib/Mail/SpamAssassin/Plug            in/Hashcash.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/Plugin.pm >blib/lib/Mail/SpamAssassin/Plugin.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin.pm >blib/lib/Mail/SpamAssassin.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/Locker/Flock.pm >blib/lib/Mail/SpamAssassin/Locker/            Flock.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/BayesStore/SQL.pm >blib/lib/Mail/SpamAssassin/Bayes            Store/SQL.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/Logger/Syslog.pm >blib/lib/Mail/SpamAssassin/Logger            /Syslog.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/Plugin/SPF.pm >blib/lib/Mail/SpamAssassin/Plugin/SP            F.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/Plugin/Shortcircuit.pm >blib/lib/Mail/SpamAssassin/            Plugin/Shortcircuit.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/PerMsgStatus.pm >blib/lib/Mail/SpamAssassin/PerMsgS            tatus.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/Client.pm >blib/lib/Mail/SpamAssassin/Client.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/Plugin/URIDetail.pm >blib/lib/Mail/SpamAssassin/Plu            gin/URIDetail.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/PerMsgLearner.pm >blib/lib/Mail/SpamAssassin/PerMsg            Learner.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/Plugin/WLBLEval.pm >blib/lib/Mail/SpamAssassin/Plug            in/WLBLEval.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/Plugin/AutoLearnThreshold.pm >blib/lib/Mail/SpamAss            assin/Plugin/AutoLearnThreshold.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/SQLBasedAddrList.pm >blib/lib/Mail/SpamAssassin/SQL            BasedAddrList.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/Plugin/TextCat.pm >blib/lib/Mail/SpamAssassin/Plugi            n/TextCat.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/PersistentAddrList.pm >blib/lib/Mail/SpamAssassin/P            ersistentAddrList.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/Locker/UnixNFSSafe.pm >blib/lib/Mail/SpamAssassin/L            ocker/UnixNFSSafe.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/DnsResolver.pm >blib/lib/Mail/SpamAssassin/DnsResol            ver.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/SubProcBackChannel.pm >blib/lib/Mail/SpamAssassin/S            ubProcBackChannel.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/Bayes/CombineChi.pm >blib/lib/Mail/SpamAssassin/Bay            es/CombineChi.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/Locker/Win32.pm >blib/lib/Mail/SpamAssassin/Locker/            Win32.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/Plugin/RelayCountry.pm >blib/lib/Mail/SpamAssassin/            Plugin/RelayCountry.pm
    /usr/bin/perl build/preprocessor -Mconditional -Mvars -DVERSION="3.002004" -DPRE            FIX="/home/admispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home            /admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES            _DIR="/home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DL            OCAL_STATE_DIR="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassa            ssin" <lib/Mail/SpamAssassin/Util/RegistrarBoundaries.pm >blib/lib/Mail/SpamAssa            ssin/Util/RegistrarBoundaries.pm
    /usr/bin/perl build/preprocessor  -Mvars -DVERSION="3.002004" -DPREFIX="/home/ad            mispconfig/ispconfig/tools/spamassassin/usr" -DDEF_RULES_DIR="/home/admispconfig            /ispconfig/tools/spamassassin/usr/share/spamassassin" -DLOCAL_RULES_DIR="/home/a            dmispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin" -DLOCAL_STATE_DI            R="/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassassin" -DINSTA            LLSITELIB="/home/admispconfig/ispconfig/tools/spamassassin/usr/share/perl/5.8.8"             -DCONTACT_ADDRESS="" -Msharpbang -Mconditional -DPERL_BIN="/usr/bin/perl" -DPER            L_WARN="" -DPERL_TAINT="" -m755 -isa-compile.raw -osa-compile
    
     
  5. djkoelkast

    djkoelkast New Member

    Hmm it seems /root was on the /dev/sda1 drive and I couldn't clone that one so it seems like everything is lost?

    Anyway so df -h gives:

    Code:
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda1              16G  2.1G   14G  14% /
    tmpfs                 443M     0  443M   0% /lib/init/rw
    udev                   10M   68K   10M   1% /dev
    tmpfs                 443M     0  443M   0% /dev/shm
    /dev/hdb1              92G  337M   87G   1% /home
    /dev/hdb2             367G   12G  337G   4% /var
    
     
    Last edited: Feb 21, 2008
  6. djkoelkast

    djkoelkast New Member

    I reinstalled and put the old database back, now everything seems fine, anything I have to do or check again?
     

Share This Page