install fails, debian etch 4.0

Discussion in 'Installation/Configuration' started by edo660, Apr 20, 2007.

  1. edo660

    edo660 New Member

    Hi there, been using these how-to's for ages now with great success...until now.

    trying to get ISPconfig working on my friends VPS, using debian etch. i follow the debian etch guide to the T, but when it gets pretty far into the install process it fails with this being the last few lines.

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

    last i tried ispconfig was about a year ago with debian sarge, and it worked perfectly back then so not too sure what the problem is here... any help greatly appreciated.

    Edo
     
  2. falko

    falko Super Moderator ISPConfig Developer

    Did you see nay error message prior to the one you posted?
    From which directory did you try to install ISPConfig?
    What's the output of
    Code:
    df -h
    ?
     
  3. edo660

    edo660 New Member

    there are a few error's relating to not being able to find binaries of spamassin and clamav i think (though its not apparently needed i thought?) . and there is plenty of free disk space, around 5.5gb to be exact. it's a fresh install, with just debian minimal and then followed the usual guide

    installing it from /root/ , should it be somewhere else?

    these are some errors
    Code:
    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
    
     
    Last edited: Apr 21, 2007
  4. edo660

    edo660 New Member

    hmmm i installed it from another users directory, and it has worked...they should really mention something about that in the install doc's (and maybe in the how-to from here itself?)
     
  5. falko

    falko Super Moderator ISPConfig Developer

    You can install ISPConfig from any directory except /root/ispconfig and /home/admispconfig. :)
     
  6. Joffar

    Joffar New Member

    I have the same problem... I tried to upgrade from the same directory as I installed ver 2.2.3 (/root/) and got the php error. I tried again from another dir /ISP/ but with the same result. Here is the error during the install:

    Not sure why it is trying to configure Apache 1.3.37, when Apache2 is installed on the previous version...
    Code:
    Configuring mod_ssl/2.8.28 for Apache/1.3.37
     + Apache location: ../apache_1.3.37 (Version 1.3.37)
     + OpenSSL location: /root/ispconfig/openssl
     + Auxiliary patch tool: ./etc/patch/patch (local)
     + Applying packages to Apache source tree:
       o Extended API (EAPI)
       o Distribution Documents
       o SSL Module Source
       o SSL Support
       o SSL Configuration Additions
       o SSL Module Documentation
       o Addons
    Done: source extension and patches successfully applied.
    
    Configuring for Apache, Version 1.3.37
     + Warning: Your 'echo' command is slightly broken.
     + It interprets escape sequences per default. We already
     + tried 'echo -E' but had no real success. If errors occur
     + please set the SEO variable in 'configure' manually to
     + the required 'echo' options, i.e. those which force your
     + 'echo' to not interpret escape sequences per default.
     + using installation path layout: Apache (config.layout)
    Creating Makefile
    Creating Configuration.apaci in src
    Syntax error --- The configuration file is used only to
    define the list of included modules or to set Makefile in src
    options or Configure rules, and I don't see that at all:
    /root/ispconfig/openssl
    yes
    default
    no
    no
    no
     `$(SRCDIR)/apaci`
    no
    default
    default
    no
    no
    no
    yes
    no
    default
    no
    default
    default
    
    ./configure:Error: APACI failed
    ERROR: Could not configure Apache
    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 862: 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!
    

    Here is the outpu from df -h:
    Code:
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/Root-root
                           25G  4.1G   20G  18% /
    varrun                 78M  148K   78M   1% /var/run
    varlock                78M  4.0K   78M   1% /var/lock
    procbususb             78M  112K   78M   1% /proc/bus/usb
    udev                   78M  112K   78M   1% /dev
    devshm                 78M     0   78M   0% /dev/shm
    lrm                    78M   34M   44M  44% /lib/modules/2.6.20-15-386/volatile
    /dev/mapper/hda5      228M  147M   70M  68% /boot
    /dev/mapper/Root-home
                           18G  199M   17G   2% /home
    /dev/mapper/Root-var  105G  9.2G   90G  10% /var
    
     
    Last edited: Apr 23, 2007
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    You can not install ISPConfig from within the /root/ispconfig directory. Please unpack the installer in /tmp and run it from there.
     
  8. Joffar

    Joffar New Member

    I have tried from several locations /tmp /var/tmp I even created a own /ISP but they all end up with the same error as listed in my previous post.

    Any ideas why this happens?

    I had been using 2.2.3 for some time now, and wanted to upgrade... seems the upgrade didnt go so well. Will I have to redo all the setup (mysql, websites etc.) once I get the complete install to work?

    I am also unable to start apache2 at this point. Something about no pid file i suspect.

    Please help....
     
    Last edited: Apr 23, 2007
  9. edo660

    edo660 New Member

    well thats weird because it failed from /root and /tmp but worked from /home/adminispconfig...
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    A quick note to everyone who reads this thread. Do not install ISPConfig from within the /home/adminispconfig/ directory, you will get most likely errors as ISPConfig overwrites this directory during setup and the setup might be incomplete or files are missing / corrupted.
     
  11. Joffar

    Joffar New Member

    IT still doesnt work for me, since the installation still halts.

    If I remove ISPconfig ... Will it also remove any websites I have stored? What will happen when I reinstall? Will ISPConfig overwrite the existing folders witihn /var/www/ web1, web2 etc Where I have my web sites. Do I have to rebuilt those from scratch, or just adde them in the control panel again?

    Really want to get ISPconfig working again as soon as possiible.

    Thank you in advance.
     
  12. falko

    falko Super Moderator ISPConfig Developer

    The uninstaler asks you if you want to remove all objects created by ISPConfig, or if you want to keep them.

    You cannot add existing web sites to ISPconfig. You'd have to re-create them from scratch.
     
  13. Joffar

    Joffar New Member

    Ok Thanks.

    Finally got it installed, re-read the howto and found a piece needed that must not have been needed on prior ubuntu versions..

    Just in case anyone else should be in the same situation, this is what I hadn't done:

    Code:
    rm -f /bin/sh
    ln -s /bin/bash /bin/sh
     

Share This Page