Hello all,
Last night I tried to make qmail-smtp listen on
another port. I was successful in having it listen on 25 and 2525,
however, run into a problem when multilog tries to rotate the logs. The
following is what I did to qmail-smtpd:
"I made a /service/qmail-smtpd2525 directory and copied
everything from /service/qmail-smtpd over to it. Then I modified the
run file, changing the "smtp" word in there to 2525. I also set the same
permissions that /service/qmail-smtpd had to /service/qmail-smtpd2525."
This works but I get the following when I do a "ps
-eaf | grep qmail*"
root 1900
1897 0 Feb24 ? 00:00:01
readproctitle service errors: ...al: unable to lock directory
/var/log/qmail/smtpd: temporary failure?multilog: fatal: unable to lock
directory /var/log/qmail/smtpd: temporary failure?multilog: fatal: unable to
lock directory /var/log/qmail/smtpd: temporary
failure?multil
root 1901 1899 0 Feb24 ? 00:00:00 supervise qmail-send root 1903 1899 0 Feb24 ? 00:00:00 supervise qmail-smtpd root 1905 1899 0 Feb24 ? 00:00:00 supervise qmail-pop3d root 1907 1899 0 Feb24 ? 00:00:00 supervise qmail-pop3ds qmaill 1915 1902 0 Feb24 ? 00:00:00 /usr/local/bin/multilog t /var/log/qmail qmaill 1916 1904 0 Feb24 ? 00:00:00 /usr/local/bin/multilog t /var/log/qmail/smtpd qmaill 1920 1906 0 Feb24 ? 00:00:01 multilog t /var/log/qmail/pop3d qmaill 1921 1908 0 Feb24 ? 00:00:00 multilog t /var/log/qmail/pop3ds root 31730 1899 0 Feb29 ? 00:00:00 supervise qmail-smtpd2525 qmails 31985 1901 0 Feb29 ? 00:00:00 [qmail-send] root 31987 31985 0 Feb29 ? 00:00:00 qmail-lspawn ./Maildir/ qmailr 31988 31985 0 Feb29 ? 00:00:00 [qmail-rspawn] qmailq 31989 31985 0 Feb29 ? 00:00:00 [qmail-clean] qmaill 6421 31735 0 12:16 ? 00:00:00 [multilog <defunct>] vpopmail 6422 12640 0 12:16 ? 00:00:00 [qmail-popup] vpopmail 6423 6422 0 12:16 ? 00:00:00 /var/qmail/bin/qmail-pop3d Maildir root 6425 3932 0 12:16 pts/0 00:00:00 grep qmail* You can see that readproctile is unable to lock
/var/log/qmail/smtpd. Once I removed the /service/qmail-smtpd2525
directory and restarted qmail, all is well as it has been. I would like to
still do this but don't want multilog going into a defunct stat. Is there
anyway around this?
Any help would be great.
Stephen
|
- [toaster] Multi-log going into a Zombie State Stephen Harmon
- Re: [toaster] Multi-log going into a Zombi... Bill Shupp
- Re: [toaster] Multi-log going into a Z... Jason 'XenoPhage' Frisvold
- Re: [toaster] Multi-log going into a Z... Stephen Harmon
- Re: [toaster] Multi-log going into a Zombi... Jason 'XenoPhage' Frisvold