What is the sequence the system goes through during bootup in terms of
runlevels? You may not want to start it for the single-user modes. If it
goes directly to one of the runlevels you may want to add a link to kill
qmail before it is started by the normal link.

MHP

----- Original Message -----
From: Clemens Hermann <[EMAIL PROTECTED]>
To: Petr Novotny <[EMAIL PROTECTED]>
Cc: Qmail Mailinglist <[EMAIL PROTECTED]>
Sent: Wednesday, August 16, 2000 8:26 AM
Subject: Re: alert: cannot start: qmail-send is already running


> Hi Petr
>
> thanks for assisting me solving the problem.
>
> > What command exactly do you use to spawn qmail? (I mean,
> > you're obviously using svscan and supervise;
>
> yes, I made everything 100% as described in Dave Sills Life with qmail.
> There it is described that way ;-)
>
> > what does the
> > DIR/run file look like?
>
> /var/qmail/supervise/qmail-send/run:
>
> #!/bin/sh
> exec /var/qmail/rc
>
> /var/qmail/supervise/qmail-send/log/run:
>
> #!/bin/sh
> exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
> /var/log/qmail
>
> /var/qmail/supervise/qmail-smtpd/run:
>
> #!/bin/sh
> QMAILDUID=`id -u qmaild`
> NOFILESGID=`id -g qmaild`
> exec /usr/local/bin/softlimit -m 4000000 \
>     /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
>         -u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd
> 2>&1
>
>
> /var/qmail/supervise/qmail-smtpd/log/run file:
>
> #!/bin/sh
> exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t
> /var/log/qmail/smtpd
>
> exactly as described in LWQ
>
> the /var/qmail/rc file looks like this:
>
> #!/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`"
>
> the /sbin/init.d/qmail start script is this one:
>
> http://Web.InfoAve.net/~dsill/qmail-script-dt61.txt
>
>
> > If it starts other file (like /var/qmail/rc), what
> > does _that_ file look like?
>
> I hope I included everything you wanted in this reply. If not I did
> anything as describen in LWQ.
>
> > Please make sure that you're not putting
> > anything into background ('&' at the end of the line)
>
> doesn't look like.
> I took the files from LWQ by copy'n paste to make sure there is no
> typing mistake
>
> > - supervise
> > thinks your program has died when it detaches and tries to
> > respawn it.
>
> thanks
>
> Clemens
>

Reply via email to