From owner-freebsd-questions@FreeBSD.ORG Mon Oct 5 13:23:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDEA81065670 for ; Mon, 5 Oct 2009 13:23:39 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id BBC098FC18 for ; Mon, 5 Oct 2009 13:23:39 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MunXH-000KLr-TG; Mon, 05 Oct 2009 09:23:38 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id 3D83D35860E7; Mon, 5 Oct 2009 09:23:32 -0400 (EDT) Message-ID: <4AC9F353.3000808@FreeBSD.org> Date: Mon, 05 Oct 2009 09:23:31 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Vinzstyle References: <200910042041.32454.vinzstyle@free.fr> In-Reply-To: <200910042041.32454.vinzstyle@free.fr> X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.4 (/) Cc: freebsd-questions@freebsd.org Subject: Re: Postfix doesn't start X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Oct 2009 13:23:39 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Vinzstyle wrote: > Hi, > > I installed Postfix with PCRE support from the ports collection, but I get this > error when I try to start it : > > Oct 4 20:22:09 mail postfix/postfix-script[47114]: starting the Postfix mail > system > Oct 4 20:22:09 mail postfix/master[47115]: fatal: open lock file > /var/db/postfix/master.lock: cannot open file: Permission denied > > [root@mail /]# ls -ld /var/db/postfix/ > drwx------ 2 postfix wheel 512 Oct 4 20:16 /var/db/postfix/ > > The "mail_owner" directive is set to "postfix" in main.cf > > Is there some things to set up after the "make install" ? Did I miss something > ? > > I'm running FreeBSD-7.2-RELEASE, and Postfix(-2.5.6,1) is started inside a > jail. > > Thanks for your help :) Hi there, Whenever I run into problems like this and I can't easily resolve them, I turn to truss (http://bit.ly/yipvq) or strace (http://bit.ly/1oXQ4v) so I can see exactly what's happening to cause the permission denied message. If you want, post output from those tools back here, and I'm sure someone can help you narrow the problem down. Cheers, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFKyfNS0sRouByUApARAloSAJ4m2N1prTe0UiabVrlkTytmcd9jqACeO2hm DO3gs2YDX/bWYNhJnsdV+1Y= =QtfE -----END PGP SIGNATURE-----