Solved

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

Posted on 2014-02-10
5
723 Views
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 10.129.3.1
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
prod1# 

Open in new window

0
Comment
Question by:Hoboly
5 Comments
 
LVL 30

Expert Comment

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

Sudeep
0
 

Author Comment

by:Hoboly
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

0
 
LVL 22

Expert Comment

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

Accepted Solution

by:
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.
0
 

Author Closing Comment

by:Hoboly
ID: 39852077
it works. thanks
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Rebuild awstats from SSH command line on CentOS, from awstats txt files from another server 1 147
UNIX SCP 5 87
Best way to split and output to csv in bash 2 75
awk sed 8 102
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Secure Shell (SSH) is a network protocol for secure data communication, mainly used to administer remote Unix / Linux servers via command line. But it also allows the user to open a secure tunnel between a client and a server where he can send any k…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

679 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