Hi everyone,
i get the following errors when trying to open ispconfig: (https://server.mydomain.tld:81)
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 77
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 77
Warning: Cannot modify header information - headers already sent by (output started at /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php:77) in /home/admispconfig/ispconfig/web/login/login.php on line 62
i noticed the following:
*hostname resolves to server.mydomain.tld and reverse lookup returns ext IP of the server
*all vhosts are running
*no hosting on any of the virtual hosts has any mysql issues
* db_ispconfig can be accesed via the mysql command or a seperate phpmyadmin installation on a virtual host but the phpmyadmin that comes with ispconfig is broken too: #2002 - server not responding
* root has all privileges to server and db_ispconfig
* /var/lib/mysql/mysql.sock exists but has zero bytes, dunno if thats normal
* phpinfo() shows hostname as: {SERVER_NAME}
Configuration File (php.ini) Path /root/ispconfig/php
Loaded Configuration File /root/ispconfig/php/php.ini
DOCUMENT_ROOT /home/admispconfig/ispconfig/web
HTTP_HOST server.mydomain.tld.de:81
HTTPS on
SCRIPT_FILENAME /home/admispconfig/ispconfig/web/phpinfo.php
SERVER_ADDR <censored>
SERVER_ADMIN root@{SERVER_NAME}
SERVER_NAME {SERVER_NAME}
SERVER_PORT 81
Hostnameort {SERVER_NAME}:81
User/Group admispconfig(1001)/1001
Server Root /root/ispconfig/httpd
Loaded Modules mod_php5, mod_ssl, mod_setenvif, mod_so, mod_auth, mod_access, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_status, mod_negotiation, mod_mime, mod_log_config, mod_env, http_core
i hope there is a quick way to fix this.
regards
Buster
i get the following errors when trying to open ispconfig: (https://server.mydomain.tld:81)
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 77
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 77
Warning: Cannot modify header information - headers already sent by (output started at /home/admispconfig/ispconfig/lib/classes/ispconfig_db_mysql.lib.php:77) in /home/admispconfig/ispconfig/web/login/login.php on line 62
i noticed the following:
*hostname resolves to server.mydomain.tld and reverse lookup returns ext IP of the server
*all vhosts are running
*no hosting on any of the virtual hosts has any mysql issues
* db_ispconfig can be accesed via the mysql command or a seperate phpmyadmin installation on a virtual host but the phpmyadmin that comes with ispconfig is broken too: #2002 - server not responding
* root has all privileges to server and db_ispconfig
* /var/lib/mysql/mysql.sock exists but has zero bytes, dunno if thats normal
* phpinfo() shows hostname as: {SERVER_NAME}
Configuration File (php.ini) Path /root/ispconfig/php
Loaded Configuration File /root/ispconfig/php/php.ini
DOCUMENT_ROOT /home/admispconfig/ispconfig/web
HTTP_HOST server.mydomain.tld.de:81
HTTPS on
SCRIPT_FILENAME /home/admispconfig/ispconfig/web/phpinfo.php
SERVER_ADDR <censored>
SERVER_ADMIN root@{SERVER_NAME}
SERVER_NAME {SERVER_NAME}
SERVER_PORT 81
Hostnameort {SERVER_NAME}:81
User/Group admispconfig(1001)/1001
Server Root /root/ispconfig/httpd
Loaded Modules mod_php5, mod_ssl, mod_setenvif, mod_so, mod_auth, mod_access, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_status, mod_negotiation, mod_mime, mod_log_config, mod_env, http_core
i hope there is a quick way to fix this.
regards
Buster