Getting the installer to work??

Discussion in 'Installation/Configuration' started by deltatech, Sep 7, 2010.

  1. deltatech

    deltatech New Member

    Does anyone know how to get past this problem? I have other php scripts talking to mysql just fine but these error messages aren't at all helpful in diagnosing what it is trying to do.

    > php -q ./install.php


    --------------------------------------------------------------------------------
    _____ ___________ _____ __ _
    |_ _/ ___| ___ \ / __ \ / _(_)
    | | \ `--.| |_/ / | / \/ ___ _ __ | |_ _ __ _
    | | `--. \ __/ | | / _ \| '_ \| _| |/ _` |
    _| |_/\__/ / | | \__/\ (_) | | | | | | | (_| |
    \___/\____/\_| \____/\___/|_| |_|_| |_|\__, |
    __/ |
    |___/
    --------------------------------------------------------------------------------

    >> Initial configuration

    Operating System: Redhat or compatible, unknown version.

    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
    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 /home/xxxxxxx/ispconfig3_install/install/install.php on line 115
    Full qualified hostname (FQDN) of the server, eg server1.domain.tld []: athena.xxxxxxxxx.com

    MySQL server hostname [localhost]:

    MySQL root username [root]:

    MySQL root password []: xxxxxxxx

    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.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There is a configuration problem with your shell or you are not logged in as root user. Ensure that you enter the install directory and then execute the installer with the command:

    php install.php

    you have to be logged in as root, so do not use sudo. Also you must have a path variable set so that common commands like "which" and "mysql" are inside your path.
     

Share This Page