FlashWebHost.com wrote:
Hi,

I have installed qmail-ldap server on FreeBSD 6 server.

I am getting following errors.

@4000000044bc25c90e2796ac alert: cannot start qmail-lspawn or it had
an error! Check if ~control/ldapserver exists.

As per solution given in http://www.lifewithqmail.org/ldap/ i checked
shared library, it seems everything is present.


freebsd# env - /var/qmail/bin/qmail-ldaplookup -m [EMAIL PROTECTED]
qmail-ldaplookup: fatal: unable to read controls: file does not exist
freebsd# ldd /var/qmail/bin/qmail-ldaplookup
/var/qmail/bin/qmail-ldaplookup:
       libldap-2.2.so.7 => /usr/local/lib/libldap-2.2.so.7 (0x28081000)
       liblber-2.2.so.7 => /usr/local/lib/liblber-2.2.so.7 (0x280ab000)
       libcrypt.so.3 => /lib/libcrypt.so.3 (0x280b7000)
       libc.so.6 => /lib/libc.so.6 (0x280cf000)
       libcrypto.so.4 => /lib/libcrypto.so.4 (0x281a6000)
       libssl.so.4 => /usr/lib/libssl.so.4 (0x28298000)
freebsd# /var/qmail/rc
alert: cannot start qmail-lspawn or it had an error! Check if
~control/ldapserver exists.
freebsd#

Can any one tell me how to fix the problem ?

If you have compiled qmail with LDAPLIBS=-L/usr/local/lib -lldap -llber and LDAPINCLUDES=-I/usr/local/include and still get errors like above, you need to add the path to these libraries to /etc/ld.conf.so and run ldconfig command as root. If qmail refuse to start even after this, try increasing ulimit in /var/qmail/boot/qmail/run file and then check if the process exist.

--
Sameer N. Ingole
http://weblogic.noroot.org/
---
Better to light one candle than to curse the darkness.

Reply via email to