Results 1 to 7 of 7
Hello,
I have an OpenVZ Linux VPS with:
CentOS Linux 5.3,
Webmin version 1.490
BIND DNS Server version 9.3.4
I cannot start Bind.
this is the error message:
Failed to ...
- 10-02-2009 #1Just Joined!
- Join Date
- Oct 2009
- Posts
- 10
Failed to start BIND
Hello,
I have an OpenVZ Linux VPS with:
CentOS Linux 5.3,
Webmin version 1.490
BIND DNS Server version 9.3.4
I cannot start Bind.
this is the error message:
Failed to start BIND : Starting named: named:
could not open pre-chroot entropy source /dev/random:
file not found [FAILED]
I do not how I can solve this problem.
Thanks for your help
peace5
- 10-02-2009 #2
Do you have the file 'random' in '/dev'?
- 10-02-2009 #3Just Joined!
- Join Date
- Oct 2009
- Posts
- 10
Hello,
Thanks for your reply. I really need help.
I have not deleted anything, however I do not have the file 'random' in '/dev'
- 10-02-2009 #4Just Joined!
- Join Date
- Oct 2009
- Posts
- 10
I have BIND version 9.3.4, under chroot /var/named/chroot
- 10-03-2009 #5Well that is why this error is and bind doesn't start. You need to check your distro and find this file and place it into that directory.Failed to start BIND : Starting named: named:
could not open pre-chroot entropy source /dev/random:
file not found [FAILED]
- 10-04-2009 #6Linux Newbie
- Join Date
- Mar 2005
- Posts
- 230
Man it has been years since I've logged in over here. Mr peace over there sent me a message trying to get me to help him out over here. He found this thread where I helped with a similar issue:
http://www.linuxforums.org/forum/lin...-deamon-4.html
Lazydog has properly diagnosed your problem, and the answer to your problem lies in the post that I wrote above. So I'm not sure why you are still having a problem, but I can try to spell things out in a bit more detail for your situation.
Run these commands on your VPS:
mkdir /var/named/chroot/dev
chmod 774 /var/named/chroot/dev
mknod -m 644 /var/named/chroot/dev/null c 1 3
mknod -m 644 /var/named/chroot/dev/zero c 1 5
mknod -m 644 /var/named/chroot/dev/random c 1 8
The only difference between this and my former post is that "/var/named/chroot" is the location of your bind jail. Try out those commands and restart bind. If you still get that error let us know.
EDIT: I just realized that you might be saying that you don't have the "/dev/random" file either. You need this "random" file in two locations. If by some weird stroke of bad luck you don't have it in this other location, you can run this command:
mknod -m 644 /dev/random c 1 8
- 10-04-2009 #7Just Joined!
- Join Date
- Oct 2009
- Posts
- 10
Thank you very much ... it is working
Thanks a lot to SilentRage and Lazydog


Reply With Quote
