couldn't open pid file '/var/run/named/named.pid' : Permission denied

Jean-Philippe Morin jean-philippe-2.morin at polymtl.ca
Sat Jul 21 01:48:21 UTC 2001


>>This is the error I see when I tail the /var/log/messages after typing named
>>at the command shell.
>>
>>Can anyone assist? I don't think there is a named.pid file in that dir. How
>>do I create one?
>
>Make sure that named has write permissions on the /var/run/named directory,
>or point the named.conf pid-file option to a directory in which the named
>process does have write permissions.
>If you're running setuid, the user that bind is setuid to should have write
>privileges, otherwise, root should have write privileges.
>
>The named.conf pid-file option, if needed, should go in your options statement
>as per this example:
>
>options {
>...
>
pid-file "/var/run/named/named.pid";
>...
>};

I have the same problem. I added the line in named.conf, but nothing change. 
I did ls -l for my directory /var/run/named/
drwxr-xr-x    2 named    named        1024 jui 20 21:25 named/

So I don't understand why he doesn't have the permission.

jp


More information about the bind-users mailing list