OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: (smtp), uid 1002: exited on signal 10

From: RYAN M. vAN GINNEKEN (luckcomputerking.ca)
Date: Tue Mar 14 2006 - 02:25:56 CST


----- Original Message -----
From: Victor Duchovni <Victor.DuchovniMorganStanley.com>
To: postfix-userspostfix.org
Sent: Monday, March 13, 2006 9:59:31 AM GMT-0700
Subject: Re: (smtp), uid 1002: exited on signal 10

On Sun, Mar 12, 2006 at 05:34:37PM -0700, RYAN M. vAN GINNEKEN wrote:

[ A: You should not top-post ]
[ Q: What should you not do? ]

Sorry my clock got messed up somehow

> > Mar 12 15:00:17 tokyo /kernel: pid 51232 (smtp), uid 1002: exited on signal 10
> >
>
> What is signal 10 on your system? (kill -l).
>
> 10 SIGBUS create core image bus error

Probable shared library conflict.

> > smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
> > smtp_tls_loglevel = 2
> > smtp_tls_note_starttls_offer = yes
> > smtp_use_tls = yes
>
> DLL hell? What are the run-time dependencies of smtp(8)?
> not sure how do i find out
>
> What libraries was it compiled with?
> Again not to sure it this the it
>
> /usr/local/libexec/postfix/smtpd: =
> libpcre.so.0 => /usr/local/lib/libpcre.so.0 (0x280a7000)
> libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x280bd000)
> libpam.so.1 => /usr/lib/libpam.so.1 (0x280d2000)
> libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x280dc000)
> libssl.so.4 => /usr/local/lib/libssl.so.4 (0x280f5000)
> libcrypto.so.4 => /usr/local/lib/libcrypto.so.4 (0x2812f000)
> libdb4.so.0 => /usr/local/lib/libdb4.so.0 (0x28245000)
> libc.so.4 => /usr/lib/libc.so.4 (0x282cb000)

This is useful, now the question is what libraries do PAM and/or the
system nsswitch bring in?

Do not think there is such an equivalent for FreeBSD looking over my nsswitch on my ferdora box i am not sure where i would find this on BSD
/loader/boot mabey i don't really know.

 Please post the contents of /etc/nsswitch.conf
(or FreeBSD equivalent). It may be the case that nsswitch or PAM loads
an incompatible Berkeley DB

now that u mention it there were two verions of berkeley db on my system i removed one and then reinsalled the other that postfix was depending on and got this during reinstall. Of course postfix is still broken.

chmod 644 /usr/local/lib/libdb4_cxx.a
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
ln: libdb4.so: File exists
echo "Installing DB utilities: /usr/local/bin ..."
Installing DB utilities: /usr/local/bin ...
cp -fp db4_dump185 /usr/local/bin/db4_dump185
libtool: install: warning: `libdb4.la' has not been installed in `/usr/local/lib'
cp -fp .libs/db4_archive /usr/local/bin/db4_archive
libtool: install: warning: `libdb4.la' has not been installed in `/usr/local/lib'
cp -fp .libs/db4_checkpoint /usr/local/bin/db4_checkpoint
libtool: install: warning: `libdb4.la' has not been installed in `/usr/local/lib'
cp -fp .libs/db4_deadlock /usr/local/bin/db4_deadlock
libtool: install: warning: `libdb4.la' has not been installed in `/usr/local/lib'
cp -fp .libs/db4_dump /usr/local/bin/db4_dump
libtool: install: warning: `libdb4.la' has not been installed in `/usr/local/lib'
cp -fp .libs/db4_load /usr/local/bin/db4_load
libtool: install: warning: `libdb4.la' has not been installed in `/usr/local/lib'
cp -fp .libs/db4_printlog /usr/local/bin/db4_printlog
libtool: install: warning: `libdb4.la' has not been installed in `/usr/local/lib'
cp -fp .libs/db4_recover /usr/local/bin/db4_recover
libtool: install: warning: `libdb4.la' has not been installed in `/usr/local/lib'
cp -fp .libs/db4_stat /usr/local/bin/db4_stat
libtool: install: warning: `libdb4.la' has not been installed in `/usr/local/lib'
cp -fp .libs/db4_upgrade /usr/local/bin/db4_upgrade
libtool: install: warning: `libdb4.la' has not been installed in `/usr/local/lib'
cp -fp .libs/db4_verify /usr/local/bin/db4_verify
Installing documentation: /usr/local/share/doc/db4 ...
===> Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===> Registering installation for db4-4.0.14_1,1
[Tue Mar 14] 12:54 AM [0]

 or an incompatible SASL library.

> Do the system nsswitch modules bring in conflicting libraries?
> what do not think i have an nssswitch running FreeBSD 4.11 stable not linux
>
>
> When will glibc systems have a decent shared
> library implementation (like SunOS does).
>
> Your guess is a good a mine i was unaware that this was such a problem

Multiple incompatible implementations of the same interface within
the same address-space are a problem on all systems. The degree of
the damage varies, but the problem is never removed so long as dynamic
loading is employed. My $0.02 is that all use of dynamic loading are
design failures that are correctly addressed via IPC.

--
        Viktor.

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.

To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomopostfix.org?body=unsubscribe%20postfix-users>

If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.

--
Computer King/CaNMail

http://www.computerking.ca http://www.canmail.org

Sales, Service, and Hosting
Email, Data, and Web Packages
Ask about web design specials

Affiliates
http://www.computerking.ca/pages/links/affiliates/affiliates.htm

Maybe Computer Science should be in the College of Theology. -- R. S. Barton