Re: Postfix doesn't start

2009-10-07 Thread Vinzstyle
Le dimanche 4 octobre 2009 21:33:12 Vinzstyle, vous avez écrit :
 Le dimanche 4 octobre 2009 21:09:05 jgi...@gmail.com, vous avez écrit :
  What are the actual permissions on the lock file, not just the containing
  directory?
 
  Josh
  Sent via BlackBerry from T-Mobile
 
  -Original Message-
  From: Vinzstyle vinzst...@free.fr
  Date: Sun, 4 Oct 2009 20:41:32
  To: freebsd-questions@freebsd.org
  Subject: Postfix doesn't start
 
  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
 
  [r...@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 :)
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  freebsd-questions-unsubscr...@freebsd.org

 The file isn't created by make install. If I create it with permissions
 666 and postfix as owner, I get the same error message...
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

Hi,

sorry, it was my fault :)

Permissions were 750 on a parent directory...

Thanks for your help anyway :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Postfix doesn't start

2009-10-05 Thread Greg Larkin
-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
 
 [r...@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-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Postfix doesn't start

2009-10-04 Thread Vinzstyle
Le dimanche 4 octobre 2009 21:09:05 jgi...@gmail.com, vous avez écrit :
 What are the actual permissions on the lock file, not just the containing
 directory?

 Josh
 Sent via BlackBerry from T-Mobile

 -Original Message-
 From: Vinzstyle vinzst...@free.fr
 Date: Sun, 4 Oct 2009 20:41:32
 To: freebsd-questions@freebsd.org
 Subject: Postfix doesn't start

 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

 [r...@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 :)
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

The file isn't created by make install. If I create it with permissions 666 
and postfix as owner, I get the same error message...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Postfix doesn't start

2009-10-04 Thread jgimer
What are the actual permissions on the lock file, not just the containing 
directory?

Josh
Sent via BlackBerry from T-Mobile

-Original Message-
From: Vinzstyle vinzst...@free.fr
Date: Sun, 4 Oct 2009 20:41:32 
To: freebsd-questions@freebsd.org
Subject: Postfix doesn't start

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

[r...@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 :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org