OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Problems with smtpd killed by signal 11

From: Andreas Winkelmann (mlawinkelmann.de)
Date: Sun Jan 08 2006 - 15:13:55 CST


Am Sunday 08 January 2006 21:47 schrieb Daryn:

Please do not Hijack foreign Threads.

> I've asked this problem before, received instructions from a couple of
> generous guys, ran off to try them out and proceeded to still tear my hair
> out.. :)
>
> The persistent problem is that I cannot contact my mail server (setup in a
> chroot jail with sasl and mysql and antivirus support etc). The error log
> reports: Jan 8 20:47:17 krynn postfix/master[19573]: warning: process
> /usr/libexec/postfix/smtpd pid 19579 killed by signal 11
> Jan 8 20:47:17 krynn postfix/master[19573]: warning:
> /usr/libexec/postfix/smtpd: bad command startup -- throttling
>
>
> I've installed postfix with the command:
> make makefiles CCARGS="-DUSE_SASL_AUTH -I/usr/include/sasli -DUSE_TLS

Is the "i" behind /usr/include/sasl a Typo or it is the Real path?

> -DHAS_MYSQL -I/usr/local/mysql/include/mysql" AUXLIBS="-L/usr/lib -lsasl2
> -lssl -lcrypto -L/usr/local/mysql/lib/mysql -lmysqlclient -lz -lm"
>
> make install
>
> (a number of times, by just installing over the old version)
>
> I've previously installed mysql 5.0.16 from source with the command line:
> CC=gcc CXX=gcc CFLAGS="-O3 -mpentiumpro" CXX=gcc CXXFLAGS="-O3 -mpentiumpro
> -felide-constructors -fno-exceptions -fno-rtti" ./configure
> --prefix=/usr/local/mysql --with-unix-socket-path=/var/run/mysql.sock
> --with-debug --enable-thread-safe-client --with-big-tables --with-openssl
>
> All was installed perfectly. I run postfix, I run mysql, I run clamd, sasl
> and then I try to telnet to port 25:
> [rootkrynn postfix-2.2.5]# telnet localhost 25
> Trying 127.0.0.1...
> Connected to localhost.localdomain (127.0.0.1).
> Escape character is '^]'.
> Connection closed by foreign host.
>
> which is not good.
>
> I was advised by Wietse and Magnus that my libmyssqlclient.so libraries
> might be at fault (I was running the pre-compiled binaries of mysql). Thus,
> I downloaded the source and compiled as shown above. However, the problem
> is persisting.
>
> Can anyone see anything I'm doing wrong in the compile statements above, or
> could it be another problem please?
>
> (Thanks for any and all help, it's highly appreciated)

Which OS do you use?

Maybe it is the Linux-DLL-Hell (Like Witse sometimes say). Check with ldd the
Postfix smtpd and all linked Libraries. Sometimes there are diffrent Versions
of one Lib in the same Adress-Space. Maybe Postfix is Linked against db4 and
Cyrus-SASL is linked against a diffrent Version.

Another try is, getting a Backtrace from smtpd. Look in DEBUG_README for
details.

--
        Andreas