Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've just started renting a new Debian Lenny server, but /dev/random is missing. However I can see /dev/urandom. Why might this be missing, and how can I create it?

share|improve this question
Real physical server? OpenVZ container? Other virtualization? – andol Jul 7 '10 at 9:05
@andol: Wondering the same, I have seen these devices not exist in openvz before. – Kyle Brandt Jul 7 '10 at 11:55
Xen, apparently: – nbolton Jul 7 '10 at 18:31

I've never seen a Linux system without /dev/random. It should always be present (and in fact some servers rely on it). Just bug your provider about it, they need to fix it.

As to creating it yourself:

Normally it should be created by udev on bootup. If you don't use udev, you can create it yourself using MAKEDEV. But you should probably fix the root cause.

share|improve this answer

This is a failure which sometimes happens with an update or a new installation. This should be fixed by your provider!! Tell him maybe he will do a new installation

Here is the right command to create the Random Device for yourself:

mknod /dev/random c 1 9

But you should tell it to your provider!

Here is another link that describes the problem:

share|improve this answer
up vote 0 down vote accepted

apt-get install udev

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.