I'm currently running smoothly 4 cyrus-imap servers and
when trying to add 3 more I got the _funky_ Death by 11
when telnetting 143 (see logs below).

The old servers are under mandrake 7.1 with
- cyrus-imapd-2.0.7
- cyrus-sasl-1.5.24
- openldap-1.2.7
- pam-ldap or sasl_ldap_mysql.patch

The new servers are running mandrake 8.0 with compiled
- cyrus-imapd-2.0.16
- cyrus-sasl-1.5.24
- openldap-2.0.21
- sasl-ldap+mysql.patch

I'd like to fix this as I spent one week (night and day)
recompiling, reinstalling and so on...

Or is there a set of running compatible releases of :
- cyrus-imap
- cyrus-sasl
- openldap-2xx
- pam-ldap or sasl-ldap patch
- postfix
- reiserfs
- raid1

Thanks in advance...
--
Bernard FRIT

 >>>>>> logs <<<<<<<

The libs seem ok :
----
ldd /usr/cyrus/bin/imapd

libsasl.so.7 => /usr/local/lib/libsasl.so.7 (0x40017000)
libdl.so.2 => /lib/libdl.so.2 (0x40028000)
libdb-3.1.so => /lib/libdb-3.1.so (0x4002c000)
libresolv.so.2 => /lib/libresolv.so.2 (0x400a9000)
libc.so.6 => /lib/libc.so.6 (0x400bb000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x401e8000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

ldd /usr/local/lib/libsasl.so.7

libdb-3.1.so => /lib/libdb-3.1.so (0x40012000)
libdl.so.2 => /lib/libdl.so.2 (0x4008f000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40093000)
libresolv.so.2 => /lib/libresolv.so.2 (0x400c1000)
libc.so.6 => /lib/libc.so.6 (0x400d3000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)

rpm -qa | grep db

db3-3.1.17-1mdk
libgdbm1-1.8.0-14mdk
pwdb-0.61-4mdk
db2-2.4.14-2mdk
gdb-5.0-11mdk
db1-1.85-4mdk
db3-devel-3.1.17-1mdk
-----
With the following imapd.conf :
-----
#-------------------------------------------------
#
# /etc/imapd.conf
#
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: mailadmin guest root
pwcheck_method: passwd
### end of file ###
----
I got the following but without authentication
-----
Trying 192.168.0.16...
Connected to kheops.
Escape character is '^]'.
* OK kheops.temperance.net Cyrus IMAP4 v2.0.16 server ready
. capability
* CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS ID 
NO_ATOMIC_RENAME UNSELECT MULTIAPPEND SORT THREAD=ORDEREDSUBJECT 
THREAD=REFERENCES IDLE
. OK Completed
. login guest guest
. NO Login failed: generic failure
. logout
* BYE LOGOUT received
. OK Completed
Connection closed by foreign host.
-----
And with the following imapd.conf
-----
#-------------------------------------------------
#
# /etc/imapd.conf
#
configdirectory: /var/imap
partition-default: /var/spool/imap
admins: mailadmin guest root
pwcheck_method: ldap
ldap_server: kheops
ldap_basedn: o=ch-roanne
ldap_uidattr: uid
ldap_port: 389
ldap_ssl: no
ldap_filter_mode: no
ldap_filter:
ldap_bind_dn: uid=mailadmin,ou=admins,o=ch-roanne
ldap_bind_pw: mailadmin
### end of file ###
-----
openldap is ok :
-----
[root@kheops guest]# ldapsearch -x 'uid=mailadmin'
version: 2
#
# filter: uid=mailadmin
# requesting: ALL
#
# mailadmin, ch-roanne
dn: uid=mailadmin, o=ch-roanne
objectClass: top
objectClass: sysadmin
ou: admins
uid: mailadmin
userPassword:: e2NyeXB0fXU1cEUxSW5uZzVydXc=
# search result
search: 2
result: 0 Success
-----
I got the 'Death by 11' just after imapd reading the imapd.conf (?)
here's the strace -v -f output (wasn't core dumped) :
-----
30284 munmap(0x40022000, 23753) = 0
30284 getpid() = 30284
30284 brk(0) = 0x80fe3bc
30284 brk(0x80fe53c) = 0x80fe53c
30284 brk(0x80ff000) = 0x80ff000
 >>>>>
30284 open("/etc/imapd.conf", O_RDONLY) = 5
30284 fstat64(5, {st_dev=makedev(3, 1), st_ino=18633, st_mode=S_IFREG|0644, 
st_nlink=1, st_
uid=0, st_gid=0, st_blksize=4096, st_blocks=8, st_size=734, 
st_atime=2002/01/25-21:26:15, s
t_mtime=2002/01/25-21:22:46, st_ctime=2002/01/25-21:22:46}) = 0
30284 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0x4002
2000
 >>>>>
30284 read(5, "#-------------------------------"..., 4096) = 734
30284 --- SIGSEGV (Segmentation fault) ---
 >>>>>
30249 <... select resumed> ) = ? ERESTARTNOHAND (To be restarted)
30249 --- SIGCHLD (Child exited) ---30249 sigreturn() = ? (mask now [])
-----
 >>>>>>>> end <<<<<<<<

Reply via email to