PDA

View Full Version : ispconfig


Chaos
17th March 2006, 13:51
I just followed the ubuntu server config. and when i goto https://myserver:81 it worked the first time and i went to check the settings like it says and it now gives me this error after i log in

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) 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/run/mysqld/mysqld.sock' (2) 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

till
17th March 2006, 13:55
Please restart your mysql server and try to login again:

/etc/init.d/mysql restart

Chaos
19th March 2006, 00:13
Ok I did that, dunno if it fixed it or if a couple of days some how fixed it. Anywho, I log in and I can get in. But when i click on the server settings tab is freezes up again. and now when i like click anything it freezes. Any sugestions on what i need to do or look at?

falko
19th March 2006, 00:25
Please check that you have the correct URL in /home/admispconfig/ispconfig/lib/config.inc.php and the correct ServerName in /root/ispconfig/httpd/conf/httpd.conf and restart ISPConfig afterwards:
/etc/init.d/ispconfig_server restart

Chaos
19th March 2006, 00:36
I found the url and changed it to just straight up comp IP for now. And as for the servername is was quoted out so i left it and still seems slow and buggy. freezes cant do anything

falko
19th March 2006, 14:44
Which IP do you use? Are you connecting from within your LAN or from the outside?

Chaos
19th March 2006, 15:12
at the moment i am connecting localy, 192.168.202.58 i believe

till
19th March 2006, 22:58
Please try the solution i posted in this tread:

http://www.howtoforge.com/forums/showthread.php?t=2829

in post #5. replace the IP i posted there with your server IP.

Chaos
20th March 2006, 01:02
awesome, yeah seems to be super fast now. question: why did that fix it? just like a useless algorithm or if command bogging it down?

till
20th March 2006, 08:57
awesome, yeah seems to be super fast now. question: why did that fix it? just like a useless algorithm or if command bogging it down?

The problem was, that the URL to the controlpanel was incorrect and your browser tred to load images from an unreachable location. This slowed everything down.

There has been some code introduced in the latest release (the lines you removed) that autodetects the URL. But this gos wrong in some cases and causes the problem that you encountered. We are working on a better implementation of the autodetection and the best workaround for ISPConfig 2.2.0 is to remove it like i described in the other thread.