Hi, please help me about the error after login (https://localhost:81). The message is: Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) in /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php on line 76 Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13) in /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php on line 76 Warning: Cannot modify header information - headers already sent by (output started at /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php:76) in /home/admispconfig/ispconfig/web/login/login.php on line 56 please help me... I'm a new user and i needed activates my webserver. Sorry but my english is bad. Thank's http://www.howtoforge.com/forums/images/smilies/biggrin.gif Pericles Ferreira Brasil - Maceio - ALAGOAS
This looks like ISPConfig has not been installed correctly. Did you got any errors during installation? You can find the ispconfig_install.log in the directory /var/log/
Is the mysql database server running and listening on localhost? Please post the output of: netstat -tap | grep mysql Does your mysql my.cnf file contains skip-networking? If yes, disable it.
the netstat outoput is: *********************** spider:/home/pericles # netstat -tap Conexões Internet Ativas (servidores e estabelecidas) Proto Recv-Q Send-Q Endereço Local Endereço Remoto Estado PID/Program name tcp 0 0 *:mysql *:* OUÇA 7661/mysqld tcp 0 0 localhost:1004 *:* OUÇA 5492/fam tcp 0 0 *:sunrpc *:* OUÇA 4798/portmap tcp 0 0 *:ftp *:* OUÇA 5106/proftpd: (acce tcp 0 0 spider.servipa.c:domain *:* OUÇA 5066/named tcp 0 0 spider.servipa.c:domain *:* OUÇA 5066/named tcp 0 0 localhost:domain *:* OUÇA 5066/named tcp 0 0 *:ipp *:* OUÇA 5164/cupsd tcp 0 0 *:smtp *:* OUÇA 5537/master tcp 0 0 localhost:953 *:* OUÇA 5066/named tcp 0 0 localhost:37435 *:* OUÇA 5385/kded [kdeinit] tcp 0 0 spider.servipa.co:25730 64.233.161.99:www-http ESTABELECIDA7575/firefox-bin tcp 0 0 spider.servipa.co:25729 64.233.161.99:www-http ESTABELECIDA7575/firefox-bin tcp 0 0 spider.servipa.co:29200 www.pollmonkey:www-http ESTABELECIDA7575/firefox-bin tcp 0 0 spider.servipa.com:6769 www.novell.com:www-http ESTABELECIDA7575/firefox-bin tcp 0 0 *:www-http *:* OUÇA 5800/httpd2-prefork tcp 0 0 *:domain *:* OUÇA 5066/named tcp 0 0 *:ssh *:* OUÇA 5063/sshd tcp 0 0 *:smtp *:* OUÇA 5537/master tcp 0 0 localhost:953 *:* OUÇA 5066/named ******************** and my.cnf not contain skip-networking thanks for your attencion
yes, the file exists and i'm use the ISP Server Setup - OpenSUSE 10 RC 1 at the address: http://www.howtoforge.com/perfect_setup_suse_10.0 all the steps had been followed tanks
Please check in the file /home/admispconfig/ispconfig/lib/config.inc.php if the login data (host, db name, username and password) is correct.
i checking the file and no errors found (host, dbname, username and password). what more we can try? thank you one more time
Please, help me. I obtain to open and to visualize the data base ispconfigdb without problems, but, when effecting login in the respective web page, I get the error already posted. They help me
Please restart the MySQL server. If that doesn't help, have a look here: http://www.howtoforge.com/forums/showthread.php?t=1703; start with post #8.