Seltsame Fehlermeldungen

VieleGruesse

New Member
Hallo ,

Vorweg muss ich sagen das ich ein absoluter Laie in Serveradminitration und Linux im allgemeinen bin :rolleyes: Fälschlicherweise habe ich mir einen Server aufquatschen lassen und nun sitze ich da mit meinem Talent .

Ich habe mehrere virtuelle Hosts. Teilweise funktionieren meine Datenbanken nicht mehr . Vermutlich weil zuviele offene Verbindungen bestehen .

Desweiteren tauchen in der error log von apache nun seltsame zeilen auf . Weiss jemand von euch RaT ?

Code:
[Fri Oct 24 22:31:00 2008] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Fri Oct 24 22:31:08 2008] [notice] mod_python: Creating 32 session mutexes based on 150 max processes and 0 max threads.
[Fri Oct 24 22:31:09 2008] [notice] Apache/2.2.0 (Linux/SUSE) configured -- resuming normal operations
[Fri Oct 24 22:31:16 2008] [notice] caught SIGTERM, shutting down
[Fri Oct 24 22:31:17 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Fri Oct 24 22:31:17 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Fri Oct 24 22:31:17 2008] [warn] Init: SSL server IP/port conflict: kkkkkkkkkkkkkkk:443 (/srv/www/vhosts/kkkkkkkkkkk/conf/httpd.include:217) vs. xxxxxxxxxx:443 (/srv/www/vhosts/xxxxxxxxxx/conf/httpd.include:12)
[Fri Oct 24 22:31:17 2008] [warn] Init: SSL server IP/port conflict: kkkkkkkkkkkkkkk:443 (/srv/www/vhosts/kkkkkkkkkkkkkkkk/conf/httpd.include:12) vs. xxxxxxxxxxxx:443 (/srv/www/vhosts/xxxxxxxxxxx/conf/httpd.include:12)
[Fri Oct 24 22:31:17 2008] [warn] Init: SSL server IP/port conflict: rrrrrrrrrrrrrrrr:443 (/srv/www/vhosts/rrrrrrrrrr/conf/httpd.include:241) vs. xxxxxxxxxxxx:443 (/srv/www/vhosts/xxxxxxxxxx/conf/httpd.include:12)
[Fri Oct 24 22:31:17 2008] [warn] Init: SSL server IP/port conflict: rrrrrrrrrrrrrrrrrrrrr:443 (/srv/www/vhosts/rrrrrrrrrrrrrrr/conf/httpd.include:88) vs. xxxxxxxxxx:443 (/srv/www/vhosts/xxxxxxxxxxxxxxxxx/conf/httpd.include:12)
[Fri Oct 24 22:31:17 2008] [warn] Init: SSL server IP/port conflict: zzzzzzzzzzzzzzz:443 (/srv/www/vhosts/yyyyyyyyyy/conf/httpd.include:12) vs. xxxxxxxxxxxxx443 (/srv/www/vhosts/xxxxxxxxxx/conf/httpd.include:12)
[Fri Oct 24 22:31:17 2008] [warn] Init: SSL server IP/port conflict: webmail:443 (/etc/apache2/conf.d/zz010_psa_httpd.conf:139) vs. xxxxxxxxxxxx:443 (/srv/www/vhosts/xxxxxxxxxxxxx/conf/httpd.include:12)
[Fri Oct 24 22:31:17 2008] [warn] Init: SSL server IP/port conflict: default-85-25-149-169:443 (/etc/apache2/conf.d/zz010_psa_httpd.conf:84) vs. xxxxxxxxxxx:443 (/srv/www/vhosts/xxxxxxxxxxxx/conf/httpd.include:12)
[Fri Oct 24 22:31:17 2008] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Fri Oct 24 22:31:17 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
[Fri Oct 24 22:31:17 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Fri Oct 24 22:31:17 2008] [warn] RSA server certificate CommonName (CN) 
[Fri Oct 24 22:31:17 2008] [warn] Init: SSL server IP/port conflict: kkkkkkkkkkkkkkkkkk:443 (/srv/www/vhosts/kkkkkkkkkkkkkk/conf/httpd.include:217) vs. xxxxxxxxxxxxxxxx:443 (/srv/www/vhosts/xxxxxxxxxxx/conf/httpd.include:12)
[Fri Oct 24 22:31:17 2008] [warn] Init: SSL server IP/port conflict: kkkkkkkkkkkkkkkkkkkk:443 (/srv/www/vhosts/kkkkkkkkkkkkkk/conf/httpd.include:12) vs. xxxxxxxxxxxxxx:443 (/srv/www/vhosts/xxxxxxxxxxxxxxx/conf/httpd.include:12)
[Fri Oct 24 22:31:17 2008] [warn] Init: SSL server IP/port conflict: rrrrrrrrrr:443 (/srv/www/vhosts/rrrrrrrrrrrrrrrrrr/conf/httpd.include:241) vs. xxxxxxxxxx:443 (/srv/www/vhosts/xxxxxxxxxxx/conf/httpd.include:12)
[Fri Oct 24 22:31:17 2008] [warn] Init: SSL server IP/port conflict: rrrrrrrrrrrrrrrrrr:443 (/srv/www/vhosts/rrrrrrrrrrrrrr/conf/httpd.include:88) vs. xxxxxxxxx:443 (/srv/www/vhosts/dvd-news.net/conf/httpd.include:12)
[Fri Oct 24 22:31:17 2008] [warn] Init: SSL server IP/port conflict: zzzzzzzzzzzzzzz:443 (/srv/www/vhosts/yyyyyy/conf/httpd.include:12) vs. xxxxxxxxxxxxxxx:443 (/srv/www/vhosts/xxxxxxxxx/conf/httpd.include:12)
[Fri Oct 24 22:31:17 2008] [warn] Init: SSL server IP/port conflict: webmail:443 (/etc/apache2/conf.d/zz010_psa_httpd.conf:139) vs. xxxxxxxxxxxxxxx:443 (/srv/www/vhosts/xxxxxxxxx/conf/httpd.include:12)
[Fri Oct 24 22:31:17 2008] [warn] Init: SSL server IP/port conflict: default-85-25-149-169:443 (/etc/apache2/conf.d/zz010_psa_httpd.conf:84) vs. xxxxxxxxxxxxxxxx:443 (/srv/www/vhosts/xxxxxxxx/conf/httpd.include:12)
[Fri Oct 24 22:31:17 2008] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[Fri Oct 24 22:31:17 2008] [notice] mod_python: Creating 32 session mutexes based on 150 max processes and 0 max threads.
[Fri Oct 24 22:31:17 2008] [notice] Apache/2.2.0 (Linux/SUSE) configured -- resuming normal operations
 
Last edited by a moderator:
Du hast mehrere NameBased SSL Vhosts in deiner Config drin, und das sollte man nicht tun, steht ja auch im error log (You should not use name-based virtual hosts in conjunction with SSL!!)

Dazu aus der Apache Doc:
Why can't I use SSL with name-based/non-IP-based virtual hosts?

The reason is very technical, and a somewhat "chicken and egg" problem. The SSL protocol layer stays below the HTTP protocol layer and encapsulates HTTP. When an SSL connection (HTTPS) is established Apache/mod_ssl has to negotiate the SSL protocol parameters with the client. For this, mod_ssl has to consult the configuration of the virtual server (for instance it has to look for the cipher suite, the server certificate, etc.). But in order to go to the correct virtual server Apache has to know the Host HTTP header field. To do this, the HTTP request header has to be read. This cannot be done before the SSL handshake is finished, but the information is needed in order to complete the SSL handshake phase. Bingo!
 
Last edited by a moderator:
Danke für Deine Antwort .
Und was kann ich nun am besten tun ? Ich habe selbst in der Config nichts geändert . Ich benutze Plesk, aber selbst wenn ich die Domain ausschalte die den Conflict verursacht funktioniert es nicht.....

Wäre dies überhaupt eine Möglichkeit Fehlerursache, dass sich der Server nach und nach ausschaltet ?! Als erstes verabschieden sich nämlich alle Datenbanken meines Servers .
 
Last edited by a moderator:
Der Support meinte das die Fehlermeldung mit dem Adresskonflikt wohl normal sei auf Grund des genutzten Plesk .

Vielmehr fiel mir unter einer betreffenden Domain in den logs folgendes auf :

Code:
[Fri Oct 24 16:12:26 2008] [error] [client 92.202.119.72] PHP Warning: mysql_connect() [ a href= function.mysql-connect function.mysql-connect /a ]: Too many connections in /srv/www/vhosts/xxxxxxxxxx/httpdocs/topliste/sources/sql/mysql.php on line 32, referer: [url]http://www./[/url]
[Fri Oct 24 16:12:26 2008] [error] [client 92.202.119.72] PHP Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /srv/www/vhosts/xxxxxxxxxxx/httpdocs/topliste/sources/sql/mysql.php on line 33, referer: [url]http://www./[/url]
[Fri Oct 24 16:12:26 2008] [error] [client 92.202.119.72] PHP Warning: mysql_query() [ a href= function.mysql-query function.mysql-query /a ]: Too many connections in /srv/www/vhosts/xxxxxxxxxxx/httpdocs/topliste/sources/sql/mysql.php on line 47, referer: [url=http://www]Startseite - Services, die verbinden - intergenia AG[/url].
[Fri Oct 24 16:12:26 2008] [error] [client 92.202.119.72] PHP Warning: mysql_query() [ a href= function.mysql-query function.mysql-query /a ]: A link to the server could not be established in /srv/www/vhosts/xxxxxxxxxx/httpdocs/topliste/sources/sql/mysql.php on line 47, referer: [url]http://www./[/url]
[Fri Oct 24 16:12:26 2008] [error] [client 92.202.119.72] PHP Fatal error: Database error in " b /srv/www/vhosts/xxxxxxxxxx/httpdocs/topliste/button.php /b " on line b 36 /b br / br / \n in /srv/www/vhosts/xxxxxxxxx/httpdocs/topliste/sources/sql/mysql.php on line 88, referer: [url]http://www./[/url]
[Fri Oct 24 16:12:46 2008] [error] [client 85.178.122.244] PHP Warning: mysql_connect() [ a href= function.mysql-connect function.mysql-connect /a ]: Too many connections in /srv/www/vhosts/xxxxxxxxxxx/httpdocs/topliste/sources/sql/mysql.php on line 32, referer: [url=http://www./]text bla bla[/url]
[Fri Oct 24 16:12:46 2008] [error] [client 85.178.122.244] PHP Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /srv/www/vhosts/xxxxxxxxxxx/httpdocs/topliste/sources/sql/mysql.php on line 33, referer: [url]http://www./[/url]
[Fri Oct 24 16:12:46 2008] [error] [client 85.178.122.244] PHP Warning: mysql_query() [ a href= function.mysql-query function.mysql-query /a ]: Access denied for user wwwrun @ localhost (using password: NO) in /srv/www/vhosts/xxxxxxxxxxxx/httpdocs/topliste/sources/sql/mysql.php on line 47, referer: [url]http://www./[/url]
[Fri Oct 24 16:12:46 2008] [error] [client 85.178.122.244] PHP Warning: mysql_query() [ a href= function.mysql-query function.mysql-query /a ]: A link to the server could not be established in /srv/www/vhosts/xxxxxxxx/httpdocs/topliste/sources/sql/mysql.php on line 47, referer: [url]http://www./
[Fri Oct 24 16:12:46 2008] [error] [client 85.178.122.244] PHP Fatal error: Database error in " b /srv/www/vhosts/xxxxxxxx/httpdocs/topliste/button.php /b " on line b 36 /b br / br / \n in /srv/www/vhosts/xxxxxxxx/httpdocs/topliste/sources/sql/mysql.php on line 88, referer: [url]http://www./


Könnten diese Fehlermeldungen für das Ausschalten des kompletten Servers verantwortlich sein ?!
Ich weiss echt nicht mehr was ich tun soll :confused:
 
Last edited by a moderator:
Hi,

Code:
[Fri Oct 24 16:12:26 2008] [error] [client 92.202.119.72] PHP Warning: mysql_connect() [ a href= function.mysql-connect function.mysql-connect /a ]: Too many connections in /srv/www/vhosts/xxxxxxxxxx/httpdocs/topliste/sources/sql/mysql.php on line 32, referer: [url]http://www./[/url][/QUOTE]


Dein mysqld bekommt schonmal mehr Verbindungen ab als derzeit konfiguriert sind. Was meinst Du mit "Könnten diese Fehlermeldungen für das Ausschalten des kompletten Servers verantwortlich sein ?!" Ist der ganze Server down oder nur der Webserver nicht erreichbar?
Je nach Konfiguration könnten beide Fälle eintreten. Letzteres sobald die Webseiten auf eine Datenbank zugrifen während schon alle Verbindungen belegt oder aber der Apache selber an seine MaxClients-Einstellung stößt. [CODE]grep MaxCli /var/log/apache2/error_log
Wenn der ganze Server nicht mehr erreichbar sein sollte, so könnte dies auch an den Fehlermeldungen liegen. Und zwar genau in dem Fall, dass so viele Verbindungen offen sind, dass der Server OoM (Out of Memory) ist.

https://serversupportforum.de/threads/mysql-performance-tuning-mit-tuning-primer-sh-script.13785/ könnte Dir helfen, deine MySQL-Probleme in den Griff zu kriegen.


-W
 
ich danke dir vielmals @wstuermer.

Es lag an den 2. Fehlermeldungen . Ich habe die entsprechende Datenbank gelöscht . Ein Toplistenskript hat zuviele offene Verbindungen gehalten und sie nicht wieder geschlossen , so das der server OOM war .

Vielen Dank
 
Back
Top