BIND9 daemon is appending installed path while searching named.conf

Jeff Reasoner jeff.reasoner at mail.hccanet.org
Mon Feb 11 15:28:44 UTC 2008


You should be able to do this by adding a line to the global options in
named.conf

pid-file <pid_file_path>;

On Mon, 2008-02-11 at 00:20 -0800, Lalatendu Das wrote:
> Thanks a lot Mark.
> But I am facing a new issue.
> As u mentioned the searching of named.conf from <prefix_path>/etc/
> named.conf can be irradicated by
> mentioning --sysconfdir=/etc.
> And indeed it worked. But the same problem happing for creating
> named.pid file which will created and tried to be opened at the time
> of start of daemon process.
> 
> So I searched for other options which can solve this and forund a
> directive called
> --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
> here I mentioned it as
> --localstatedir=/var
> But unfortunately the machine in which I am trying to compile and
> install the bin's component, I don';t have a super user
> permission in that. So things are failing at the time installation
> stating
> can't create directory /var/run : Permission denied.
> 
> Is there anyway I can resolve this without being a superuser in that
> machine.
> 
> Thanks
> Das
> 
-- 
Jeff Reasoner
HCCA
513 728-7902 voice



More information about the bind-users mailing list