Kloxo restart fails giving entropy error

Kloxo, lighttpd as well as FTP restarting failed on a VPS after the installation of VNC there,

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

Related posts:

  1. gpg: no writable public keyring found: eof
  2. YUMmy problem in Centos 5.3
  3. Howto reset lxadmin password ?
  4. lxadmin aka Kloxo not listening in a centos after a default installation. Please help!
  5. pure-ftpd fails to start in a OpenVZ server

Comment Form

About this blog

This blog, acts as a knowledge repository for the world and is unofficial! Anything we find interesting in the cyber world will go here. Most cases, this blog will reflect the happiness of our staff in reaching successful solution to an issue (s)he worked on. A reference for other fellow SAGEs who come across similar issues later