ssh Connection refused due to "Entropy collection failed and entropy exhausted"

After system hang, I restarted the server and cannot ssh to another machines anymore.
Please kindly help. Thanks~

prod1# /usr/local/bin/ssh
Couldn't connect to PRNGD socket "/var/spool/prngd/pool": Connection refused
Entropy collection failed and entropy exhausted
prod1# ps -ef|grep prngd
    root   316     1 99 09:26:11 ?       27:53 /usr/local/bin/prngd /var/spool/prngd/pool
prod1# ls -trl /var/spool/prngd/pool
srwxrwxrwx   1 root     root           0 Feb 10 09:26 /var/spool/prngd/pool
prod1# uname -a
SunOS hkpmqa01 5.8 Generic_108528-09 sun4u sparc SUNW,Sun-Blade-100

Open in new window

Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

woolmilkporcConnect With a Mentor Commented:
>> You need to install patch ... <<

Yes, but prngd can well serve as a surrogate entropy source.

It seems that everything is correctly installed and that prngd is running.
The only thing I can see is that "prngd" has used up quite a lot of CPU in a short time
which is not normal.

I think you should stop and restart the prngd process, wait a bit and retry,

Maybe you should even delete (rm) the socket "/var/spool/prngd/pool" after stopping and before restarting prngd.
Sudeep SharmaTechnical DesignerCommented:
Could you please post the permission setting of the /etc/entropy folder.

HobolyAuthor Commented:
prod1# ls -trl /etc |grep entr
prod1# ls -trl  /etc/entropy
/etc/entropy: No such file or directory
prod1# id
uid=0(root) gid=1(other)

Open in new window

Brian UtterbackPrinciple Software EngineerCommented:
Solaris 8 does not have a source of entropy standard. You need to install patch 112438 (any version) before you build ssh.
HobolyAuthor Commented:
it works. thanks
All Courses

From novice to tech pro — start learning today.