perfect install but no ISPconfig

Discussion in 'Installation/Configuration' started by provell, Oct 14, 2008.

  1. tylerishappy

    tylerishappy New Member

    2) During installation, if saw:
    ./configure:Error: APACI failed
    ERROR: Could not configure Apache

    Use following commands to fix it.

    rm /bin/sh (or if you want to be safe: mv /bin/sh /bin/sh.dash)
    ln -s /bin/bash /bin/sh


    It is because Ubuntu developers have replaced Bash with Dash, so the regular /bin/sh that is used to be linked to /bin/bash is now pointing to /bin/dash.
     
    Last edited: Nov 4, 2008
  2. tylerishappy

    tylerishappy New Member

    Fails at end of install


    ./setup2: line 1090: mysql_config: No such file or directory
    ./setup2: line 1091: httpd: No such file or directory
    ./setup2: line 1092: httpd2: No such file or directory
    ./setup2: line 1093: httpd2: No such file or directory
    ./setup2: line 1103: ip_addresses: No such file or directory
    ./setup2: line 1105: /root/ispconfig/php/php: No such file or directory
    ./setup2: line 1106: /root/ispconfig/dist.info: No such file or directory
    chmod: cannot access `/home/admispconfig/ispconfig/tools/suphp/usr/bin/php-wrapper': No such file or directory
    ./setup2: line 1119: /home/admispconfig/ispconfig/sysconf.txt: No such file or directory
    ./setup2: line 1120: /home/admispconfig/ispconfig/sysconf.txt: No such file or directory
    Restarting some services...
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    [Tue Nov 04 09:29:32 2008] [warn] NameVirtualHost *:0 has no VirtualHosts
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    * Stopping Postfix Mail Transport Agent postfix [ OK ]
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    * Starting Postfix Mail Transport Agent postfix chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    [ OK ]
    ./setup2: line 1163: /etc/init.d/ispconfig_server: No such file or directory


    ./setup2: line 1189: cd: /tmp/install_ispconfig/compile_aps/../..: No such file or directory
     
  3. myabc

    myabc New Member

    Encountering the same issue as you, and wondering how to go about resolving it.

    Code:
        ./setup2: line 1090: mysql_config: No such file or directory
        ./setup2: line 1091: httpd: No such file or directory
        ./setup2: line 1092: httpd2: No such file or directory
        ./setup2: line 1093: httpd2: No such file or directory
        ./setup2: line 1103: ip_addresses: No such file or directory
        ./setup2: line 1105: /root/ispconfig/php/php: No such file or directory
        ./setup2: line 1106: /root/ispconfig/dist.info: No such file or directory
        chmod: cannot access `/home/admispconfig/ispconfig/tools/suphp/usr/bin/php-wrapper': No such file or directory
        ./setup2: line 1119: /home/admispconfig/ispconfig/sysconf.txt: No such file or directory
        ./setup2: line 1120: /home/admispconfig/ispconfig/sysconf.txt: No such file or directory
        Restarting some services...
        shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
        shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
        shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
         * Stopping Postfix Mail Transport Agent postfix
        postfix: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
        postfix: warning: inet_protocols: configuring for IPv4 support only
           ...done.
        shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
         * Starting Postfix Mail Transport Agent postfix
        chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
        postfix: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
        postfix: warning: inet_protocols: configuring for IPv4 support only
           ...done.
        shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
         * Stopping ftp server proftpd
           ...done.
         * Starting ftp server proftpd
           ...done.
        ./setup2: line 1163: /etc/init.d/ispconfig_server: No such file or directory
        Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.
        Please direct your browser to
    
     
  4. teamjoc

    teamjoc New Member

    And I am another one with the same problem :D
    I have CentOS 5.2 kde Remote Desktop
    ---
    Also fails at the end...
    ---
    Code:
    Please select the protocol (http or https (SSL encryption)) to use to access the                                               ISPConfig system:
    1) HTTPS
    2) HTTP
    Your Choice: 2
    
    ./setup2: line 1090: mysql_config: No such file or directory
    ./setup2: line 1091: httpd: No such file or directory
    ./setup2: line 1092: httpd2: No such file or directory
    ./setup2: line 1093: httpd2: No such file or directory
    ./setup2: line 1103: ip_addresses: No such file or directory
    ./setup2: line 1105: /root/ispconfig/php/php: No such file or directory
    ./setup2: line 1106: /root/ispconfig/dist.info: No such file or directory
    chmod: cannot access `/home/admispconfig/ispconfig/tools/suphp/usr/bin/php-wrapp                                              er': No such file or directory
    ./setup2: line 1119: /home/admispconfig/ispconfig/sysconf.txt: No such file or d                                              irectory
    ./setup2: line 1120: /home/admispconfig/ispconfig/sysconf.txt: No such file or d                                              irectory
    Restarting some services...
    shell-init: error retrieving current directory: getcwd: cannot access parent dir                                              ectories: No such file or directory
    httpd: Could not reliably determine the server's fully qualified domain name, us                                              ing 127.0.0.1 for ServerName
    httpd not running, trying to start
    shell-init: error retrieving current directory: getcwd: cannot access parent dir                                              ectories: No such file or directory
    Shutting down sm-client:                                   [  OK  ]
    Shutting down sendmail:                                    [  OK  ]
    shell-init: error retrieving current directory: getcwd: cannot access parent dir                                              ectories: No such file or directory
    Starting sendmail: make: getcwd: No such file or directory
    shell-init: error retrieving current directory: getcwd: cannot access parent dir                                              ectories: No such file or directory
                                                               [  OK  ]
    Starting sm-client: shell-init: error retrieving current directory: getcwd: cann                                              ot access parent directories: No such file or directory
                                                               [  OK  ]
    shell-init: error retrieving current directory: getcwd: cannot access parent dir                                              ectories: No such file or directory
    Shutting down vsftpd:                                      [FAILED]
    Starting vsftpd for vsftpd: shell-init: error retrieving current directory: getc                                              wd: cannot access parent directories: No such file or directory
                                                               [  OK  ]
    ./setup2: line 1163: /etc/rc.d/init.d/ispconfig_server: No such file or director                                              y
    Congratulations! Your ISPConfig system is now installed. If you had to install q                                              uota, please take the steps described in the installation manual. Otherwise your                                               system is now available without reboot.
    Please direct your browser to
    
    http://www.team-joc.com:81
    
    and log in:
    Username: admin
    Password: admin
    
    
     
  5. falko

    falko Super Moderator ISPConfig Developer

    If it's a new install, please make sure that the directories /root/ispconfig and /home/admispconfig do not exist already.
     
  6. tylerishappy

    tylerishappy New Member

    checked for both dirs

    found and deleted /root/isp ... -R

    currently re-running the installation.
     
  7. tylerishappy

    tylerishappy New Member

    Fails again

    checking for mSQL support... no
    checking for MSSQL support via FreeTDS... no
    checking for MySQL support... yes
    checking for specified location of the MySQL UNIX socket... no
    checking for MySQL UNIX socket location... no
    configure: error: Cannot find MySQL header files under /usr.
    Note that the MySQL client library is not bundled anymore!
    ERROR: Could not configure PHP
    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
    mv: cannot stat `ispconfig_tmp': No such file or directory
    cp: cannot stat `dist.info': No such file or directory
    All prerequisites are fulfilled.
    Here we go...
    chmod: cannot access `./install.php': No such file or directory
     
  8. falko

    falko Super Moderator ISPConfig Developer

    You must install the mysql-devel package. Which distribution are you using?
     
  9. tylerishappy

    tylerishappy New Member

    I am using Ubuntu 8.04
     
  10. tylerishappy

    tylerishappy New Member

    Works!!!

    apt-get install libmysql++-dev

    then removed old dirs and reinstalled

    EVERYTHING WORKS :D
     
  11. falko

    falko Super Moderator ISPConfig Developer

  12. tylerishappy

    tylerishappy New Member

    i did follow that guide and not once does it install

    libmysql++-dev
     
  13. falko

    falko Super Moderator ISPConfig Developer

    This would have been enough:
    Code:
    apt-get install mysql-server mysql-client libmysqlclient15-dev
     
  14. newmember

    newmember New Member

    My install today missed this package as well: libmysql++-dev following the same instructions for 8.04.

    My mistake I didn't change: ln -sf /bin/bash /bin/sh

    Everything good.

    Thanks
     
    Last edited: Dec 7, 2008
  15. rbartz

    rbartz Member HowtoForge Supporter

    Same problem on new Fedora Core 10 Install

    I used a perfect install for Fedore Core 10 today, but I got the following errors:

    Everything seemed fine til then. I did install mysql-devel with yum and checked, nothing to do on reinstall. The server does not yet have any domain name which may or may not have anything to do with it...

    Any ideas for me?

    Richard
     
  16. till

    till Super Moderator Staff Member ISPConfig Developer

    From which directory did you start the installation from?
     
  17. rbartz

    rbartz Member HowtoForge Supporter

    Hi Till,

    Thanks for your help.

    I downloaded with wget into /tmp and started from /tmp/install_ispconfig
     
    Last edited: Dec 16, 2008
  18. rbartz

    rbartz Member HowtoForge Supporter

    I looked at the /var/log/ispconfig_install.log... two warnings:

    Obviously this would be the problem. This is on a totally new install using perfect setup from basic Fedora Core setup on a clean system.
     
  19. rbartz

    rbartz Member HowtoForge Supporter

    Ok... did a little more checking, tried installing from another directory, and saw that it was NOT installing spamassassin because perl ExtUtils MakeMaker.pl was not there... perl was installed, but at least that much was missing.

    solution:

    Then I did another clean install of ispconfig after removing /root/ispconfig directory and it installed perfectly. It is up and running fine.

    So for Fedora Core 10 at least, perl ExtUtils may not be installed normally(??), so maybe ought to add that to The Perfect Server - Fedora 10?

    Thanks for all you guys do, you are a great help to us all.

    Richard
     
  20. Net-Pet

    Net-Pet New Member

    I am lost to :eek: but also I can't start the apache server so
    no apache or ispconfig is running. I can ssh and the mail
    is still working but the ISPConfig 2.2.28 upgrade and
    ISPConfig 2.2.29 is not a succes... can I go back to ?
     

Share This Page