> [EMAIL PROTECTED] wrote:
> 
> >Still having the service lock problem -- thanks Dave, I've followed your
> >suggestions here:

> You mean "supervise"? You should see four: one each for qmail-send,
> qmail-smtpd, and two for "log"--the logs associated with them.

Yes "supervise" - Only two entries, both <defunct>.

> Post the output of the following:
> 
>   ls -lR /var/qmail/supervise

/var/qmail/supervise:
total 8
drwxrwxrwx    4 qmaill   nofiles      4096 Jul  3 00:42 qmail-send
drwxrwxrwx    4 qmaill   nofiles      4096 Jul  3 00:42 qmail-smtpd

/var/qmail/supervise/qmail-send:
total 12
drwxrwxrwx    3 qmaill   nofiles      4096 Jul  3 00:42 log
-rwxr-xr-x    1 qmaill   nofiles        29 Jul  2 23:20 run
drwxrwxrwx    2 qmaill   nofiles      4096 Jul  7 10:08 supervise

/var/qmail/supervise/qmail-send/log:
total 8
-rwxr-xr-x    1 qmaill   nofiles        88 Jul  5 21:51 run
drwxrwxrwx    2 qmaill   nofiles      4096 Jul  5 21:55 supervise

/var/qmail/supervise/qmail-send/log/supervise:
total 4
prwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 control
-rwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 lock
prwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 ok
-rw-r--r--    1 qmaill   nofiles        18 Jul  5 21:55 status

/var/qmail/supervise/qmail-send/supervise:
total 4
prwxrwxrwx    1 qmaill   nofiles         0 Jul  6 11:55 control
-rwxrwxrwx    1 qmaill   nofiles         0 Jul  4 18:46 lock
-rwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 lock.old
prwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 ok
-rw-r--r--    1 root     root           18 Jul  7 10:08 status

/var/qmail/supervise/qmail-smtpd:
total 12
drwxrwxrwx    3 qmaill   nofiles      4096 Jul  3 00:42 log
-rwxr-xr-x    1 qmaill   nofiles       230 Jul  6 14:08 run
drwxrwxrwx    2 qmaill   nofiles      4096 Jul  7 10:08 supervise

/var/qmail/supervise/qmail-smtpd/log:
total 8
-rwxr-xr-x    1 qmaill   nofiles        94 Jul  5 21:52 run
drwxrwxrwx    2 qmaill   nofiles      4096 Jul  5 21:55 supervise

/var/qmail/supervise/qmail-smtpd/log/supervise:
total 4
prwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 control
-rwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 lock
prwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 ok
-rw-r--r--    1 qmaill   nofiles        18 Jul  5 21:55 status

/var/qmail/supervise/qmail-smtpd/supervise:
total 4
prwxrwxrwx    1 qmaill   nofiles         0 Jul  6 11:55 control
-rwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 lock
prwxrwxrwx    1 qmaill   nofiles         0 Jul  3 00:42 ok
-rw-r--r--    1 root     root           18 Jul  7 10:08 status


>   cat /var/qmail/supervise/*/run

#!/bin/sh
exec /var/qmail/rc
#!/bin/sh
QMAILDUID='id -u qmaild'
NOFILESGID='id -g qmaild'
exec /usr/local/bin/softlimit -m 2000000 \
    /usr/local/bin/tcpserver -v -p -x /etc/tcp.smtp.cdb \
-u $QMAILDUID -g $NOFILESGID 0 smtp /var/qmail/bin/qmail-smtpd 2>&1


>   cat /var/qmail/supervise/*/log/run

#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail
#!/bin/sh
exec /usr/local/bin/setuidgid qmaill /usr/local/bin/multilog t /var/log/qmail/smtpd

Here they are. Thanks for the help.

J!M

Reply via email to