Plus d'accès au serveur sauf en rescue

Bonjour à tous,

Je dispose d’un serveur dédié tournant sous Debian Squeeze et hier j’ai installé un certificat SSL signé par Gandi (je ne sais pas si c’est lié) puis j’ai lancé apt-get update/upgrade/dist-upgrade puis j’ai reboot le serveur et… Plus rien. J’ai attendu 10/15 minutes et toujours aucunes connexion que ça soit en HTTP, en SSH, ou en FTP, j’ai même essayé de le ping, mais rien. Du coup je l’ai redémarré en mode “rescue” depuis le panel de l’hébergeur, je suis donc allé voir le syslog, mais je n’ai rien vu d’anormal, je vous le copie donc ici :

Apr 14 21:32:06 www snmpd[3288]: trigger OID: prErrorFlag Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: unknown monitor OID Apr 14 21:32:06 www snmpd[3288]: payload OID: memErrorName Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: unknown payload OID Apr 14 21:32:06 www snmpd[3288]: Unknown payload OID: memErrorName Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: Unknown payload OID Apr 14 21:32:06 www snmpd[3288]: payload OID: memSwapErrorMsg Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: unknown payload OID Apr 14 21:32:06 www snmpd[3288]: Unknown payload OID: memSwapErrorMsg Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: Unknown payload OID Apr 14 21:32:06 www snmpd[3288]: trigger OID: memSwapError Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: unknown monitor OID Apr 14 21:32:06 www snmpd[3288]: payload OID: extNames Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: unknown payload OID Apr 14 21:32:06 www snmpd[3288]: Unknown payload OID: extNames Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: Unknown payload OID Apr 14 21:32:06 www snmpd[3288]: payload OID: extOutput Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: unknown payload OID Apr 14 21:32:06 www snmpd[3288]: Unknown payload OID: extOutput Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: Unknown payload OID Apr 14 21:32:06 www snmpd[3288]: trigger OID: extResult Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: unknown monitor OID Apr 14 21:32:06 www snmpd[3288]: payload OID: dskPath Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: unknown payload OID Apr 14 21:32:06 www snmpd[3288]: Unknown payload OID: dskPath Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: Unknown payload OID Apr 14 21:32:06 www snmpd[3288]: payload OID: dskErrorMsg Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: unknown payload OID Apr 14 21:32:06 www snmpd[3288]: Unknown payload OID: dskErrorMsg Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: Unknown payload OID Apr 14 21:32:06 www snmpd[3288]: trigger OID: dskErrorFlag Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: unknown monitor OID Apr 14 21:32:06 www snmpd[3288]: payload OID: laNames Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: unknown payload OID Apr 14 21:32:06 www snmpd[3288]: Unknown payload OID: laNames Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: Unknown payload OID Apr 14 21:32:06 www snmpd[3288]: payload OID: laErrMessage Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: unknown payload OID Apr 14 21:32:06 www snmpd[3288]: Unknown payload OID: laErrMessage Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: Unknown payload OID Apr 14 21:32:06 www snmpd[3288]: trigger OID: laErrorFlag Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: unknown monitor OID Apr 14 21:32:06 www snmpd[3288]: payload OID: fileName Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: unknown payload OID Apr 14 21:32:06 www snmpd[3288]: Unknown payload OID: fileName Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: Unknown payload OID Apr 14 21:32:06 www snmpd[3288]: payload OID: fileErrorMsg Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: unknown payload OID Apr 14 21:32:06 www snmpd[3288]: Unknown payload OID: fileErrorMsg Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: Unknown payload OID Apr 14 21:32:06 www snmpd[3288]: trigger OID: fileErrorFlag Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: unknown monitor OID Apr 14 21:32:06 www snmpd[3288]: payload OID: snmperrErrMessage Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: unknown payload OID Apr 14 21:32:06 www snmpd[3288]: Unknown payload OID: snmperrErrMessage Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: Unknown payload OID Apr 14 21:32:06 www snmpd[3288]: trigger OID: snmperrErrorFlag Apr 14 21:32:06 www snmpd[3288]: /etc/snmp/snmpd.conf: line 143: Error: unknown monitor OID Apr 14 21:32:06 www snmpd[3288]: Turning on AgentX master support. Apr 14 21:32:06 www snmpd[3288]: net-snmp: 33 error(s) in config file(s) Apr 14 21:32:06 www snmpd[3288]: NET-SNMP version 5.4.3 Apr 14 21:32:07 www xinetd[3458]: xinetd Version 2.3.15 started with libwrap loadavg options compiled in. Apr 14 21:32:07 www xinetd[3458]: Started working: 1 available service Apr 14 21:32:07 www mysqld_safe: Starting mysqld daemon with databases from /var/lib/mysql Apr 14 21:32:07 www mysqld: 140414 21:32:07 [Note] Plugin 'FEDERATED' is disabled. Apr 14 21:32:07 www mysqld: 140414 21:32:07 InnoDB: Initializing buffer pool, size = 8.0M Apr 14 21:32:07 www mysqld: 140414 21:32:07 InnoDB: Completed initialization of buffer pool Apr 14 21:32:07 www mysqld: InnoDB: The log sequence number in ibdata files does not match Apr 14 21:32:07 www mysqld: InnoDB: the log sequence number in the ib_logfiles! Apr 14 21:32:07 www mysqld: 140414 21:32:07 InnoDB: Database was not shut down normally! Apr 14 21:32:07 www mysqld: InnoDB: Starting crash recovery. Apr 14 21:32:07 www mysqld: InnoDB: Reading tablespace information from the .ibd files... Apr 14 21:32:07 www mysqld: InnoDB: Restoring possible half-written data pages from the doublewrite Apr 14 21:32:07 www mysqld: InnoDB: buffer... Apr 14 21:32:07 www mysqld: 140414 21:32:07 InnoDB: Started; log sequence number 0 15630595 Apr 14 21:32:08 www mysqld: 140414 21:32:08 [Note] Event Scheduler: Loaded 0 events Apr 14 21:32:08 www mysqld: 140414 21:32:08 [Note] /usr/sbin/mysqld: ready for connections. Apr 14 21:32:08 www mysqld: Version: '5.1.73-1' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Debian) Apr 14 21:32:08 www ntpd_intres[3303]: host name not found: 0.debian.pool.ntp.org Apr 14 21:32:08 www ntpd_intres[3303]: host name not found: 1.debian.pool.ntp.org Apr 14 21:32:08 www ntpd_intres[3303]: host name not found: 2.debian.pool.ntp.org Apr 14 21:32:08 www ntpd_intres[3303]: host name not found: 3.debian.pool.ntp.org Apr 14 21:32:08 www /etc/mysql/debian-start[3598]: Upgrading MySQL tables if necessary. Apr 14 21:32:08 www /etc/mysql/debian-start[3603]: /usr/bin/mysql_upgrade: the '--basedir' option is always ignored Apr 14 21:32:08 www /etc/mysql/debian-start[3603]: Looking for 'mysql' as: /usr/bin/mysql Apr 14 21:32:08 www /etc/mysql/debian-start[3603]: Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck Apr 14 21:32:08 www /etc/mysql/debian-start[3603]: This installation of MySQL is already upgraded to 5.1.73, use --force if you still need to run mysql_upgrade Apr 14 21:32:08 www /etc/mysql/debian-start[3614]: Checking for insecure root accounts. Apr 14 21:32:08 www /etc/mysql/debian-start[3618]: Triggering myisam-recover for all MyISAM tables Apr 14 21:32:14 www /usr/sbin/cron[3890]: (CRON) INFO (pidfile fd = 3) Apr 14 21:32:14 www /usr/sbin/cron[3891]: (CRON) STARTUP (fork ok) Apr 14 21:32:14 www cron[3891]: Error: bad username; while reading /etc/cron.d/motdstat Apr 14 21:32:14 www /usr/sbin/cron[3891]: (*system*motdstat) ERROR (Syntax error, this crontab file will be ignored) Apr 14 21:32:14 www /usr/sbin/cron[3891]: (CRON) INFO (Running @reboot jobs) Apr 14 21:32:15 www collectd[4018]: cpufreq plugin: Found 4 CPUs Apr 14 21:32:15 www collectd[4018]: ping plugin: No hosts have been configured. Apr 14 21:32:15 www collectd[4018]: Initialization of plugin `ping' failed with status -1. Plugin will be unloaded. Apr 14 21:32:15 www collectd[4018]: battery plugin: Failed to access `/proc/acpi/battery': No such file or directory Apr 14 21:32:15 www collectd[4018]: Initialization complete, entering read-loop. Apr 14 21:32:15 www collectd[4018]: ntpd plugin: Received error code 4 Apr 14 21:32:15 www collectd[4018]: ntpd plugin: ntpd_do_query (REQ_PEER_LIST_SUM) failed with status 4 Apr 14 21:32:15 www collectd[4018]: read-function of plugin `ntpd' failed. Will suspend it for 20.000 seconds. Apr 14 21:32:15 www collectd[4018]: apache: curl_easy_perform failed: Could not resolve host: some.domain.tld Apr 14 21:32:15 www collectd[4018]: read-function of plugin `apache/some.domain.tld/bar' failed. Will suspend it for 20.000 seconds. Apr 14 21:32:15 www collectd[4018]: rrdtool plugin: Adjusting "RandomTimeout" to 0.000 seconds. Apr 14 21:32:16 www proftpd[4065]: www.sperec.fr - ProFTPD 1.3.3a (maint) (built Sat Sep 28 2013 17:02:15 UTC) standalone mode STARTUP Apr 14 21:32:35 www collectd[4018]: ntpd plugin: Received error code 4 Apr 14 21:32:35 www collectd[4018]: ntpd plugin: ntpd_do_query (REQ_PEER_LIST_SUM) failed with status 4 Apr 14 21:32:35 www collectd[4018]: read-function of plugin `ntpd' failed. Will suspend it for 40.000 seconds. Apr 14 21:32:35 www collectd[4018]: apache: curl_easy_perform failed: Could not resolve host: some.domain.tld Apr 14 21:32:35 www collectd[4018]: read-function of plugin `apache/some.domain.tld/bar' failed. Will suspend it for 40.000 seconds. Apr 14 21:33:10 www ntpd_intres[3303]: host name not found: 0.debian.pool.ntp.org Apr 14 21:33:10 www ntpd_intres[3303]: host name not found: 1.debian.pool.ntp.org Apr 14 21:33:10 www ntpd_intres[3303]: host name not found: 2.debian.pool.ntp.org Apr 14 21:33:10 www ntpd_intres[3303]: host name not found: 3.debian.pool.ntp.org Apr 14 21:33:15 www collectd[4018]: ntpd plugin: Received error code 4 Apr 14 21:33:15 www collectd[4018]: ntpd plugin: ntpd_do_query (REQ_PEER_LIST_SUM) failed with status 4 Apr 14 21:33:15 www collectd[4018]: read-function of plugin `ntpd' failed. Will suspend it for 80.000 seconds. Apr 14 21:33:15 www collectd[4018]: apache: curl_easy_perform failed: Could not resolve host: some.domain.tld Apr 14 21:33:15 www collectd[4018]: read-function of plugin `apache/some.domain.tld/bar' failed. Will suspend it for 80.000 seconds. Apr 14 21:34:35 www collectd[4018]: ntpd plugin: Received error code 4 Apr 14 21:34:35 www collectd[4018]: ntpd plugin: ntpd_do_query (REQ_PEER_LIST_SUM) failed with status 4 Apr 14 21:34:35 www collectd[4018]: read-function of plugin `ntpd' failed. Will suspend it for 160.000 seconds. Apr 14 21:34:35 www collectd[4018]: apache: curl_easy_perform failed: Could not resolve host: some.domain.tld Apr 14 21:34:35 www collectd[4018]: read-function of plugin `apache/some.domain.tld/bar' failed. Will suspend it for 160.000 seconds. Apr 14 21:35:01 www /USR/SBIN/CRON[4558]: (root) CMD (if [ -x /etc/munin/plugins/apt_all ]; then /etc/munin/plugins/apt_all update 7200 12 >/dev/null; elif [ -x /etc/munin/plugins/apt ]; then /etc/munin/plugins/apt update 7200 12 >/dev/null; fi) Apr 14 21:35:01 www /USR/SBIN/CRON[4559]: (root) CMD ( /opt/observium/poller-wrapper.py 1 >> /dev/null 2>&1) Apr 14 21:35:01 www /USR/SBIN/CRON[4560]: (root) CMD ( /opt/observium/discovery.php -h new >> /dev/null 2>&1) Apr 14 21:35:01 www /USR/SBIN/CRON[4562]: (root) CMD (/usr/bin/motdstat --generate) Apr 14 21:35:01 www /USR/SBIN/CRON[4561]: (munin) CMD (if [ -x /usr/bin/munin-cron ]; then /usr/bin/munin-cron; fi) Apr 14 21:35:12 www ntpd_intres[3303]: host name not found: 0.debian.pool.ntp.org Apr 14 21:35:12 www ntpd_intres[3303]: host name not found: 1.debian.pool.ntp.org Apr 14 21:35:12 www ntpd_intres[3303]: host name not found: 2.debian.pool.ntp.org Apr 14 21:35:12 www ntpd_intres[3303]: host name not found: 3.debian.pool.ntp.org Apr 14 21:37:15 www collectd[4018]: ntpd plugin: Received error code 4 Apr 14 21:37:15 www collectd[4018]: ntpd plugin: ntpd_do_query (REQ_PEER_LIST_SUM) failed with status 4 Apr 14 21:37:15 www collectd[4018]: read-function of plugin `ntpd' failed. Will suspend it for 320.000 seconds. Apr 14 21:37:15 www collectd[4018]: apache: curl_easy_perform failed: Could not resolve host: some.domain.tld Apr 14 21:37:15 www collectd[4018]: read-function of plugin `apache/some.domain.tld/bar' failed. Will suspend it for 320.000 seconds. Apr 14 21:39:01 www /USR/SBIN/CRON[5341]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm) Apr 14 21:39:15 www ntpd_intres[3303]: host name not found: 0.debian.pool.ntp.org Apr 14 21:39:15 www ntpd_intres[3303]: host name not found: 1.debian.pool.ntp.org Apr 14 21:39:15 www ntpd_intres[3303]: host name not found: 2.debian.pool.ntp.org Apr 14 21:39:15 www ntpd_intres[3303]: host name not found: 3.debian.pool.ntp.org Apr 14 21:40:01 www /USR/SBIN/CRON[5359]: (root) CMD (if [ -x /etc/munin/plugins/apt_all ]; then /etc/munin/plugins/apt_all update 7200 12 >/dev/null; elif [ -x /etc/munin/plugins/apt ]; then /etc/munin/plugins/apt update 7200 12 >/dev/null; fi) Apr 14 21:40:01 www /USR/SBIN/CRON[5360]: (munin) CMD (if [ -x /usr/bin/munin-cron ]; then /usr/bin/munin-cron; fi) Apr 14 21:40:01 www /USR/SBIN/CRON[5362]: (root) CMD ( /opt/observium/discovery.php -h new >> /dev/null 2>&1) Apr 14 21:40:01 www /USR/SBIN/CRON[5361]: (root) CMD ( /opt/observium/poller-wrapper.py 1 >> /dev/null 2>&1) Apr 14 21:40:01 www /USR/SBIN/CRON[5363]: (root) CMD (/usr/bin/motdstat --generate)

Si vous avez des idées, des suggestions, des questions ou même la solution ( :smiley: ) je vous attend avec impatience !

Merci,
Arthur.

tu n’as pas moyen d’avoir une sortie console lors du boot ?
Si ça démarre en mode rescue, mais que tu n’as pas accès en ssh sur une démarrage normal, c’est qu’un des modules du noyau (un driver quelconque) pose problème et doit au final faire un kernel panic (je te décris le scénario les plus catastrophique).
Mais c’est peut étre moins grave. Essaie de réinstaller ssh , et de le configurer temporairement avec une authentification login/password, sans utilisation de clef ou de certificat.
cdt,

Ça serait affiché dans kern.log ? Sinon dans /var/log j’ai un fichier boot, mais il est vide…