I am trying to get multilog up and running under
supervise. I have the following directories/files/run
scripts.
::::::::::::::
/var/qmail/supervise/qmail-pop3d/log/run
::::::::::::::
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill \
/usr/local/bin/multilog t /var/log/qmail/pop3d
::::::::::::::
/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/log/run
::::::::::::::
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill \
/usr/local/bin/multilog t /var/log/qmail/smtpd
When I start up qmail svscan definitely starts and I
can see it supervising qmail-send, qmail-smtpd, and
qmail-pop3d but the multilog facilities don't start.
My log directories are set up as follows:
drwxr-xr-x 4 qmaill qmail 1024 Jun 30
08:46 /var/log/qmail
drwxr-xr-x 2 qmaill nofiles 1024 Jun 29
21:27 /var/log/qmail/pop3d
drwxr-xr-x 2 qmaill nofiles 1024 Jun 29
21:27 /var/log/qmail/smtpd
If I manually start up multilog (by going to
/var/qmail/supervise/qmail-send and executing "run")
it will start up and create lock, stat, and current
files in /var/log/qmail but *nothing* ever gets logged
in the current file (i.e. it remains empty). I also
get no error messages when starting multilog manually
nor when I start qmail using the init.d script.
I have this same exact setup on 3 machines. It works
fine on 2 of them (i.e. multilog starts up fine when
qmail is started) but the 3rd machine is exhibiting
this strange behavior. I've compared the machines and
I can not find any difference between them.
help!!
Thanks
Susan
__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/