Unable to install ISPConfig on Centos5.3. Plz help.

Discussion in 'General' started by oscarfish, Aug 26, 2009.

  1. oscarfish

    oscarfish New Member

    hello friends,
    i tried to install ISPConfig 3 on centos5.3 and got the errors. So pz help me with the installation. I am pasting the steps followed by me below:

    Code:
    [root@loft2673 install]# php -q install.php
    
    
    --------------------------------------------------------------------------------
     _____ ___________   _____              __ _
    |_   _/  ___| ___ \ /  __ \            / _(_)
      | | \ `--.| |_/ / | /  \/ ___  _ __ | |_ _  __ _
      | |  `--. \  __/  | |    / _ \| '_ \|  _| |/ _` |
     _| |_/\__/ / |     | \__/\ (_) | | | | | | | (_| |
     \___/\____/\_|      \____/\___/|_| |_|_| |_|\__, |
                                                  __/ |
                                                 |___/
    --------------------------------------------------------------------------------
    
    
    >> Initial configuration
    
    Operating System: CentOS 5.3 or compatible
    
        Following will be a few questions for primary configuration so be careful.
        Default values are in [brackets] and can be accepted with <ENTER>.
        Tap in "quit" (without the quotes) to stop the installer.
    
    
    sh: /which: No such file or directory
    sh: /which: No such file or directory
    sh: /which: No such file or directory
    sh: /which: No such file or directory
    sh: /which: No such file or directory
    sh: /which: No such file or directory
    sh: /which: No such file or directory
    sh: /which: No such file or directory
    sh: /which: No such file or directory
    sh: /which: No such file or directory
    sh: /which: No such file or directory
    sh: /which: No such file or directory
    sh: /which: No such file or directory
    sh: /which: No such file or directory
    sh: /which: No such file or directory
    sh: /which: No such file or directory
    Select language (en,de) [en]:
    
    Installation mode (standard,expert) [standard]:
    
    sh: /hostname: No such file or directory
    PHP Notice:  Undefined offset:  0 in /tmp/ispconfig3_install/install/install.php on line 105
    Full qualified hostname (FQDN) of the server, eg server1.domain.tld  []: loft2673.serverloft.com
    
    MySQL server hostname [localhost]: localhost
    
    MySQL root username [root]: root
    
    MySQL root password []: ********
    
    MySQL database to create [dbispconfig]:
    
    MySQL charset [utf8]:
    
    Unable to connect to mysql server Access denied for user 'root'@'localhost' (using password: YES)
    MySQL server hostname [localhost]: localhost
    
    MySQL root username [root]: root
    
    MySQL root password []: ********
    
    MySQL database to create [dbispconfig]:
    
    MySQL charset [utf8]:
    
    sh: /mysql: No such file or directory
    sh: /echo: No such file or directory
    ERROR: Unable to load SQL-Dump into database table.
    I am sorry for posting this in wrong forum. I am a new user here.
     
    Last edited: Aug 26, 2009
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please login as root user and make sure that you followed exactly the installation instructions (perfect server guide for centos 5.3 and ispconfig 3).
     
  3. oscarfish

    oscarfish New Member

    Bro thnx for the reply... Bro i was logged in as root.. And i followed the procedure exactly as the installation instructions.
     
  4. oscarfish

    oscarfish New Member

    Friends Plz help me itz very urgent.. Not getting any solution for this... Even google failed ta help...
     
  5. falko

    falko Super Moderator Howtoforge Staff

    Did you disable SELinux?
    Is this a physical server or a virtual machine?
     
  6. oscarfish

    oscarfish New Member

    Yes bro i disabled SELinux. And its a dedicated server by Serverloft and i am using putty for configuration.
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of:

    echo $PATH
     
  8. oscarfish

    oscarfish New Member

    Friends finally i have installed the ISPConfig panell. Thnx friends for the help.

    Actually there was a problem with the Mysql. Actually the option given in the manual "The Perfect Server ISP3" to setup a Mysql password didnt worked for me ... So when the mysql installed that showed two options to setup a root and host password. Those options worked for me well ... and everything goes fine....

    Yay... Happy...:)
     
  9. Black Tiger

    Black Tiger New Member

    I see this thread is not too old yet, but i have -exact- the same problem when trying to install ispconfig on a Centos 5.3 server.

    Also at the beginning all the:
    sh: /which: No such file or directory
    sh: /which: No such file or directory

    lines and after the charset, this appears:
    sh: /mysql: No such file or directory
    sh: /echo: No such file or directory
    ERROR: Unable to load SQL-Dump into database table

    This was asked for by till:
    echo $PATH
    /usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

    Mysql was already installed by my provider, it had a root password already (which works) and for the rest I followed the perfect server guide for centos 5.3 and ispconfig 3.

    Selinux is disabled and it's a physical server, no vps.

    However, the /tmp and /dev/shm directory's are made protected prior to my installation, so I run my scripts from a different place then /tmp but that should be no problem as far as I know.
    Or is it?
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

  11. Black Tiger

    Black Tiger New Member

    Maybe that is the problem? I followed this guide:
    http://www.howtoforge.com/perfect-server-centos-5.2-ispconfig-3
    but used the newest versions of the programs mentioned.

    That's because we have Centos 5.3, but it's not a 64bit machine but an i386 machine.
    I thought the x86_64 was only for 64bit machines due to the underscore connection line in that name.

    Is there a possibility that things will be fixed if I use the guide you mention and do the missing parts?
     
  12. Black Tiger

    Black Tiger New Member

    I just had a look but I really don't see any differences to both manuals.
     

Share This Page