RE: named’s “/dev/random" error on AIX

Hajducko, Steven steven.hajducko at digitalinsight.com
Wed Jan 7 17:58:59 UTC 2009


If your AIX system doesn't have a /dev/random or /dev/urandom, try the following -

Get the correct major number from the system ( 56 in this case )

root at dimqswlv2:/ ==> # odmget CuDvDr | grep -p random
CuDvDr:
        resource = "ddins"
        value1 = "random"
        value2 = "56"
        value3 = ""

root at dimqswlv2:/ ==> # mknod /dev/random c 56 0
root at dimqswlv2:/ ==> # mknod /dev/urandom c 56 1

--
sh

> -----Original Message-----
> From: bind-users-bounces at lists.isc.org 
> [mailto:bind-users-bounces at lists.isc.org] On Behalf Of Chris Buxton
> Sent: Wednesday, January 07, 2009 9:48 AM
> To: 蚂蚁蚂蚁
> Cc: comp-protocols-dns-bind at isc.org
> Subject: Re: named’s “/dev/random" error on AIX
> 
> On Jan 6, 2009, at 11:11 PM, 蚂蚁蚂蚁 wrote:
> > system info:AIX 5.3
> > bind info : 9.6.0
> >
> > when i start up named , i get  serval error about "/dev/random" :
> >
> > #./named -g -d 99
> > 07-Jan-2009 14:10:14.716 starting BIND 9.6.0 -g -d 99
> > 07-Jan-2009 14:10:14.716 built with '--prefix=/data/aibind' 
> '--enable- 
> > threads' '--with-randomdev=/dev/urandom' 
> '--with-openssl=no' 'CC=xlc'
> > 'CFLAGS=-q64'
> 
> > 07-Jan-2009 14:10:14.751 set maximum stack size to 2147483646: You 
> > must use the keyboard to create entropy, since your system 
> is lacking 
> > /dev/random (or equivalent)
> 
> Not being an AIX user, I can't say for sure, but I notice 
> that named reports that it was built with the random device 
> set to /dev/urandom.  
> Does your system have such a device node?
> 
> Chris Buxton
> Professional Services
> Men & Mice
> 
> _______________________________________________
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
> 


More information about the bind-users mailing list