[rancid] Setting up Rancid on FreeBSD 10.1

Nick Hilliard nick at foobar.org
Sun Mar 22 20:54:57 UTC 2015


On 22/03/2015 19:25, Andrew S. Meyer wrote:
> Has anyone else run into this?  If so how do you fix it?  I’m almost done
> with my rancid setup.

this is a mail configuration problem rather than a rancid problem.  Looks
to me like there could be a problem with your mail aliases.

> Mar 22 14:15:00 monitoring1 postfix/local[1513]: warning:
> /usr/local/etc/postfix/main.cf, line 573: overriding earlier entry:
> alias_maps=dbm:/etc/mail/aliases

this looks like a mistake in your postfix config.

> Mar 22 14:15:00 monitoring1 postfix/local[1513]: warning: database
> /etc/mail/aliases.db is older than source file /etc/mail/aliases

you need to run:

# postalias /etc/mail/aliases

> Mar 22 14:15:00 monitoring1 postfix/local[1513]: 0E2DC7590B:
> to=<rancid at monitoring1.borg.priv>, orig_to=<rancid>, relay=local,
> delay=0.02, delays=0.01/0/0/0, dsn=2.0.0, status=sent (delivered to mailbox)

looks like the mail was delivered to /var/mail/rancid.

> Here is the crontab for rancid.  I have it setup to check and email me so
> often to do some testing.  I DO plan to change this once completed:

bear in mind that if you are polling devices with nvram, rancid will issue
a configuration write.  On some types of kit, this can cause the nvram to
wear out after a couple of years.

Nick




More information about the Rancid-discuss mailing list