BIND 9.4.2 on Solaris 8

Mark Andrews Mark_Andrews at isc.org
Sat Dec 1 05:53:08 UTC 2007


> >> Greetings,
> >>
> >> Newly compiled BIND 9.4.2 on Solaris 8 kicks errors like below, Although
> >> named *appears* to be listening and functioning fine.
> >>
> >> Anyone have ideas what would cause the below errors?
> > 
> > lib/isc/unix/entropy.c
> > 	/*
> >          * Solaris 2.5.1 does not have support for sockets (S_IFSOCK),
> >          * but it does return type S_IFIFO (the OS believes that
> >          * the socket is a fifo).  This may be an issue if we tell
> >          * the program to look at an actual FIFO as its source of
> >          * entropy.
> >          */
> > #if defined(S_ISSOCK)
> >         if (S_ISSOCK(_stat.st_mode))
> >                 is_usocket = ISC_TRUE;
> > #endif
> > #if defined(S_ISFIFO) && defined(sun)
> >         if (S_ISFIFO(_stat.st_mode))
> >                 is_usocket = ISC_TRUE;
> > #endif
> > 
> > 	Turn "defined(S_ISFIFO) && defined(sun)" into "0".
> > 
> > 	Mark
> >  
> >> 29-Nov-2007 15:56:27.069 starting BIND 9.4.2 -c /etc/named.conf -4 -g
> >> 29-Nov-2007 15:56:27.091 loading configuration from '/etc/named.conf'
> >> 29-Nov-2007 15:56:27.095 no IPv6 interfaces found
> >> 29-Nov-2007 15:56:27.098 listening on IPv4 interface lo0, 127.0.0.1#53
> >> 29-Nov-2007 15:56:27.108 listening on IPv4 interface eri0, 10.104.52.69#53
> >> 29-Nov-2007 15:56:27.137 automatic empty zone: 127.IN-ADDR.ARPA
> >> 29-Nov-2007 15:56:27.140 automatic empty zone: 254.169.IN-ADDR.ARPA
> >> 29-Nov-2007 15:56:27.142 automatic empty zone: 2.0.192.IN-ADDR.ARPA
> >> 29-Nov-2007 15:56:27.143 automatic empty zone: 255.255.255.255.IN-ADDR.ARP
> A
> >> 29-Nov-2007 15:56:27.145 automatic empty zone: 0.0.0.0.0.0.0.0.0.0.0.0.0.0
> .0.
> >> 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
> >> 29-Nov-2007 15:56:27.147 automatic empty zone: 1.0.0.0.0.0.0.0.0.0.0.0.0.0
> .0.
> >> 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA
> >> 29-Nov-2007 15:56:27.149 automatic empty zone: D.F.IP6.ARPA
> >> 29-Nov-2007 15:56:27.151 automatic empty zone: 8.E.F.IP6.ARPA
> >> 29-Nov-2007 15:56:27.153 automatic empty zone: 9.E.F.IP6.ARPA
> >> 29-Nov-2007 15:56:27.155 automatic empty zone: A.E.F.IP6.ARPA
> >> 29-Nov-2007 15:56:27.157 automatic empty zone: B.E.F.IP6.ARPA
> >> 29-Nov-2007 15:56:27.175 command channel listening on 127.0.0.1#953
> >> *************************************
> >> 29-Nov-2007 15:56:27.177 errno2result.c:111: unexpected error:
>> 29-Nov-2007 15:56:27.179 unable to convert errno to isc_result: 95: Socket o
> p
> >> eration on non-socket
> >> 29-Nov-2007 15:56:27.181 could not open entropy source /dev/random: unexpe
> cte
> >> d error
> >> *************************************29-Nov-2007 15:56:27.182 ignoring con
> fig
> >>  file logging statement due to -g option
> >> 29-Nov-2007 15:56:27.200 zone 0.0.127.in-addr.arpa/IN: loaded serial 20021
> 017
> >> 0
> >> 29-Nov-2007 15:56:27.210 running
> >>
> >>
> >> 9.3.4-P1 outputs similar errors
> >>
> >> Previous versions 9.2.x compiled and ran fine without the above errors.
> >>
> >>
> 
> 
> Thanks Mark,
> 
> That seemed to have done the trick.  No more errors when starting named.
> 
> May I ask what that did?
> 
> Forgive me, i am relatively code challenged. 8^)

You turned off some Sun specific code designed to work around a
OS bug in Solaris to do with unix domain sockets.

Mark
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark_Andrews at isc.org



More information about the bind-users mailing list