6 msgDSN relay host
1 msgRestrict sender and from to one domain on outbo...
10 msgOutbound postfix routing issue
25 msgProblem with Black List
3 msgLooking at new mail server layout

why every minute: 'reload configuration /etc/po...
\ Andy Spiegl (7 May 2008)
. \ (Wietse Venema) (7 May 2008)
. . \ Andy Spiegl (8 May 2008)
. . . \ Ralf Hildebrandt (8 May 2008)
. . . . \ Arne Hoffmann (8 May 2008)
. . . . \ Andy Spiegl (8 May 2008)
. . . . . \ Victor Duchovni (8 May 2008)
. . . . . . \ Ralf Hildebrandt (8 May 2008)
. . . . . \ Arne Hoffmann (8 May 2008)
. . . . . \ Bill Cole (8 May 2008)
. . . . . . \ Andy Spiegl (9 May 2008)
. . . . . . . \ (Wietse Venema) (9 May 2008)
. . . . . . . . \ Andy Spiegl (9 May 2008)
. . . . . . . . . \ (Wietse Venema) (9 May 2008)
. . . . . . . . . \ Bill Cole (9 May 2008)
. . . . . . . . . . \ Ralf Hildebrandt (9 May 2008)
. . . . . . . . . . . \ Ralf Hildebrandt (9 May 2008)
. . . . . . . . . . . . \ (Wietse Venema) (9 May 2008)
. . . . . . . . . . . . . \ Harald Koch (9 May 2008)
. . . . . . . . . . . . . . \ Ralf Hildebrandt (9 May 2008)
. . . . . . . . . . . . \ Bill Cole (9 May 2008)
. . . . . . . . . . . . . \ (Wietse Venema) (9 May 2008)
. . . \ (Wietse Venema) (8 May 2008)
. . . \ Tomasz Suchodolski (8 May 2008)
. . . . \ Andy Spiegl (8 May 2008)
. . . . . \ Victor Duchovni (8 May 2008)

2 msgmyhostname parameter
17 msgRBL problems with smarthost on private address ...
34 msgBackscatting filter?
3 msghow to setup postfix in 'deliver-only' mode?
7 msgSlow queue configuration
17 msgSome Windows SMTP Server have problems with STA...
5 msgFor each check_ns or each check_mx, the value i...
4 msgpostfix and spf
2 msgPassword Validation in postfix
4 msgcatching some spam with warn_if_reject and reje...
9 msgRFC: Check mail quota at a mail relay (backscat...
31 msgGPS vs GLD (greylisting)
3 msgUnmeant update from 2.2.10 to 2.5.1
27 msgmailq lockups
Subject:Re: why every minute: 'reload configuration /etc/postfix' - SOLVED
Group:Postfix-users
From:Arne Hoffmann
Date:8 May 2008


 
Andy Spiegl wrote:
> I found the culprit: bind9 causes postfix to reload.
>
> The whole problem is a combination with a watchdog that checks whether
> bind is running correctly. It uses "rndc status" which seems to have
> a bug in Debian 4.0:
> # rndc status
> rndc: symbol lookup error: /usr/lib/libbind9.so.0: undefined symbol: isc_net_pton

root@nell:~# cat /etc/debian_version
4.0
root@nell:~# rndc status
number of zones: 6
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is OFF
recursive clients: 0/1000
tcp clients: 0/100
server is up and running
root@nell:~#

Your system is broken.

> As this test fails, it kills and restarts bind.

1) watchdog can check your system with a *custom* script. Config parameter:
'test-binary = /path/to/script'. There is no test-binary in the default config.

2) In case of a problem (return code of test-binary != 0) watchdog executes
a 'repair-binary'.

3) By default there is no repair-binary configured, but there is an
*example* script: /usr/share/doc/watchdog/examples/repair.sh

> The only part that I still don't understand (but doesn't matter anymore):
> How are bind and postfix connected???

4) the repair-binary is called with the exit code of the test-binary. In
case of repair.sh: If $1 is 100 or 101 it basically does a
'/etc/init.d/networking restart'. This leads to the execution of
/etc/network/if-down.d/postfix which in turn leads to a 'postfix
reload'.

5) The command 'rndc status' doesn't appear in watchdogs default config or
in one of the supplied example scripts. Somebody wrote a custom
test-binary an screwed up.


© 2004-2008 readlist.com