Smartd stratet nicht
Smartd stratet nicht
Hallo Leute,
Ich bin seit ein paar Minuten der neue hier auf dem Schiff.
Zu meinem Problem:
Mir ist vor 2-3 Tagen aufgefallen das der Smartd Daemon nicht läuft.
Wenn ich den per Console Starten will (SSH) kommt die Meldung das dieser nicht gestartet werden kann.
Die Config Datei sollte richtig eingestellt sein da ich dort nichts geändert habe.
Woran könnte das liegen das Smartd nicht Startet ?
MFG
Patrick
Ich bin seit ein paar Minuten der neue hier auf dem Schiff.
Zu meinem Problem:
Mir ist vor 2-3 Tagen aufgefallen das der Smartd Daemon nicht läuft.
Wenn ich den per Console Starten will (SSH) kommt die Meldung das dieser nicht gestartet werden kann.
Die Config Datei sollte richtig eingestellt sein da ich dort nichts geändert habe.
Woran könnte das liegen das Smartd nicht Startet ?
MFG
Patrick
- schorsch_76
- Beiträge: 2630
- Registriert: 06.11.2007 16:00:42
- Lizenz eigener Beiträge: MIT Lizenz
Re: Smartd stratet nicht
Was für eine Fehlermeldung spuckt er denn aus? Steht was in /var/log/messages?
Re: Smartd stratet nicht
Fehlermeldung bekommt ich eine einfache: [FAIL] Starting S.M.A.R.T. daemon: smartd failed!
und in der Log steht:
Feb 7 06:25:20 multi-webhosting rsyslogd: [origin software="rsyslogd" swVersion="5.8.11" x-pid="1884" x-info="http://www.rsyslog.com"] rsyslogd was HUPed
da werde ich irgendwie nicht schaul durch
und in der Log steht:
Feb 7 06:25:20 multi-webhosting rsyslogd: [origin software="rsyslogd" swVersion="5.8.11" x-pid="1884" x-info="http://www.rsyslog.com"] rsyslogd was HUPed
da werde ich irgendwie nicht schaul durch
Re: Smartd stratet nicht
Das eine hat aber mit dem anderen nichts zu tun. Du solltest rausfinden, warum dein smartd nicht startet. Generische Vorgehensweise für viele Daemons wäre, sie im Vordergrund mit höherem Loglevel zu starten.
Re: Smartd stratet nicht
Wie erhöht man das LogLevel und was soll das bringen ?
Re: Smartd stratet nicht
Wie’s erhöht wird, steht in der Doku, und bringen soll es Informationen – im besten Fall die Ursache des Problems im Klartext.
Re: Smartd stratet nicht
Ich hatte unter va/logs einige Datein gefunden dort war auch eine Daemon Log dabei.
Hier die letzten Einträge bezüglich Smartd hoffe die Helfen weiter.
Feb 1 18:18:11 multi-webhosting smartd[5941]: smartd 6.2 2013-07-26 r3841 [x86_64-linux-3.2.0-4-amd64] (local build)
Feb 1 18:18:11 multi-webhosting smartd[5941]: Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
Feb 1 18:18:11 multi-webhosting smartd[5941]: Opened configuration file /etc/smartd.conf
Feb 1 18:18:11 multi-webhosting smartd[5941]: Drive: DEVICESCAN, implied '-a' Directive on line 21 of file /etc/smartd.conf
Feb 1 18:18:11 multi-webhosting smartd[5941]: Configuration file /etc/smartd.conf was parsed, found DEVICESCAN, scanning devices
Feb 1 18:18:11 multi-webhosting smartd[5941]: Unable to monitor any SMART enabled devices. Try debug (-d) option. Exiting...
Feb 1 20:23:27 multi-webhosting named[12455]: client 94.102.56.229#38403: query (cache) 'iri.so/ANY/IN' denied
Feb 1 21:34:02 multi-webhosting named[12455]: client 134.147.203.115#10217: query (cache) '0123.153b042e.dnsr.if-is.net/A/IN' denied
Feb 2 01:44:14 multi-webhosting named[12455]: client 204.42.253.2#60167: query (cache) '674d725c.openresolverproject.org/A/IN' denied
Hier die letzten Einträge bezüglich Smartd hoffe die Helfen weiter.
Feb 1 18:18:11 multi-webhosting smartd[5941]: smartd 6.2 2013-07-26 r3841 [x86_64-linux-3.2.0-4-amd64] (local build)
Feb 1 18:18:11 multi-webhosting smartd[5941]: Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org
Feb 1 18:18:11 multi-webhosting smartd[5941]: Opened configuration file /etc/smartd.conf
Feb 1 18:18:11 multi-webhosting smartd[5941]: Drive: DEVICESCAN, implied '-a' Directive on line 21 of file /etc/smartd.conf
Feb 1 18:18:11 multi-webhosting smartd[5941]: Configuration file /etc/smartd.conf was parsed, found DEVICESCAN, scanning devices
Feb 1 18:18:11 multi-webhosting smartd[5941]: Unable to monitor any SMART enabled devices. Try debug (-d) option. Exiting...
Feb 1 20:23:27 multi-webhosting named[12455]: client 94.102.56.229#38403: query (cache) 'iri.so/ANY/IN' denied
Feb 1 21:34:02 multi-webhosting named[12455]: client 134.147.203.115#10217: query (cache) '0123.153b042e.dnsr.if-is.net/A/IN' denied
Feb 2 01:44:14 multi-webhosting named[12455]: client 204.42.253.2#60167: query (cache) '674d725c.openresolverproject.org/A/IN' denied
Re: Smartd stratet nicht
Probiere mal die devices durchUnable to monitor any SMART enabled devices.
Code: Alles auswählen
smartctl -a /dev/sda
smartctl -a /dev/sdb
....
Code: Alles auswählen
smartctl -s on -S on -o on /dev/sda
smartctl -s on -S on -o on /dev/sdb
....
die smartmontools nicht in seiner db hat.
(wheezy) funktioniert leider nicht mehr,/usr/sbin/update-smart-drivedb
/usr/share/smartmontools/drivedb.h
das Skript hat eine falsche Zieladresse, die db hat mittlerweile neues Format.
Eventueller walkaround:
Das Skript aus jessie verwenden,
die heruntergeladene db auf Einträge zu den vorhandenen devices prüfen,
diese Einträge im "alten" Format in
/etc/smart_drivedb.h
unterbringen.
(Einschränkung, gewisse Tweaks funktionieren nicht mit den smart-Tools in wheezy,
zBsp. einige zur livetime-Interpretation)
Jedoch ist das meiner Erfahrung nach eher Schönheitsoperation der Darstellung.
und smartd aktiviert normalerweise selbst SMART auf den vorgefundenen devices,
sodaß ich mir den Abbruch eigentlich so nicht erklären kann.
Vielleicht gibt es eine generelle Inkompatibilität, das sollte obiges 'smartctl -a ...' zeigen.
Eventuell hilft auch ein firmware-Upgrade der Platte(n).
mfg rendegast
-----------------------
Viel Eifer, viel Irrtum; weniger Eifer, weniger Irrtum; kein Eifer, kein Irrtum.
(Lin Yutang "Moment in Peking")
-----------------------
Viel Eifer, viel Irrtum; weniger Eifer, weniger Irrtum; kein Eifer, kein Irrtum.
(Lin Yutang "Moment in Peking")
Re: Smartd stratet nicht
Code: Alles auswählen
Feb 1 18:18:11 multi-webhosting smartd[5941]: Unable to monitor any SMART enabled devices. Try debug (-d) option. Exiting...
Re: Smartd stratet nicht
Also wenn ich folgendes in Putty aufrufe:
smartctl -a /dev/sda
kommt
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.2.0-4-amd64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, http://www.smartmontools.org
Smartctl open device: /dev/sda failed: AMCC/3ware controller, please try adding '-d 3ware,N',
you may need to replace /dev/sda with /dev/twlN, /dev/twaN or /dev/tweN
bei dem anderen kommt einfach das kein Device gefunden wurde
*EDIT*
habe soeben die Firmware Aktuallisiert konnte jedoch nicht zur Problemlösung helfen
smartctl -a /dev/sda
kommt
smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.2.0-4-amd64] (local build)
Copyright (C) 2002-13, Bruce Allen, Christian Franke, http://www.smartmontools.org
Smartctl open device: /dev/sda failed: AMCC/3ware controller, please try adding '-d 3ware,N',
you may need to replace /dev/sda with /dev/twlN, /dev/twaN or /dev/tweN
bei dem anderen kommt einfach das kein Device gefunden wurde
*EDIT*
habe soeben die Firmware Aktuallisiert konnte jedoch nicht zur Problemlösung helfen
Re: Smartd stratet nicht
Gruss CaeSpanien16 hat geschrieben:Code: Alles auswählen
AMCC/3ware controller, please try adding '-d 3ware,N',
If universal surveillance were the answer, lots of us would have moved to the former East Germany. If surveillance cameras were the answer, camera-happy London, with something like 500,000 of them at a cost of $700 million, would be the safest city on the planet.
—Bruce Schneier