FreeBSD8.0 dns/bind9

Sep 12 17:10:22 ns2 named[887]: max open files (3492) is smaller than max sockets (4096)
Sep 12 17:10:22 ns2 named[887]: none:0: open: /etc/namedb/rndc.key: permission denied
Sep 12 17:10:22 ns2 named[887]: the working directory is not writable

http://mag.autumn.org/Content.modf?id=20100322140453

etc/sysctl.conf

kern.maxfiles=4096
kern.maxfilesperproc=4096
#chmod u+w /etc/mtree/BIND.chroot.dist
#vi /etc/mtree/BIND.chroot.dist

Change in /etc/mtree/BIND.chroot.dist

/set type=dir uname=root gname=wheel mode=0755

to

/set type=dir uname=bind gname=wheel mode=0755

http://butsuyokudaimajin.blogspot.com/2008/05/freebsd63-bind9-9341.html


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS