create journal file: permission denied
Mark Andrews
marka at isc.org
Wed Jun 17 04:23:42 UTC 2009
In message <dcbb85870906162115j19aaef94q2b0fa8ae6ac917b at mail.gmail.com>, Dan Le
tkeman writes:
> Hello,
>
> I'm trying to setup ddns and the log file is showing that it cannot
> create the journal file
>
>
> 16-Jun-2009 22:03:30.145 update: info: client 172.16.56.111#63970:
> updating zone 'dan.net/IN': error: journal open failed: unexpected
> error
> 16-Jun-2009 22:03:30.211 update: info: client 172.16.56.111#63970:
> updating zone 'dan.net/IN': deleting rrset at 'none.dan.net' A
> 16-Jun-2009 22:03:30.212 update: info: client 172.16.56.111#63970:
> updating zone 'dan.net/IN': adding an RR at 'none.dan.net' A
> 16-Jun-2009 22:03:30.212 general: info: journal file
> /var/named/dan.net/dan.net.hosts.jnl does not exist, creating it
> 16-Jun-2009 22:03:30.218 general: error:
> /var/named/dan.net/dan.net.hosts.jnl: create: permission denied
> 16-Jun-2009 22:03:30.218 update: info: client 172.16.56.111#63970:
> updating zone 'dan.net/IN': error: journal open failed: unexpected
> error
>
> I have tried moving the zone into it's own directory and giving the
> named user full rights to it but it is still unable to create the
> file.
>
> Is there anything else I can try?
/var/named/dan.net needs to be writable by named. If you
are using a Linux box you may also need to ensure that
SELinux is properly configured to allow the write. See the
FAQ for how to do this.
Mark
> Thanks,
> Dan.
> _______________________________________________
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: marka at isc.org
More information about the bind-users
mailing list