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

Posted on 2014-02-10
Last Modified: 2014-02-11
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

Question by:Hoboly
LVL 29

Expert Comment

by:Sudeep Sharma
ID: 39846903
Could you please post the permission setting of the /etc/entropy folder.


Author Comment

ID: 39846916
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

LVL 22

Expert Comment

ID: 39847066
Solaris 8 does not have a source of entropy standard. You need to install patch 112438 (any version) before you build ssh.
LVL 68

Accepted Solution

woolmilkporc earned 500 total points
ID: 39847168
>> 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.

Author Closing Comment

ID: 39852077
it works. thanks

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
FreeBSD on EC2 FreeBSD ( is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question