Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 31st January 2006, 20:00
periclesferreira periclesferreira is offline
Junior Member
 
Join Date: Jan 2006
Location: Maceio-Alagoas-Brazil
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to periclesferreira
Question ISPConfig error after login

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/ima...es/biggrin.gif
Pericles Ferreira
Brasil - Maceio - ALAGOAS
Reply With Quote
Sponsored Links
  #2  
Old 31st January 2006, 20:05
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,216 Times in 4,089 Posts
Default

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/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 31st January 2006, 20:26
periclesferreira periclesferreira is offline
Junior Member
 
Join Date: Jan 2006
Location: Maceio-Alagoas-Brazil
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to periclesferreira
Default

No errors in ispconfig_install.log. Please help me

my job is for a wire

thank you
Reply With Quote
  #4  
Old 31st January 2006, 20:44
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,216 Times in 4,089 Posts
Default

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.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 31st January 2006, 21:09
periclesferreira periclesferreira is offline
Junior Member
 
Join Date: Jan 2006
Location: Maceio-Alagoas-Brazil
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to periclesferreira
Default

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
Reply With Quote
  #6  
Old 31st January 2006, 21:14
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,216 Times in 4,089 Posts
Default

Does the socket /var/lib/mysql/mysql.sock exist? Did you follow one of the installation howtos?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 31st January 2006, 21:22
periclesferreira periclesferreira is offline
Junior Member
 
Join Date: Jan 2006
Location: Maceio-Alagoas-Brazil
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to periclesferreira
Default

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
Reply With Quote
  #8  
Old 31st January 2006, 23:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,216 Times in 4,089 Posts
Default

Please check in the file /home/admispconfig/ispconfig/lib/config.inc.php if the login data (host, db name, username and password) is correct.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 1st February 2006, 13:16
periclesferreira periclesferreira is offline
Junior Member
 
Join Date: Jan 2006
Location: Maceio-Alagoas-Brazil
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to periclesferreira
Default

i checking the file and no errors found (host, dbname, username and password).

what more we can try?

thank you one more time
Reply With Quote
  #10  
Old 1st February 2006, 19:22
periclesferreira periclesferreira is offline
Junior Member
 
Join Date: Jan 2006
Location: Maceio-Alagoas-Brazil
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to periclesferreira
 
Default

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
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot access ispconfig site Nu2Linux Installation/Configuration 13 3rd January 2009 15:29
Unable to open ISPConfig Web neu2linux Installation/Configuration 27 25th May 2006 14:09
ipcop restricting access to ispconfig login ubutux General 7 25th February 2006 21:33
42goISP vs. ISPConfig nveid General 1 16th January 2006 09:07
Total Frustration-HELP palkat Installation/Configuration 17 3rd September 2005 17:28


All times are GMT +2. The time now is 00:59.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.