Blog

Kloxo restart fails giving entropy error

Tags: entropykloxorestart

Published on: July 17, 2009 by Sharafuddin M.A

Kloxo restart fails giving entropy error

Scenario:

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

Category : General, Howtos, Linux, Troubleshooting, VPS

Sharafuddin M.A

Sharafuddin M.A

Sharaf got immense interest and knowledge in implementing custom application and security solutions. He is highly competent in identifying and resolving security vulnerabilities, security breaches, hacked server recovery and server hardening. This soft spoken guy loves to watch movies and hanging out with friends.

You may also read:

Comments

Add new commentSIGN IN

Let's Connect

Categories

Your Cart

Cart is empty.

Subtotal
₹0.00
APPLY
0
Send this to a friend