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

Jean-Philippe Morin jean-philippe-2.morin at polymtl.ca
Fri Jul 27 00:14:36 UTC 2001


>Try a ls -ld on /var/run and see what your perms are there.  
>
>Frederick

ls -ld /var/run

drwxr-xr-x    4 root     root         1024 jui 24 21:34 /var/run/

something wrong ?

On 20 Jul 2001 19:00:45 -0700, Jean-Philippe Morin
<jean-philippe-2.morin at polymtl.ca> wrote:

>
>>>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