[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: BIND9 library reference?



ATTR:Randy Lewis (Kenneth R. Lewis) (randy@rtmx.net) wrote concerning BIND9 library reference?, on [02.11.05 11:11]:
> Hello Jakob, others...
> 
> Whilest testing bind9 for our IPS Systems upgrade, I saw something
> in an error message that leads me to believe that the bind9 port 
> is not fully configured to install away from the 'ports tree'
> -----   sample from /var/log/messages  ---------
> 
> srv3-meb# Nov  5 14:47:14 srv3-meb named[10034]: starting BIND 9.2.1 -t /var/named -u named
> Nov  5 14:47:15 srv3-meb named[10034]: none:0: open: /etc/rndc.key: file not found
> Nov  5 14:47:15 srv3-meb named[10034]: none:0: open: /etc/rndc.key: file not found
> Nov  5 14:47:15 srv3-meb named[10034]: couldn't add command channel 127.0.0.1#953: file not found
> Nov  5 14:47:15 srv3-meb named[10034]: none:0: open: /etc/rndc.key: file not found
> Nov  5 14:47:15 srv3-meb named[10034]: couldn't add command channel ::1#953: file not found
> Nov  5 14:47:15 srv3-meb named[10034]: none:0: open: /etc/rndc.key: file not found

obvious about the missing file, try rndc-confgen(8)

> Nov  5 14:47:15 srv3-meb named[10034]: /usr/ports/net/bind9/w-bind-9.2.1p1/bind-9.2.1/lib/isc/unix/errno2result.c:107: unexpected
> error:
> Nov  5 14:47:15 srv3-meb named[10034]: /usr/ports/net/bind9/w-bind-9.2.1p1/bind-9.2.1/lib/isc/unix/errno2result.c:107: unexpected
> error:
> Nov  5 14:47:15 srv3-meb named[10034]: unable to convert errno to isc_result: 6: Device not configured
> Nov  5 14:47:15 srv3-meb named[10034]: unable to convert errno to isc_result: 6: Device not configured
>

3.2 defaults to mounting /var nodev 

> srv3-meb# ps -ax |grep name
> 10034 ??  Is      0:00.03 named -t /var/named -u named
> ---------------------------------------- end of sample -------------------------------------------
> Amoung other things, the "/usr/ports/net/bind9/w-bind-9.2.1p1/bind-9.2.1/lib/isc/unix/errno2result.c:107" line
> seems to indicate that the lib linkages are using the wrong path?
> 
> Understand that "I understand" it is, in fact, running...but I question the
> configuration.
> 
> Is this intended, or in need of some tweaks?
> -- 
> Randy Lewis, RTMX.NET
> ----
> http://rtmx.net
> ----
> 919 644 6456 (Hillsborough NOC)
> 919 644 7869 (Hillsborough Engineering/Sales)
> 919 259 7869 (Chapel Hill)
> 919 328 7869 (Durham)
> 336 303 7869 (Greensboro)
> 919 227 7869 (Raleigh)
> 910 744 7869 (Wilmington)
> 336 531 7869 (Winston-Salem)