On Wed, Mar 21, 2001 at 03:22:32PM -0000, Iain Morrison wrote:
> The logging for Qmail is set to use multilog for both qmail-smtp and the
> qmail-send programs. Only trouble is that supervise is not able to start
> them for some reason so all logging goes to the console.
[snip...]
> Any ideas???
Try this:
$ ls -ld /var/qmail/supervise/*
drwxr-xr-t 4 root qmail 512 Mar 19 16:32 /var/qmail/supervise/qmail-send
drwxr-xr-t 4 root qmail 512 Mar 19 16:40 /var/qmail/supervise/qmail-smtpd
The 't' in 'drwxr-xr-xt' means that the directory has the sticky bit
set. Check yours. If it doesn't have that bit set, set it with:
# chmod +t /var/qmail/supervise/*
That will cause svscan to execute the 'run' script in qmail-send/log and
qmail-smtpd/log. I'm not sure if that is enough to connect your logging
output to the multilog input, so if the logging continues to show up on
the console:
# svc -dx /service/qmail-*
Tim