probably something simple, but what am I missing?

rc file:
---
#!/bin/sh

exec env - PATH="/var/qmail/bin:$PATH" \
qmail-start ./Mailbox multilog t +* /var/log/qmail/qmaillog
---

But when its running
---
[root@CIO-QMAIL1 log]# ps ax | grep multi
14544 pts/1    Z      0:00 [multilog <defunct>]
31738 pts/1    S      0:00 grep multi
[root@CIO-QMAIL1 log]# 
---

I can command line it:
---
[root@CIO-QMAIL1 log]# multilog t +* /var/log/qmail/qmaillog
woofy
barky
scratchy
[root@CIO-QMAIL1 log]# cat /var/log/qmail/qmaillog/current
@4000000039d4e31322c34cb4 woofy
@4000000039d4e31a23594b24 barky
@4000000039d4e31c0a4ebd94 scratchy
[root@CIO-QMAIL1 log]# 
---

So what's going down here?  Why does it go defunct and not log anything?

Even the path should be working...
---
[root@CIO-QMAIL1 log]# echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/u
sr/X11R6/bin:/root/bin
[root@CIO-QMAIL1 log]# which multilog
/usr/local/bin/multilog
[root@CIO-QMAIL1 log]# 
---

And if it couldn't find it on the path, it wouldn't be defunct either.  :(

Any thoughts?

David

David Ihnen
Integration Engineer
myCIO
503-670-4018
 

Reply via email to