db package update to 5.3.15-1 killed postfix

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

db package update to 5.3.15-1 killed postfix

Postby FullHD » Fri Jan 13, 2012 3:01 pm

I just executed "pacman -Syu" on my pink Pogoplug and the db package was updated to 5.3.15-1.
Since then postfix has a problem.

/var/log/mail.log is filled with the following messages:

postfix/master[1234]: warning: process /usr/lib/postfix/smtpd pid 21180 exit status 127
postfix/master[1234]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling

Apparently postfix depends on libdb-5.2.so and that file is no longer present on my Pogoplug since the db package update.
To fix this, I had to go into /usr/lib and
ln -s libdb-5.3.so libdb-5.2.so

Then "/etc/rc.d/postfix start" worked again.
FullHD
 
Posts: 4
Joined: Thu Sep 01, 2011 4:07 pm

Re: db package update to 5.3.15-1 killed postfix

Postby PKG » Sun Jan 15, 2012 12:04 am

This also happened to me. But for me it broke netatalk. Can confirm this method works. Thanks!
PKG
 
Posts: 26
Joined: Thu Jun 30, 2011 8:57 pm

Re: db package update to 5.3.15-1 killed postfix

Postby mon » Mon Jan 16, 2012 11:23 am

still broken as of jan 16th. the link trick didn't work - postfix can start, but it will NOT deliver mail:

Jan 16 12:12:09 localhost postfix/smtpd[1199]: fatal: incorrect version of Berkeley DB: compiled against 5.2.36, run-time linked against 5.3.15
mon
 
Posts: 11
Joined: Sun Nov 21, 2010 11:50 am

Re: db package update to 5.3.15-1 killed postfix

Postby kmihelich » Mon Jan 16, 2012 6:43 pm

Postfix hasn't been updated yet due to a new circular makedepends issue I just found looking into this problem. I'll have it corrected and new versions available via an -Syu shortly.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: db package update to 5.3.15-1 killed postfix

Postby mon » Tue Jan 17, 2012 8:39 am

confirmed as fixed
mon
 
Posts: 11
Joined: Sun Nov 21, 2010 11:50 am

Re: db package update to 5.3.15-1 killed postfix

Postby devr » Thu Jan 19, 2012 6:23 pm

Making the link does not help me when it comes to Openldap:
$this->bbcode_second_pass_code('', '# slapd -d2
4f185b4a @(#) $OpenLDAP: slapd 2.4.28 (Jan 16 2012 19:12:26) $
root@alarm:/build/openldap/src/openldap-2.4.28/servers/slapd
4f185b4a bdb(dc=home,dc=net): BDB1538 Program version 5.3 doesn't match environment version 5.2
4f185b4a bdb_db_open: database "dc=home,dc=net" cannot be opened, err -30969. Restore from backup!
4f185b4a bdb(dc=home,dc=net): BDB1566 txn_checkpoint interface requires an environment configured for the transaction subsystem')

Doing some research online seems I need to:
1. I need to install db-5.2
2. cd to the directory with the bdb files (/var/lib/openldap/openldap-data/).
3. run the commands: $this->bbcode_second_pass_code('', '
db_checkpoint -1
db_recover')
4. reinstall db-5.3
5. run the command:$this->bbcode_second_pass_code('', '
db_recover -e
')
Only issue is where do I get a copy of the db-5.2 package ?
devr
 
Posts: 87
Joined: Wed May 11, 2011 12:22 am

Re: db package update to 5.3.15-1 killed postfix

Postby devr » Fri Jan 20, 2012 12:55 am

The steps I posted above worked, hardest part was trying to find a copy of "db-5.2.36-2-arm.pkg.tar.xz" to downgrade to. A little gotcha for openldap, if you run db_recover as root, make sure you "chown ldap:ldap" on your ldap db files.

If anyone needs a copy of that older db package, let me know.
devr
 
Posts: 87
Joined: Wed May 11, 2011 12:22 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 6 guests