I'm running qmail 1.03 with daemontools 0.76 on FreeBSD 4.3 and it seems
to be working perfectly, however I'm getting readproctitle service
errors where it is unable to "acquire" lock files.
The files in question seem to be:
/var/qmail/supervise/qmail-send/log/supervise/lock
/var/qmail/supervise/qmail-send/supervise/lock
/var/qmail/supervise/qmail-smtpd/log/supervise/lock
/var/qmail/supervise/qmail-smtpd/supervise/lock
Directory and file permissions seem fine. Install followed the
guidelines in Life with qmail. The box is already in production so a
rebuild isn't an option.
Any help would be greatly appreciated.
ps auxwww output:
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
root 5240 0.0 0.0 432 240 p1 R+ 8:46AM 0:00.00 ps auxwww
root 5237 0.0 0.0 0 0 ?? Z 8:46AM 0:00.00
(supervise)
root 5238 0.0 0.0 0 0 ?? Z 8:46AM 0:00.00
(supervise)
root 5239 0.0 0.0 0 0 ?? Z 8:46AM 0:00.00
(supervise)
root 0 0.0 0.0 0 0 ?? DLs 2:05AM 0:00.00 (swapper)
root 1 0.0 0.1 528 312 ?? ILs 2:05AM 0:00.01/sbin/init
--
root 2 0.0 0.0 0 0 ?? DL 2:05AM 0:00.00
(pagedaemon)
root 3 0.0 0.0 0 0 ?? DL 2:05AM 0:00.00(vmdaemon)
root 4 0.0 0.0 0 0 ?? DL 2:05AM
0:00.01(bufdaemon)
root 5 0.0 0.0 0 0 ?? DL 2:05AM 0:00.39 (syncer)
root 30 0.0 0.0 208 92 ?? Is 2:05AM 0:00.00 adjkerntz
-i
root 119 0.0 0.1 924 644 ?? Ss 7:05AM 0:00.03 syslogd
-s
root 140 0.0 0.1 968 728 ?? Is 7:05AM 0:00.02
/usr/sbin/cron
root 143 0.0 0.3 2488 1672 ?? Is 7:05AM 0:00.22
/usr/sbin/sshd
root 172 0.0 0.1 624 436 con- I 7:05AM 0:00.00 /bin/sh
/command/svscanboot
root 174 0.0 0.1 900 476 con- S 7:05AM 0:00.19 svscan
/service
root 186 0.0 0.1 860 416 con- I 7:05AM 0:00.00 supervise
log
root 197 0.0 0.1 900 476 con- S 7:05AM 0:00.95 svscan
/service
root 198 0.0 0.1 848 288 con- S 7:05AM 0:00.92
readproctitle service errors: ...ary failure\nsupervise: fatal: unable
to acquire log/supervise/lock: temporary failure\nsupervise: fatal:
unable to acquire qmail-smtpd/supervise/lock: temporary
failure\nsupervise: fatal: unable to acquire log/supervise/lock:
temporary failure\nsupervise: fatal: unable to acquire
qmail-send/supervise/lock: temporary failure\nsupervise: fatal: unable
to acquire log/supervise/lock: temporary failure\n
qmaill 205 0.0 0.1 868 384 ?? I 7:05AM 0:00.01
/usr/local/bin/multilog t /var/log/qmail
root 217 0.0 0.1 860 416 ?? I 7:05AM 0:00.00 supervise
qmail-smtpd
root 218 0.0 0.1 860 416 ?? I 7:05AM 0:00.00 supervise
log
root 219 0.0 0.1 860 416 ?? I 7:05AM 0:00.00 supervise
qmail-send
qmaild 220 0.0 0.1 900 552 ?? I 7:05AM 0:00.00
/usr/local/bin/tcpserver -v -R -l 0 -x /etc/tcp.smtp.cdb -c 100 -u 1003
-g 1001 0 smtp /var/qmail/bin/qmail-smtpd
qmails 224 0.0 0.1 932 500 ?? I 7:05AM 0:00.01
qmail-send
root 226 0.0 0.1 880 400 ?? I 7:05AM 0:00.00
qmail-lspawn ./Mailbox
qmailr 227 0.0 0.1 880 500 ?? I 7:05AM 0:00.00
qmail-rspawn
qmailq 228 0.0 0.1 868 444 ?? I 7:05AM 0:00.00
qmail-clean
qmaill 229 0.0 0.1 868 384 ?? I 7:05AM 0:00.00
/usr/local/bin/multilog t /var/log/qmail/smtpd