Discussion:
couldn't open pid file '/var/run/named/named.pid' : Permission denied
Ashley Kitto
2001-07-20 21:59:02 UTC
Permalink
In message <sA067.1786$Vc1.603066 at news2-win.server.ntlworld.com>, "Andy Eccles"
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";
...
};

Ashley Kitto
Nominum Training and Support
http://www.nominum.com
Jean-Philippe Morin
2001-07-21 01:48:21 UTC
Permalink
Post by Ashley Kitto
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
options {
...
pid-file "/var/run/named/named.pid";
Post by Ashley Kitto
...
};
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

Continue reading on narkive:
Search results for 'couldn't open pid file '/var/run/named/named.pid' : Permission denied' (Questions and Answers)
5
replies
Can someone running php,mysql and apache, paste their httpd.conf file because mine is giving errors.Thanks?
started 2007-06-03 13:02:46 UTC
programming & design
Loading...