How to install in OpenVz

Discussion in 'Installation/Configuration' started by tecnico001, Feb 27, 2007.

  1. tecnico001

    tecnico001 New Member

    I tried to install Ispconfig in FC5 - openvz (VPS), I did all indications of the manual installation on perfect setup FC5 but this is the error:

    ########## MAIL SERVER ##########

    Checking for MTA...
    ./setup2: line 427: which: command not found
    ./setup2: line 427: which: command not found
    ERROR: Your system configuration is not compatible with ISPConfig! The installation routine stops here!


    If can you to install Ispconfig in any OS on openvz?

    ...please indicate me what is the procedure?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    ISPConfig runs fine in OpenVZ, the installation procedure is the same as usual, just follow the perfect setup guide for FC5. The problem above is not caused by the fact that you are in a OpenVZ virtual machine.
     
  3. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    updatedb
    locate which 
    and
    Code:
    echo $PATH
    ?
    Is SELinux disabled?
     
  4. tecnico001

    tecnico001 New Member

    All OK

    "wich" wasn't installed.

    Now my problem is with mail , but I going to open a new post.


    Thanks you very much...
     
  5. sapph

    sapph New Member

    I got the same error as the OP. My output from locate which is:

    /usr/bin/sgmlwhich
    /usr/lib/python2.4/whichdb.py
    /usr/lib/python2.4/whichdb.pyc
    /usr/lib/python2.4/whichdb.pyo
    /usr/share/doc/bash-3.1/functions/which

    My output from echo $PATH is:

    /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin


    Any ideas?
     
  6. sapph

    sapph New Member

    Okay, I did a yum install which (even though I followed the perfect setup for my OS), and that seems to work. Now it is choking on proftpd, which I KNOW I installed. a locate proftpd gives the following (emphasis mine)

    # locate proftpd
    /etc/proftpd.conf
    /etc/rc.d/init.d/proftpd
    /etc/rc.d/rc2.d/S80proftpd
    /etc/rc.d/rc3.d/S80proftpd
    /etc/rc.d/rc5.d/S80proftpd
    /usr/sbin/proftpd

    A which proftpd gives the following (emphasis mine)

    # which proftpd
    /usr/bin/which: no proftpd in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

    What is the deal? Locate says there is a proftpd in /usr/sbin. Which says there is not. :/
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Please isnatll proftpd as described in the perfect setup guide.
     
  8. sapph

    sapph New Member

    I did. I followed the steps character for character.
     
  9. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    ls -l /usr/sbin/proftpd
    ?
     
  10. sapph

    sapph New Member

    I don't know what it would have been. After I closed the session I couldn't SSH back in, so I imaged and started from scratch - this time using a script based on the perfect install - and everything installed perfectly. Thanks for your time and assistance.
     

Share This Page