Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jun 2001 20:55:57 +0300
From:      teo@gecadsoftware.com
To:        freebsd-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: qmail error
Message-ID:  <20010608205557.A13558@gecadsoftware.com>
In-Reply-To: <Pine.LNX.7.33 Ver budsz.0106082245430.1209-100000@linux.tikus-got.org>; from budsan02@bdg.centrin.net.id on Fri, Jun 08, 2001 at 10:55:37PM %2B0700
References:  <Pine.LNX.7.33 Ver budsz.0106082245430.1209-100000@linux.tikus-got.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi budsz!
On Fri, 08 Jun 2001, budsz wrote:

> Hi...
> 
> When i compiled qmail in FreeBSD 4.2 ,i got some message "multilog:
> fatal: unable to lock directory /var/log/qmail: temporary failure"

are you also using daemontools?
we encountered the same problem on our server, and the elegant solution was
to use svc to shut the service down properly (svc -dx <path/to/supervise/dir>)

otherwise, 

- check the permisions on that directory (it should be qmail.qnofiles):
    # ls -ld /var/log/qmail
- check if there is no other multilog process running and holding the lock on
the directory:
    # lsof +d /var/log/qmail
and eventualy kill that/those process(es):
    # kill `!! | awk '/multilog/{print $2}'` 

hope it helps
cheers,

-- teodor

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010608205557.A13558>