Once one of our Kloxo server management client complained that he was not able to restart the Kloxo and while trying to restart it was showing the entropy error. Let me explain the scenario a bit more,
Kloxo,lighttpd as well as FTP restarting failed on a VPS after the installation of VNC there, the error was as follows,
Starting kloxo: 11
2009-07-17 08:35:38: (network.c.321) SSL: not enough entropy in the pool
mysqld (pid 29904) is running…
Solution was to create a urandom file. /proc/sys/kernel/random/entropy_avail was having the value of 3 or so, which I believe is too low. /proc/sys/kernel/random/poolsize now has 4096 . /dev/random will block if there is nothing left in the entropy bit bucket. /dev/urandom uses the same bucket – but will not block (it can reuse the pool of bits) and I believe lighttpd can use both random and urandom. Good for us ð
mknod -m 644 /dev/urandom c 1 9