Regarding named related issue observed with bind 9.11.5-P4 version

Chandra Rao chandraraomaradana at gmail.com
Wed Apr 10 19:53:17 UTC 2019


Hi Alan,

>>You've not shown how much of the /var/run directory structure exists.
Does /var/run exist?  What are the permissions on it?
[Chandra] : /var/run directory structure is already exists and following
are the permissions it's having.
While launching the named service with the named user the directory should
be created in it.
# ls -l /var/run
lrwxrwxrwx 1 root root 6 Apr  2 13:30 /var/run -> ../run


Thanks & Regards,
Chandra M

On Wed, Apr 10, 2019 at 8:00 PM Alan Clegg <alan at clegg.com> wrote:

> On 4/10/19 10:19 AM, Alan Clegg wrote:
> > On 4/3/19 5:26 AM, Chandra Rao wrote:
> >> While launching the named service coming from the latest bind as
> >> mentioned below, We have observed that it's is not able to create
> >> "/var/run/named" directory with the named user in the cluster. Due to
> >> this we are not able to store the files "named.pid" and "session.key".
> >
> > named does not create the directory structure.  You will need to do that
> > yourself.
>
> Correcting myself before others do (sigh):
>
> You've not shown how much of the /var/run directory structure exists.
> Does /var/run exist?  What are the permissions on it?
>
> I've just now looked at the only instance of the "couldn't mkdir"
> message in the BIND source code:
>
>                 if (mkdir(filename, mode) == -1) {
>                         strerror_r(errno, strbuf, sizeof(strbuf));
>                         (*report)("couldn't mkdir '%s': %s", filename,
>                                   strbuf);
>                         goto error;
>                 }
>
> (my original comment was based on logging directory structure, not that
> used by session information).
>
> AlanC
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to
> unsubscribe from this list
>
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20190411/197a0eed/attachment-0001.html>


More information about the bind-users mailing list