ブログ - daily.outのファイルサイズが大きいから,MacOS Xのbindを止めてみた
daily.outのファイルサイズが大きい件は,syslogファイルをcatしている事が原因.そしてsyslog(system.log)が増大している件で調査を進めているのだけれど,bindが変なエラーを吐き出している事が判明.
良く判らないけれどbindをloadしようとしてfailureしているから再度loadしようとしているがやっぱりfauiureしてloopしている.DNSはnot useで使ってないので停止した.
Feb 14 01:45:11 server named[77703]: loading configuration: failure
Feb 14 01:45:11 server named[77703]: exiting (due to fatal error)
Feb 14 01:45:11 server com.apple.launchd[1] (org.isc.named[77703]): Exited with exit code: 1
Feb 14 01:45:11 server com.apple.launchd[1] (org.isc.named): Throttling respawn:
Will start in 10 seconds
Feb 14 01:45:21 server named[77704]: starting BIND 9.6-ESV-R4-P3 -f
Feb 14 01:45:21 server named[77704]: built with '--prefix=/usr' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--disable-dependency-tracking' '--sysconfdir=/private/etc'
'--localstatedir=/private/var' '--enable-atomic=no' '--with-libxml2=/usr/include/libxml2'
'CFLAGS=-arch x86_64 -arch i386 -arch ppc -g -Os -pipe ' 'LDFLAGS=-arch x86_64 -arch i386
-arch ppc ' 'CXXFLAGS=-arch x86_64 -arch i386 -arch ppc -g -Os -pipe '
Feb 14 01:45:21 server named[77704]: /etc/dns/publicView.conf.apple:31: zone
'0.168.192.in-addr.arpa': already exists previous definition: /etc/dns/publicView.conf.apple:15
Feb 14 01:45:21 server named[77704]: loading configuration: failure
Feb 14 01:45:21 server named[77704]: exiting (due to fatal error)
Feb 14 01:45:21 server com.apple.launchd[1] (org.isc.named[77704]): Exited with exit code: 1
Feb 14 01:45:21 server com.apple.launchd[1] (org.isc.named): Throttling respawn:
Will start in 10 seconds
良く判らないけれどbindをloadしようとしてfailureしているから再度loadしようとしているがやっぱりfauiureしてloopしている.DNSはnot useで使ってないので停止した.
MacOS Xはlaunchedで管理されているのでlaunchctl unloadするだけ.
launchctl unload /System/Library/LaunchDaemons/org.isc.named.plist