Mandriva 64bit configure error - MySQL/PHP

Discussion in 'Installation/Configuration' started by kidestranged, Mar 27, 2006.

  1. kidestranged

    kidestranged New Member

    Greeting all -

    I'm struggling to get ISPconfig installed in my system. I recently reinstalled the OS according to "The Perfect Setup- Mandrive 2006" and I get the same error:

    checking for MySQL UNIX socket location... no
    checking for mysql_close in -lmysqlclient... no
    checking for mysql_error in -lmysqlclient... no
    configure: error: mysql configure failed. Please check config.log for more information.
    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
    ./setup2: line 777: 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!



    The log file shows something that seems unrelated:
    Mon Mar 27 07:57:21 EST 2006 - [ISPConfig] - openssl found: /usr/bin/openssl
    Mon Mar 27 07:57:21 EST 2006 - [ISPConfig] - named found: /usr/sbin/named
    Mon Mar 27 07:57:21 EST 2006 - [ISPConfig] - iptables found: /sbin/iptables
    Mon Mar 27 07:57:21 EST 2006 - [ISPConfig] - httpd found: /usr/sbin/httpd
    Mon Mar 27 07:57:21 EST 2006 - [ISPConfig] - httpd syntax ok!
    Mon Mar 27 07:57:21 EST 2006 - [ISPConfig] - dist_path_httpd_root=/home/www ##
    Mon Mar 27 07:57:25 EST 2006 - [ISPConfig] - Directory /var/www/sharedip created.
    Mon Mar 27 07:57:25 EST 2006 - [ISPConfig] - Use sharedip_index.html_en as SharedIP default page.
    Mon Mar 27 08:03:16 EST 2006 - [ISPConfig] - WARNING: could not unpack ISPConfig system
    Mon Mar 27 08:03:16 EST 2006 - [ISPConfig] - ERROR: The PHP binary coming with ISPConfig does not work properly on your system! The installation routine stops here!



    Any ideas?

    EDIT: I'm using the latest 64bit friendly version of ISPconfig
     
    Last edited: Mar 27, 2006
  2. falko

    falko Super Moderator Howtoforge Staff

    Did you install MySQL?
    Please run this:
    Code:
    urpmi MySQL MySQL-client libmysql14-devel
     
  3. kidestranged

    kidestranged New Member

    Falko - thanks for the reply.

    All of those packages are installed and I reinstalled them just be be sure. Same error but sometimes during a different part of the installation. The strange thing is that MySQL is running, shows up on the netstat and I can login and use it normally. When I run the ISPconfig setup, however, it stops somehow. Sometimes this happens during the initial system check, sometimes during the error message I posted below and just recently, at the very end. The mysqld log shows that it's being shutdown every time I run the ISPconfig setup.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Very strange. Can you post the relevant parts from the mysqld log here?
     

Share This Page