Named: the working directory is not writable
October 26, 2008 Posted by KP
If I do:
# tail -f /var/log/messages &
# rndc reload
I will get the error message:
named: the working directory is not writable.
The error message was caused by ‘rndc reload’, ‘/etc/rc.d/named restart’ has no such error. I tried to change named directory to group writable, which doesn’t solve the problem, moreover, bind will detect the change and gives another error message.
Anyway, I don’t think this is a real error. Trying to fix it makes things worse, I ignored it.
Related Posts:
Filed Under: DNS
November 29th, 2008 at 12:08 am
Had the same issue – did you ever discover what this was – as you say it doesn’t seem to effect the way the system works.
November 29th, 2008 at 1:23 am
No, some pages claimed the problem disappeared after they changed the directory permission, but it didn’t work for me.
December 11th, 2008 at 12:56 pm
I just came across this working out some slave domain issues and changing the directory permission alone wasn’t enough:
# cd /etc/namedb/
# chown -R bind:wheel *
# chmod -R g+w *
# chmod -R g+r *
Got rid of it for me. Note that it wasn’t just correcting the permissions on the one folder, had to be all the files as well.
Might also want to check that bind is able to write to the /etc/namedb/rndc.key file.
That’s what worked for me, on a recently updated to 6.4-STABLE server.
August 19th, 2009 at 6:37 pm
the above did not wort for me – freebsd 8.0-beta2 amd64
January 14th, 2010 at 1:49 am
Had the same issue on Fedora Core 12. Solved successfully – just changed the permissions on /var/named/chroot/var/named to 0660.
January 26th, 2010 at 9:06 pm
for freeBSD 8.0 :
#cd /etc/namedb
#chmod -R bind:wheel *
then restart named
#/etc/rc.d/named restart
it’s work
January 26th, 2010 at 9:08 pm
sorry i’m wrong
should be :
chown -R bind:wheel *
sorrryyyy
February 20th, 2010 at 12:30 pm
in /var/log/messages:
named[1727]: client (ip addr)#56183: error sending response: not enough free resources
It is a lot of them, ~200 in second.
What is it? About what resources there is a speech?
thanks