N. Yaakov Ziskind wrote (on Fri, Apr 24, 2009 at 02:37:36PM -0400):
> Wietse Venema wrote (on Fri, Apr 24, 2009 at 02:28:12PM -0400):
> > N. Yaakov Ziskind:
> > > Uh-oh. Just upgraded a Ubuntu box to the latest and greatesti (jaunty
> > > jackelope), and postfix is dying all over the place:
> > > 
> > > Apr 24 14:06:25 chocolate postfix/smtpd[5176]: connect from 
> > > unknown[unknown]
> > > Apr 24 14:06:25 chocolate postfix/smtpd[5176]: lost connection after 
> > > CONNECT from unknown[unknown]
> > > Apr 24 14:06:25 chocolate postfix/smtpd[5176]: disconnect from 
> > > unknown[unknown]
> > > Apr 24 14:06:25 chocolate kernel: [ 1895.725677] smtpd[5176]: segfault at 
> > > b0d12950 eip b7c560b0 esp bfd1241c error 6
> > > Apr 24 14:06:25 chocolate postfix/master[5141]: warning: process 
> > > /usr/lib/postfix/smtpd pid 5176 killed by signal 11
> > > Apr 24 14:06:25 chocolate postfix/master[5141]: warning: 
> > > /usr/lib/postfix/smtpd:bad command startup -- throttling
> > > 
> > > and on and on. How in the heck did I manage to shoot myself in the foot?
> > 
> > DLL hell. Typical causes are:
> > 
> > - Mixing different versions of Berkeley DB, OpenSSL, SASL, etc.
> > For example, Postfix was built with version X, but nsswitch.conf
> > functions are built with version Y.
> > 
> > An investigation with "ldd" usually shows what the discrepancy is.
> > 
> >     Wietse
> 
> Oh? I don't know what I'm looking at:
> 
> # ldd smtpd
>     linux-gate.so.1 =>  (0xb7f3e000)
>     libpostfix-master.so.1 => /usr/lib/libpostfix-master.so.1 (0xb7f2f000)
>     libpostfix-tls.so.1 => /usr/lib/libpostfix-tls.so.1 (0xb7f20000)
>     libpostfix-dns.so.1 => /usr/lib/libpostfix-dns.so.1 (0xb7f19000)
>     libpostfix-global.so.1 => /usr/lib/libpostfix-global.so.1 (0xb7ee9000)
>     libpostfix-util.so.1 => /usr/lib/libpostfix-util.so.1 (0xb7ebc000)
>     libssl.so.0.9.8 => /lib/i686/cmov/libssl.so.0.9.8 (0xb7e76000)
>     libcrypto.so.0.9.8 => /lib/i686/cmov/libcrypto.so.0.9.8 (0xb7d2a000)
>     libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb7d11000)
>     libdb-4.6.so => /usr/lib/libdb-4.6.so (0xb7be2000)
>     libnsl.so.1 => /lib/tls/i686/cmov/libnsl.so.1 (0xb7bc9000)
>     libresolv.so.2 => /lib/tls/i686/cmov/libresolv.so.2 (0xb7bb3000)
>     libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7a50000)
>     libdb-4.7.so => /usr/lib/libdb-4.7.so (0xb78fb000)
>     libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb78f7000)
>     libz.so.1 => /lib/libz.so.1 (0xb78e1000)
>     libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb78c8000)
>     /lib/ld-linux.so.2 (0xb7f3f000)
> 
> This box is stock ubuntu, and i only use ssl, postfix and samba, so i'm
> wondering what i did wrong. i'm not using sasl, tls or anything other
> than postgrey added on.
> 
> should i just remove postfix and re-install? is it safe to keep main.cf
> and the files i created/modified (transport, recipient_checks,
> whitelist, helo_access, aliases and virtual)?
> 
> Thanks!

To answer my own question: apt-get remove postfix ; apt-get install
postfix got things running again. 

Thanks to all who looked at this.


Reply via email to