Xymon Mailing List Archive search

Alerts don't go out

5 messages in this thread

list Hermann-Josef Beckers · Tue, 8 Nov 2011 10:17:24 +0100 ·
After a planned reboot this morning xymon is no longer able to send alert messages The alert logfile is filled with the following messages:

"send-mail: fatal: parameter inet_interfaces: no local interface found for ::1
send-mail: fatal: parameter inet_interfaces: no local interface found for ::1"

Sending messages from the command line using sendemail.sh works.

Operating system is openSuSe 11.3, x86_64, xymon version is 4.3.5,
According to yast2 IPv6 is disabled.


Any hints?

Yours
hjb
list Henrik Størner · Tue, 08 Nov 2011 10:57:56 +0100 ·
On 08-11-2011 10:17, Hermann-Josef Beckers wrote:
send-mail: fatal: parameter inet_interfaces: no local interface found
for ::1
Not really a Xymon issue. Doing a google with that error message, the 
first hit is

http://forums.opensuse.org/english/get-technical-help-here/network-internet/436441-postfix-error-message.html

which begins with

    Noticed in logs messages (ESC on boot) that postfix is failing
    every time I boot. Only error I find in logs is:

    Apr 3 07:05:04 linux-7utx postfix[3788]: fatal: parameter
    inet_interfaces: no local interface found for ::1

and ends with

   i solved this by setting in /etc/postfix/main.cf

   inet_protocols = ipv4
   inet_interfaces = all


Does that help ?


Regards,
Henrik
list Hermann-Josef Beckers · Tue, 8 Nov 2011 11:07:42 +0100 ·
xymon-bounces at xymon.com schrieb am 08.11.2011 10:57:56:

Hi Henrik,

thank you for the prompt response:
quoted from Hermann-Josef Beckers
On 08-11-2011 10:17, Hermann-Josef Beckers wrote:
send-mail: fatal: parameter inet_interfaces: no local interface found
for ::1
Not really a Xymon issue. Doing a google with that error message, the first hit is

http://forums.opensuse.org/english/get-technical-help-here/network-
internet/436441-postfix-error-message.html
quoted from Henrik Størner

which begins with

    Noticed in logs messages (ESC on boot) that postfix is failing
    every time I boot. Only error I find in logs is:

    Apr 3 07:05:04 linux-7utx postfix[3788]: fatal: parameter
    inet_interfaces: no local interface found for ::1

and ends with

   i solved this by setting in /etc/postfix/main.cf

   inet_protocols = ipv4
   inet_interfaces = all


Does that help ?
setting inet_protocols from "all" to "ipv4" did the trick.
inet_interfaces is "localhost". But my postfix main.cf file had a modification date of 2010-09-29? 
Thanks again.

Yours
hjb
list Phil Crooker · Wed, 09 Nov 2011 11:47:52 +1100 ·
quoted from Hermann-Josef Beckers
setting inet_protocols from "all" to "ipv4" did the trick.
inet_interfaces is "localhost". But my postfix main.cf file had a modification date of 2010-09-29? 
Itis probably in the /etc/hosts file - that is where postfix looks for
the host name - main.cf probably had localhost for the inet_interfaces
parameter and no corresponding entry in the hosts file.
On 8/11/2011 at 9:07 PM, in message
<user-53fdd4be073c@xymon.invalid>,
quoted from Hermann-Josef Beckers
"Hermann-Josef Beckers" <user-3e5362deca72@xymon.invalid> wrote:
xymon-bounces at xymon.com schrieb am 08.11.2011 10:57:56:

Hi Henrik,

thank you for the prompt response:
On 08-11-2011 10:17, Hermann-Josef Beckers wrote:
send-mail: fatal: parameter inet_interfaces: no local interface
found
for ::1
Not really a Xymon issue. Doing a google with that error message,
the 
first hit is

http://forums.opensuse.org/english/get-technical-help-here/network-
internet/436441-postfix-error-message.html

which begins with

    Noticed in logs messages (ESC on boot) that postfix is failing
    every time I boot. Only error I find in logs is:

    Apr 3 07:05:04 linux-7utx postfix[3788]: fatal: parameter
    inet_interfaces: no local interface found for ::1

and ends with

   i solved this by setting in /etc/postfix/main.cf

   inet_protocols = ipv4
   inet_interfaces = all


Does that help ?
setting inet_protocols from "all" to "ipv4" did the trick.
inet_interfaces is "localhost". But my postfix main.cf file had a modification date of 2010-09-29? 
Thanks again.

Yours
hjb
list Hermann-Josef Beckers · Wed, 9 Nov 2011 08:05:31 +0100 ·
"Phil Crooker" <user-e8e31cd73303@xymon.invalid> schrieb am 09.11.2011 01:47:52:

Hi Phil,
Von:
quoted from Phil Crooker
...
setting inet_protocols from "all" to "ipv4" did the trick.
inet_interfaces is "localhost". But my postfix main.cf file > had a modification date of 2010-09-29? 
Itis probably in the /etc/hosts file - that is where postfix looks for
the host name - main.cf probably had localhost for the inet_interfaces
parameter and no corresponding entry in the hosts file.
Yes, /etc/hosts contains "::1   localhost ipv6-localhost ipv6-loopback",
but its modification date is from 2011-05-27. This server is rebooted once a week, so postfix should have complained earlier ...

Yours
hjb