Archiv verlassen und diese Seite im Standarddesign anzeigen : smartd-Benachrichtigungs-eMail ohne IPv6
prostetnik
18.03.09, 10:29
Hallo,
smartd hat mir bis vor Kurzem eMails im Fehlerfall gesendet. Nun habe ich aus Performance-Gründen (firefox) IPv6 deaktiviert.
Leider bekomme ich aber nun keine Benachrichtigungen mehr.
Gebe ich in der smartd.conf einen anderern MTA ein, mit
"-M exec /usr/sbin/sendmail" oder "...postfix", so erhalte ich beim Test mit "smartd -q onecheck" statt der eMail eine Fehlermeldung:
---
Warning via /usr/sbin/postfix to ws@fishes.de produced unexpected output (29 bytes) to STDOUT/STDERR:
postfix: invalid option -- s
---
...entsprechend mit sendmail
Was kann ich tun?
Vielen Dank im Voraus
gruß
prostetnik
Probier's mal mit "/usr/bin/mail" statt postfix oder sendmail.
prostetnik
18.03.09, 17:55
Probier's mal mit "/usr/bin/mail" statt postfix oder sendmail.
Hallo MiGo,
danke für Deine Antwort.
Gem. Dokumentation ist das ja /usr/bin/mail standardmäßig.
Die Fehlermeldung ist dementsprechend auch:
---
Warning via /usr/bin/mail to <eMail> produced unexpected output (244 bytes) to STDOUT/STDERR:
send-mail: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
send-mail: warning: inet_protocols: configuring for IPv4 support only
send-mail: fatal: config variable inet_interfaces: host not found: ::1
Warning via /usr/bin/mail to <eMail>: successful
Device: /dev/hda, 3 Offline uncorrectable sectors
Sending warning via /usr/bin/mail to <eMail> ...
Warning via /usr/bin/mail to <eMail> produced unexpected output (244 bytes) to STDOUT/STDERR:
send-mail: warning: inet_protocols: IPv6 support is disabled: Address family not supported by protocol
send-mail: warning: inet_protocols: configuring for IPv4 support only
send-mail: fatal: config variable inet_interfaces: host not found: ::1
Warning via /usr/bin/mail to <eMail>: successful
---
Oder ist dort noch Konfigurationsarbeit fällig?
gruß
prostetnik
Stormbringer
18.03.09, 18:08
Was steht denn in der /etc/postfix/main.cf bei inet_interfaces?
Vllt. noch inet_interfaces = 127.0.0.1 ::1?
Bis denn
prostetnik
18.03.09, 18:59
Hallo Stormbringer,
da steht
inet_interfaces = 127.0.0.1 ::1
gruß
prostetnik
Stormbringer
18.03.09, 19:52
da steht
inet_interfaces = 127.0.0.1 ::1
Das ist eine IPV6 Angabe ... wenn Du aber IPV6 deaktiviert hast, wird das nichts ;)
Ändere es bspw. in:
inet_interfaces = 127.0.0.1
oder, um erst einmal zu schauen ob dies wirklich der Grund ist, in: inet_interfaces = all
Anschließend postfix neu starten, und nochmals versuchen eine Email zu versenden.
Bis denn
prostetnik
18.03.09, 21:14
Hallo Stormbringer,
mit "inet_interfaces = all" getestet - ok
mit "inet_interfaces = 127.0.0.1 geändert
- alles läuft wieder
(War mir gar nicht klar, dass postfix aktiv ist)
Vielen Dank - heißer Tip
gruß
prostetnik
Stormbringer
18.03.09, 23:38
Vielen Dank - heißer Tip
Gg
(War mir gar nicht klar, dass postfix aktiv ist)
... aber das hast Du doch selbst gepostet :) :
"-M exec /usr/sbin/sendmail" oder "...postfix", so erhalte ich beim Test mit "smartd -q onecheck" statt der eMail eine Fehlermeldung:
---
Warning via /usr/sbin/postfix to ws@fishes.de produced unexpected output (29 bytes) to STDOUT/STDERR:
postfix: invalid option -- s
:)
Bis denn
Device: /dev/hda, 3 Offline uncorrectable sectors
Das da würde mir viel mehr sorgen machen :)
prostetnik
19.03.09, 10:35
ja und nein!
Das ist seit langer Zeit (2 Jahre) immer die gleiche Fehlermeldung.
In nächster Zeit (bevor ich suse update) werde ich die Platte freiräumen und versuchen mit den seagate-tools zu bearbeiten.
Mir ist nicht genau klar, was diese Fehlermeldung letztendlich bedeutet. Wird der Sektor beschrieben oder nicht.
gruß
prostetnik
Stormbringer
19.03.09, 10:41
Lies Dir vorher unbedingt dies durch:
http://linux.derkeiler.com/Mailing-Lists/Fedora/2006-08/msg03548.html
Bis denn
prostetnik
19.03.09, 19:22
Hallo Stormbringer,
vielen Dank für die zus. Info - womit habe ich das verdient ;-)
(das drucke ich mir gerade aus)
Vielen Dank Euch allen!
gruß
prostetnik
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.