had you check if ~controls/ldapserver exists?

Yes, it is present

freebsd# cat /var/qmail/control/ldapserver
127.0.0.1
freebsd# ls -l /var/qmail/control/ldapserver
-rw-r--r--  1 root  qmail  10 Jul 15 17:58 /var/qmail/control/ldapserver
freebsd#


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,

Yes, i have done this.

you need to add the path to these libraries to /etc/ld.so.conf and run
ldconfig command as root.

I have added /usr/local/lib to /etc/ld.so.conf

freebsd# cat /etc/ld.so.conf
/usr/local/lib
freebsd# ldconfig
freebsd# /var/qmail/rc
alert: cannot start qmail-lspawn or it had an error! Check if
~control/ldapserver exists.
freebsd#

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.

ulimit was "ulimit -c 204800" i changed it to

ulimit -c 504800

freebsd# cd /var/qmail/boot/qmail/
freebsd# ./run
alert: cannot start qmail-lspawn or it had an error! Check if
~control/ldapserver exists.
freebsd#

What else i should look into ?

The installation is done as per instructions at

http://www.qmail-ldap.org/wiki/Full_Installation_Guide_-_Basic_Qmail_Installation

Thanks,

Yujin

Reply via email to