Mysql Problem can`t connecting

Discussion in 'Installation/Configuration' started by Branfan, Sep 2, 2006.

  1. Branfan

    Branfan New Member

    Login on the www error

    Hi,
    i have installed ispconfig,
    and now
    come this error https://mylokalip:81 then

    "
    Warning: include(../lib/config.inc.php) [function.include]: failed to open stream: No such file or directory in /home/admispconfig/ispconfig/web/login.php on line 30

    Warning: include() [function.include]: Failed opening '../lib/config.inc.php' for inclusion (include_path='.:') in /home/admispconfig/ispconfig/web/login.php on line 30

    Warning: require_once(login/lib/lang/.lng) [function.require-once]: failed to open stream: No such file or directory in /home/admispconfig/ispconfig/web/login.php on line 31

    Fatal error: require_once() [function.require]: Failed opening required 'login/lib/lang/.lng' (include_path='.:') in /home/admispconfig/ispconfig/web/login.php on line 31
    "
    Can sombody help me please

    Iam verry sory for my bad english !
     
    Last edited: Sep 2, 2006
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you got any errors during installation?

    Please post the result of the command:

    ls -l /home/admispconfig/ispconfig/lib/
     
  3. Branfan

    Branfan New Member

    I have a mysql error

    Warning: mysql_connect(): Can't connect to local MySQL server through socket '/v ar/run/mysqld/mysqld.sock' (2) in /root/install_ispconfig/install.php on line 10 54
    Could not connect to MySQL server
    Restarting some services...
    /usr/sbin/apachectl restart: httpd restarted
    Stopping Mail Transport Agent: sendmail.
    Starting Mail Transport Agent: sendmail.
    Stopping ftp server: proftpd.
    Starting ftp server: proftpd - IPv6 getaddrinfo 'Server.Machiels' error: Name or service not known
    .
    Starting ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl startssl: httpd (pid 1606) already running

    Warning: include(/home/admispconfig/ispconfig/lib/config.inc.php): failed to open stream: No such file or directory in /root/ispconfig/scripts/lib/config.inc.php on line 30

    Warning: include(): Failed opening '/home/admispconfig/ispconfig/lib/config.inc.php' for inclusion (include_path='.:') in /root/ispconfig/scripts/lib/config.inc.php on line 30
    Could not connect to MySQL server!ISPConfig system is now up and running!
    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

    http://******.com:81

    and log in:
    Username: admin
    Password: admin

    Server:~/install_ispconfig#

    I have the mysql config good entered iam 100 procent sure


    the command
    Code:
    Server:~/install_ispconfig# ls -l /home/admispconfig/ispconfig/lib/
    totaal 60
    -rwxr-xr-x 1 admispconfig admispconfig  5967 2006-09-03 21:13 app.inc.php
    -rwxr-xr-x 1 admispconfig admispconfig  1768 2006-09-03 21:13 banner.inc.php
    drwxr-xr-x 2 admispconfig admispconfig  4096 2006-09-03 21:13 classes
    -rwxr-xr-x 1 admispconfig admispconfig   354 2006-09-03 21:13 copyright.inc.php
    -rwxr-xr-x 1 admispconfig admispconfig  7480 2006-09-03 21:13 go_info.inc.php
    drwxr-xr-x 2 admispconfig admispconfig  4096 2006-09-03 21:13 help
    -rwxr-xr-x 1 admispconfig admispconfig   324 2006-09-03 21:13 index.php
    drwxr-xr-x 2 admispconfig admispconfig  4096 2006-09-03 21:13 lang
    drwxr-xr-x 2 admispconfig admispconfig  4096 2006-09-03 21:13 plugins
    -rwxr-xr-x 1 admispconfig admispconfig     5 2006-09-03 21:13 preload.inc.php
    -rwxr-xr-x 1 admispconfig admispconfig 10989 2006-09-03 21:13 session.inc.php
    Server:~/install_ispconfig#
    
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Was MySQL running when you ran the ISPConfig installer? Was it running over TCP or only over the socket?

    What's the output of
    Code:
    netstat -tap
    ?
     
  5. Branfan

    Branfan New Member

    i have compiled my mysql and he is working

    the net stat

    Code:
    
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State                                                                                     PID/Program name
    tcp        0      0 *:cvspserver            *:*                     LISTEN     1                                                                              343/inetd
    tcp        0      0 Server.Machi:submission *:*                     LISTEN     8                                                                              115/sendmail: MTA:
    tcp        0      0 *:netbios-ssn           *:*                     LISTEN     1                                                                              350/smbd
    tcp        0      0 *:www                   *:*                     LISTEN     1                                                                              0092/httpd
    tcp        0      0 *:6353                  *:*                     LISTEN     1                                                                              625/perl
    tcp        0      0 *:81                    *:*                     LISTEN     1                                                                              606/ispconfig_http
    tcp        0      0 *:ftp                   *:*                     LISTEN     8                                                                              148/proftpd: (acce
    tcp        0      0 10.0.0.9:domain         *:*                     LISTEN     1                                                                              329/named
    tcp        0      0 Server.Machiels:domain  *:*                     LISTEN     1                                                                              329/named
    tcp        0      0 *:ssh                   *:*                     LISTEN     1                                                                              0939/sshd
    tcp        0      0 Server.Machiels:smtp    *:*                     LISTEN     8                                                                              115/sendmail: MTA:
    tcp        0      0 *:microsoft-ds          *:*                     LISTEN     1                                                                              350/smbd
    tcp        0      0 10.0.0.9:ssh            10.0.0.5:1064           ESTABLISHED1                                                                              0602/1
    tcp        0    300 10.0.0.9:ssh            10.0.0.5:1140           ESTABLISHED1                                                                              0976/sshd: thomas
    Server:/#
    
    
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    You must configure your mysql to listen on you network by remove "skip-networking" from your my.cnf config file.
     

Share This Page