You are not logged in.

#1 2009-10-07 04:31:40

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

[SOLVED] Postfix Berkeley DB Errors

Just doing an -Syu of all my machines, and my backup MX has borked on Postfix:

Oct  7 15:25:32 platypus postfix/smtpd[30616]: fatal: incorrect version of Berkeley DB: compiled against 4.7.25, run-time linked against 4.8.24
Oct  7 15:25:33 platypus postfix/master[30611]: warning: process /usr/lib/postfix/smtpd pid 30616 exit status 1
Oct  7 15:25:33 platypus postfix/master[30611]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling

Not going to touch my primary MX until I can figure this one out!

I compile Postfix myself to remove MySQL and add some custom config files, but I'm -Syu'ed my build server, and recompiled the package, and updated that to the server but I still get these errors?

Any suggestions on where I'm screwing up?

fukawi2@build-server ~  $ pacman -Qi db
Name           : db
Version        : 4.8.24-1
fukawi2@backup-mx ~ $ pacman -Qi db
Name           : db
Version        : 4.8.24-1

Last edited by fukawi2 (2009-10-07 04:57:45)

Offline

#2 2009-10-07 04:45:11

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: [SOLVED] Postfix Berkeley DB Errors

That seems really weird...  are you definite you rebuild postfix after upgrading?  You have actually installed the rebuilt package (might sound basic, but it does happen tongue)

Otherwise, we need to check the official postfix and then look down the dep chain...

Offline

#3 2009-10-07 04:57:34

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: [SOLVED] Postfix Berkeley DB Errors

Nope, ignore me Allan...

Not sure exactly what went wrong -- I ran 'rm -Rf' over my build directory and rebuilt completely from scratch (ie, just my PKGBUILD) and it seems have built and linked properly this time.

I definitely installed the new version the first time:

[2009-10-07 15:24] upgraded postfix-relay (2.6.5-7 -> 2.6.5-8)
[2009-10-07 15:53] synchronizing package lists
[2009-10-07 15:53] starting full system upgrade
[2009-10-07 15:53] upgraded postfix-relay (2.6.5-8 -> 2.6.5-9)

-7 was the original that borked out.
-8 was the rebuild that borked out.
-9 was the build that worked after wiping the build dir

Last edited by fukawi2 (2009-10-07 04:59:59)

Offline

Board footer

Powered by FluxBB