FlashWebHost.com wrote:
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
Try increasing log level and start it on command line to see what error it is giving. Post output here after you issue the command. Refer this doc to increase log level http://www.proscrutiny.com/howtos/errata-qmail-ldap.html

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

Reply via email to