Ubuntu 11.04 crashed durch Script

#1
Hallo,

hab momentan das Problem das mein Ubuntu 11.04 öfter mal crashed, die letzte Zeile vorm Neustart des Servers ist jedesmal dieser Cron Aufruf:

May 26 19:27:01 srv1 CRON[14399]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Bzw. manchmal kommt er auch mehrmals hintereinander:

May 26 12:21:01 srv1 CRON[4198]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
May 26 12:22:01 srv1 CRON[4216]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
May 26 12:23:02 srv1 CRON[4226]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
May 26 12:24:01 srv1 CRON[4266]: (root) CMD (/usr/local/ispconfig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log)
Hier der Inhalt des cron.log:

PHP Warning: copy(/etc/apache2/sites-available/domain1.de.vhost): failed to open stream: No such file or directory in /usr/local/ispconfig/server/plugins-available/apache2_plugin.inc.php on line 841
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
groupdel: group 'client1' does not exist
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
PHP Warning: copy(/etc/apache2/sites-available/domain2.de.vhost): failed to open stream: No such file or directory in /usr/local/ispconfig/server/plugins-available/apache2_plugin.inc.php on line 841
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
PHP Deprecated: Function split() is deprecated in /usr/local/ispconfig/server/plugins-available/mysql_clientdb_plugin.inc.php on line 78
PHP Deprecated: Function split() is deprecated in /usr/local/ispconfig/server/plugins-available/mysql_clientdb_plugin.inc.php on line 78
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xxx for ServerName
apache2: apr_sockaddr_info_get() failed for Ubuntu-1104-natty-32-minimal
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
apache2: apr_sockaddr_info_get() failed for Ubuntu-1104-natty-32-minimal
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
touch: cannot touch `/var/lock/subsys/bastille-firewall': No such file or directory
PHP Warning: call_user_func() expects parameter 1 to be a valid callback, class 'maildrop_plugin' does not have a method 'insert' in /usr/local/ispconfig/server/lib/classes/plugins.inc.php on line 120
PHP Warning: copy(/etc/apache2/sites-available/domain3.de.vhost): failed to open stream: No such file or directory in /usr/local/ispconfig/server/plugins-available/apache2_plugin.inc.php on line 841
PHP Warning: call_user_func() expects parameter 1 to be a valid callback, class 'maildrop_plugin' does not have a method 'insert' in /usr/local/ispconfig/server/lib/classes/plugins.inc.php on line 120
PHP Warning: call_user_func() expects parameter 1 to be a valid callback, class 'maildrop_plugin' does not have a method 'insert' in /usr/local/ispconfig/server/lib/classes/plugins.inc.php on line 120
PHP Warning: mysql_connect(): Lost connection to MySQL server at 'reading authorization packet', system error: 0 in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 78
PHP Warning: mysql_errno() expects parameter 1 to be resource, boolean given in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 63
PHP Warning: mysql_error() expects parameter 1 to be resource, boolean given in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 64
PHP Warning: mysql_connect(): Too many connections in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 78
PHP Warning: mysql_errno() expects parameter 1 to be resource, boolean given in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 63
PHP Warning: mysql_error() expects parameter 1 to be resource, boolean given in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 64
PHP Warning: mysql_connect(): Too many connections in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 78
PHP Warning: mysql_errno() expects parameter 1 to be resource, boolean given in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 63
PHP Warning: mysql_error() expects parameter 1 to be resource, boolean given in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 64
PHP Warning: mysql_connect(): Too many connections in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 78
PHP Warning: mysql_errno() expects parameter 1 to be resource, boolean given in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 63
PHP Warning: mysql_error() expects parameter 1 to be resource, boolean given in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 64
PHP Warning: mysql_connect(): Too many connections in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 78
PHP Warning: mysql_errno() expects parameter 1 to be resource, boolean given in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 63
PHP Warning: mysql_error() expects parameter 1 to be resource, boolean given in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 64
Ziemlich viele Einträge, aber für mich ist der Grund daraus noch nicht so ersichtlich. Bin noch nicht so wirklich erfahren, vielleicht sieht ja jemand das Problem und kann mit weiterhelfen.

Gruß
 

Till

Administrator
#2
Es ist sehr unwahrscheinlich dass es an diesem Script liegt. Dass Du es als letztes im Log liegt daran das es einmal pro Minute läuft.

Ist das ein vserver? Welche ISPConfig Version verwendest Du? In welchen Logs hast Du nachgesehen?
 
#3
Ah ok, jede Minute dürfte das wohl erklären. Das hab ich jetzt im syslog gefunden. Im messages ist nix zu finden, bricht halt einfach ab und dann kommen die logs vom boot.

Ja ist ein vServer von Hetzner, die scheinen derzeit auch irgendwie Probleme damit zu haben. Ich wurd bereits auf einen neuen vHost verschoben, aber das hat die Sache nicht wirklich gebessert, daher hab ich angefangen selber nach Problemen zu suchen.

Die verwendete ISPConfig ist die 3.0.3.3
 

Till

Administrator
#4
Fall Hetzner Openvz bzw. Virtuozzo verwendet, müsste es die user_beancounters geben. Scha mal bitte mit folgendem Befehl nach:

cat /proc/user_beancounters

Wenn Du mit dem Befehl eine Ausgabe erhältst, kannst Du nachsehen ob bestimmte leistungsparameter bei der VM überschritten wurden, was z.B. zu hängenden Applikationen führen kann.

Ansonsten hab ich gute Erfahrung mit dem Programm Munin zur Systemüberwachung gemacht. Es zeichnet Digramme zu diversen Systemparametern, da kann man dann gut erkennen wenn z:b. der Speicher voll läuft etc.
 

Werbung

Top