ISPconfig setup can't find my mysql

Discussion in 'Installation/Configuration' started by jva1601, May 5, 2006.

  1. jva1601

    jva1601 New Member

    I have installed the latest mysql server from source. I have also verified skip-networking within my.cnf file has been commented out. I see mysql is running listening on port 3306. I have my mysql installed under the dir /usr/local/mysql.

    Do I need to change something somewhere for the setup script to find my mysql installation?

    I'm using Debian Sarge, followed Falko's Debian installation how-to except for the mysql part.

    Thank you.

    - Joe
     
    Last edited: May 5, 2006
  2. falko

    falko Super Moderator Howtoforge Staff

    What's the exact error the ISPConfig installation shows you?
     
  3. jva1601

    jva1601 New Member

    This is the error I get:

    ########## MYSQL SERVER ##########

    Checking for package MySQL...
    ERROR: mysql not found!

    Thanks for the quick response Falko!
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Please check the script install_ispconfig/compile_aps/compile and adjust the path to your MySQL installation.
     
  5. JazzUp

    JazzUp New Member

    Hi!
    I get the same error
    ########## MYSQL SERVER ##########

    Checking for package MySQL...
    which: no mysql in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
    ERROR: mysql not found!

    while trying to install ISPConfig 2 on a VPS server running on Fedora 8.

    The ISP has the following soft installed:
    Apache 2.2
    PHP 5.2.5
    MySQL 5.0.51
    JDK 1.6.0
    Tomcat 6.0.14
    Webalizer
    phpMyAdmin
    eAccelerator
    Zend Optimizer
    vsftpd
    Sendmail

    everything is placed in /opt; mysql dir contents:
    [root@20092091 mysql]# dir
    bin info libexec my.cnf share var
    include lib man mysql-test sql-bench

    running netstat -tap | grep mysql gives the following:
    tcp 0 0 *:mysql *:* LISTEN 1049/mysqld
    (so mysql is running)

    I'd appreciate greatly if anyone would suggest what exact changes should be made to either dist.txt and/or compile_aps/compile files?
    (tried adding path to /opt/mysql & /opt/mysql/bin to compile PATH line - didn't help).
     
    Last edited: Sep 3, 2009
  6. falko

    falko Super Moderator Howtoforge Staff

  7. JazzUp

    JazzUp New Member

    No, I didn't use the guide; I'm trying to install ISPConfig on a VPS server that my ISP has setup already.

    I've changed setup2 so the installer now can find MySQL and BIND, but now it stops during the last step with the following message:

    ########## WEB SERVER ##########

    which: no httpd in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
    :/opt/mysql:/opt/mysql/bin:/sbin:/usr/sbin/named)
    Checking for program httpd...
    which: no httpd in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
    :/opt/mysql:/opt/mysql/bin:/sbin:/usr/sbin/named
    :/opt/apache/bin/httpd:/etc/rc.d/init.d/httpd:/var/lock/subsys/httpd)
    which: no httpd in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
    :/opt/mysql:/opt/mysql/bin:/sbin:/usr/sbin/named
    :/opt/apache/bin/httpd:/etc/rc.d/init.d/httpd:/var/lock/subsys/httpd)
    OK
    Checking the syntax of the httpd.conf...
    ./setup2: line 718: httpd: command not found
    ERROR: The syntax of your httpd.conf is not ok! Please correct the error. The installation routine stops here!
     
    Last edited: Sep 6, 2009
  8. falko

    falko Super Moderator Howtoforge Staff

    Please use the guide I mentioned, starting with page 3.
     

Share This Page