OK... didn't get any reply on this but more in-depth googling found the answer to my 
problem:

use the line:

        pid-file "/var/run/named/named.pid";

in the options section of named.conf.


Many thanks to owner of:
 http://karmak.org/archive/2002/08/dns/

/j-p.



On Thu, 10 Jul 2003, John-Paul Delaney wrote:

> Hello List...  I'm trying to setup bind9 on rh9.  I get an error on startup of named 
> - cannot open pid file /var/run/named.pid: Permission denied.
> 
> However I want to write the pid to /var/run/named/named.pid instead (creating a 
> named directory) so I can give the named user read/write rights.
> 
> How do I direct writing the file to /var/run/named/ as opposed to /var/run/ ?
> 
> I've tried the line PID_FILE=/var/run/named/named.pid in /etc/rc.d/init.d/named but 
> it's still trying to write to the /var/run directory.
> 
> Thanks for any suggestions,
> /j-p.
> 
> 
> 


 
JUSTATEST Art Online 
http://justatest.com


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to