[[FreeBSD8.0 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

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

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