[Postfixbuch-users] smtpd: bad command startup (no version iniformation available)

Andreas Winkelmann ml at awinkelmann.de
So Aug 6 19:46:16 CEST 2006


Am Sunday 06 August 2006 19:41 schrieb Lasse Poeppler:

> > Habe ich noch nie gesehen. Was sagt denn "ldd -v smtpd" ?
>
> # ldd -v /usr/lib/postfix/smtpd
> /usr/lib/postfix/smtpd: /usr/local/lib/libsasl2.so.2: no version
> information ava
>
> ilable (required by /usr/lib/postfix/smtpd)
>         libpostfix-master.so.1 => /usr/lib/libpostfix-master.so.1
> (0x4001e000)
>         libpostfix-global.so.1 => /usr/lib/libpostfix-global.so.1
> (0x40024000)
>         libpostfix-dns.so.1 => /usr/lib/libpostfix-dns.so.1 (0x40048000)
>         libpostfix-util.so.1 => /usr/lib/libpostfix-util.so.1 (0x4004d000)
>         libssl.so.0.9.7 => /usr/lib/i686/cmov/libssl.so.0.9.7 (0x40071000)
>         libcrypto.so.0.9.7 => /usr/lib/i686/cmov/libcrypto.so.0.9.7
> (0x400a2000)
>         libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 (0x401a1000)
>         libdb-4.2.so => /usr/local/bdb/lib/libdb-4.2.so (0x401b5000)
>         libnsl.so.1 => /lib/libnsl.so.1 (0x4025f000)
>         libresolv.so.2 => /lib/libresolv.so.2 (0x40275000)
>         libgdbm_compat.so.3 => /usr/lib/libgdbm_compat.so.3 (0x40287000)
>         libc.so.6 => /lib/libc.so.6 (0x4028a000)
>         libdl.so.2 => /lib/libdl.so.2 (0x403bd000)
>         libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0x403c0000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
>         Version information:
>         /usr/lib/postfix/smtpd:
>                 libsasl2.so.2 (SASL2) => not found
>                 libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
>         /usr/lib/libpostfix-master.so.1:
>                 libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
>         /usr/lib/libpostfix-global.so.1:
>                 libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
>         /usr/lib/libpostfix-dns.so.1:
>                 libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
>                 libresolv.so.2 (GLIBC_2.2) => /lib/libresolv.so.2
>         /usr/lib/libpostfix-util.so.1:
>                 libnsl.so.1 (GLIBC_2.0) => /lib/libnsl.so.1
>                 libdl.so.2 (GLIBC_2.1) => /lib/libdl.so.2
>                 libdl.so.2 (GLIBC_2.0) => /lib/libdl.so.2
>                 libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
>         /usr/lib/i686/cmov/libssl.so.0.9.7:
>                 libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
>         /usr/lib/i686/cmov/libcrypto.so.0.9.7:
>                 libdl.so.2 (GLIBC_2.1) => /lib/libdl.so.2
>                 libdl.so.2 (GLIBC_2.0) => /lib/libdl.so.2
>                 libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
>         /usr/local/lib/libsasl2.so.2:
>                 libdl.so.2 (GLIBC_2.1) => /lib/libdl.so.2
>                 libdl.so.2 (GLIBC_2.0) => /lib/libdl.so.2
>                 libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.0) => /lib/libc.so.6

Mach mal selbiges auf libsasl "ldd -v /usr/local/lib/libsasl2.so.2".

>         /usr/local/bdb/lib/libdb-4.2.so:
>                 libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
>         /lib/libnsl.so.1:
>                 libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.2.3) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
>         /lib/libresolv.so.2:
>                 libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.2) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
>         /usr/lib/libgdbm_compat.so.3:
>                 libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
>         /lib/libc.so.6:
>                 ld-linux.so.2 (GLIBC_2.1) => /lib/ld-linux.so.2
>                 ld-linux.so.2 (GLIBC_2.0) => /lib/ld-linux.so.2
>                 ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
>         /lib/libdl.so.2:
>                 libc.so.6 (GLIBC_2.3) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.1) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_PRIVATE) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
>                 ld-linux.so.2 (GLIBC_PRIVATE) => /lib/ld-linux.so.2
>         /usr/lib/libgdbm.so.3:
>                 libc.so.6 (GLIBC_2.1.3) => /lib/libc.so.6
>                 libc.so.6 (GLIBC_2.0) => /lib/libc.so.6
>
> > Da fehlt was. Ist da beim Einfügen was kaputt gegangen?
>
> Hier nochmal
> # cat /etc/postfix/makedefs.out
> # Do not edit -- this file documents how Postfix was built for your
> machine. SYSTYPE = LINUX2
> AR      = ar
> ARFL    = rv
> RANLIB  = ranlib
> SYSLIBS = -L/usr/local/lib -L/usr/local/mysql/lib/mysql
> -L/usr/local/bdb/lib -ldb -lsasl2 -lmysqlclient -lz -lm -lcrypt -lssl
> -ldb -lnsl -lresolv
> CC      = gcc $(WARN) -DHAS_MYSQL -I/usr/local/mysql/include/mysql
> -DUSE_SASL_AUTH -I/usr/local/include/sasl -DHAS_SSL
> -I/usr/include/openssl -DHAS_DB -I/usr/local/bdb/include
> OPT     = -O
> DEBUG   = -g
> AWK     = awk
> STRCASE =
> EXPORT  = AUXLIBS='-L/usr/local/lib -L/usr/local/mysql/lib/mysql
> -L/usr/local/bdb/lib -ldb -lsasl2 -lmysqlclient -lz -lm -lcrypt -lssl'
> CCARGS='-DHAS_MYSQL -I/usr/local/mysql/include/mysql -DUSE_SASL_AUTH
> -I/usr/local/include/sasl -DHAS_SSL -I/usr/include/openssl -DHAS_DB
> -I/usr/local/bdb/include' OPT='-O' DEBUG='-g'
> WARN    = -W -Wformat -Wimplicit -Wmissing-prototypes \
>         -Wparentheses -Wstrict-prototypes -Wswitch -Wuninitialized \
>         -Wunused
> #

Sieht schon wesentlich realistischer aus. Aber ok.

> > Irgendwelche Updates in letzter Zeit?
>
> Wie gesagt, soweit mir bekannt: Nein. (Ich weiss, schwammige Aussage)

Ist postfix oder cyrus-sasl selber gebaut?

-- 
	Andreas



Mehr Informationen über die Mailingliste Postfixbuch-users