Val Soika <val.so...@gmail.com> writes: > Hello, > > I have openldap installed from > openldap-2.4.19-20091006.ix86-mandrivalinux2009.0-openpkg.rpm > together with bdb installed from > db-4.7.25.4-20091002.ix86-mandrivalinux2009.0-openpkg.rpm > > LDAP is run as > openldap/slapd -f slapd2.conf -h ldap://127.0.0.1:8060 –d 1024 > > Daemon seems to start Ok: > slapd starting > daemon: added 6r listener=(nil) > daemon: added 9r listener=0x85b3900 > daemon: epoll: listen=9 active_threads=0 tvp=zero > daemon: activity on 1 descriptor > daemon: activity on: > daemon: epoll: listen=9 active_threads=0 tvp=zero > > but would not respond to any request, e.g. ldapsearch, > the only debug slapd prints out on request is > > daemon: activity on 1 descriptor > daemon: activity on: > slap_listener_activate(9): > daemon: epoll: listen=9 busy
This is a long known bug with openpkg, OpenLDAP requires libpthread or similar to call epoll or /dev/poll, the openpkg rpm builds with gnupth which ich not able to handle epoll calls. Build cyrus-sasl, berkleydb and openldap with libpthread, add to the berkleyDB configure options --with-mutex="POSIX/pthreads/library don't use the default settings. -Dieter -- Dieter Klünter | Systemberatung http://dkluenter.de Mobil: +49.176.51126864 sip: +49.180.1555.7770535 Fax: +49.40.64891521 Key ID:8EF7B6C6 ______________________________________________________________________ OpenPKG http://openpkg.org User Communication List openpkg-users@openpkg.org