BIND9 daemon is appending installed path while searching named.conf

Lalatendu Das lalatdas at gmail.com
Mon Feb 11 17:41:08 UTC 2008


On Feb 11, 8:28 pm, Jeff Reasoner <jeff.reaso... at mail.hccanet.org>
wrote:
> You should be able to do this by adding a line to the global options in
> named.conf
>
> pid-file <pid_file_path>;
>
>
Thanks for the suggestion Jeff
But it doesn't sound like a generic solution.
Anyway thanks for pointing out.
>
>
>
> 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- Hide quoted text -
>
> - Show quoted text -



More information about the bind-users mailing list