On Mon, Mar 27, 2000 at 11:21:10AM -0600, blair christensen wrote:
> Hello,
> I am running Qmail 1.03 with the LDAP patch from http://www.nrg4u.com
> on a Solaris 2.6 box.  LDAP is OpenLDAP 1.2.9 residing on the same
> box.
> 
> The patch applies cleanly to the source, and I'm able to compile qmail
> successfully.  However, when I try to start qmail, I get:
> 
> bash-2.02# /var/qmail/rc
> alert: cannot start: hath the daemon spawn no fire?
> 
> bash-2.02# cat /var/qmail/rc
> #!/bin/sh
> 
> # Using stdout for logging
> # Using control/defaultdelivery from qmail-local to deliver messages
> by default
> 
> exec env - PATH="/var/qmail/bin:$PATH" \
> qmail-start "`cat /var/qmail/control/defaultdelivery`"
> 

I had exactly the same problem on some hosts, daemon not starting
even with all ldap files in place. The problem was the 'exec env -'
construction that probably failed since I was able to start everything
with qmail-start from my shell (zsh) without problems, having /var/qmail/bin
exported in PATH. So the fix was:

% cat /var/qmail/rc
#!/usr/bin/zsh

export PATH=/var/qmail/bin:$PATH
qmail-start ./Maildir/

-- 
The statements included are my own, but could also be those
of my employer. I'm not sure.

Reply via email to