Named error

Royal Flash

Verified User
Hello

Detected an error in /var/ log/messages - "Named: the working directory is not writable". I found a solution: change the owner of the directory /var/named/etc/namedb to user/group bind:

# chown bind: bind /var/named/etc/namedb

then the error disappeared.

Since I am not a professional in the administration of FreeBSD I had two questions:

1. Not there be any problems after the change of ownership /var/named/etc/namedb?
2. Named for why not a separate log file, and the messages are written to the log "messages"?
 

Royal Flash

Verified User
Thanks for the reply.

Gone is the day, but no errors (there were several reboots). If you are in the future, I will not pay attention to her.

A separate log file for Bind, I added the instructions here:
http://petrenco.com/freebsd.php?txt=152 (in Russian).

Brief Instructions:
Add to /etc/syslog.conf:
!named
*.* /var/log/named.log

Next:
#touch /var/log/named.log
#chown bind:bind /var/log/named.log
#/etc/rc.d/syslogd restart
Restart Named
 
Top