Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Oct 2009 09:23:31 -0400
From:      Greg Larkin <glarkin@FreeBSD.org>
To:        Vinzstyle <vinzstyle@free.fr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Postfix doesn't start
Message-ID:  <4AC9F353.3000808@FreeBSD.org>
In-Reply-To: <200910042041.32454.vinzstyle@free.fr>
References:  <200910042041.32454.vinzstyle@free.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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-----




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