Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Feb 15, 2010 3:02 am 
Offline
Senior Member

Joined: Sat Feb 14, 2009 1:32 am
Posts: 123
I am using a StackScript to deply Fedora 11 to my Linode. On random first boots the system will hang on "Generating SSH2 RSA host key". I have deployed the system several times tonight (this has been going on for a while) and it worked fine a few times and hung a few times. If I hit enter it will fail and go on. This occurs before the StackScript runs, so doesn't appear to be anything wrong with my scripting.

Anybody have any ideas about why this is happening and what to do to fix it?


Top
   
 Post subject:
PostPosted: Tue Feb 16, 2010 11:30 am 
Offline
Senior Member
User avatar

Joined: Tue Nov 24, 2009 1:59 pm
Posts: 362
Hmm... Depleted /dev/random on the hardware host?


Top
   
 Post subject:
PostPosted: Tue Feb 16, 2010 11:52 am 
Offline
Senior Newbie

Joined: Mon Feb 08, 2010 5:09 pm
Posts: 17
My biggest suggestion is that you should be using Slackware anyway, but then that's my biggest suggestion for everything...


Top
   
 Post subject:
PostPosted: Tue Feb 16, 2010 12:57 pm 
Offline
Senior Member

Joined: Sat Feb 14, 2009 1:32 am
Posts: 123
kmweber wrote:
My biggest suggestion is that you should be using Slackware anyway, but then that's my biggest suggestion for everything...


Sorry, but your suggestion isn't much of a suggestion because it doesn't take any factor into consideration. Perhaps the software I am wanting to run doesn't run on Slackware. Or maybe my client only wants to use Fedora. Or maybe I only want to use Fedora. Suggesting I use a different OS simply because I have a problem (which may or may not be OS related) is not useful and not appreciated.


Top
   
 Post subject:
PostPosted: Tue Feb 16, 2010 2:06 pm 
Offline
Senior Member

Joined: Fri Dec 07, 2007 1:37 am
Posts: 385
Location: NC, USA
rsk wrote:
Hmm... Depleted /dev/random on the hardware host?

+1

If they are using /dev/random to generate the host keys (as they should), it can take a long time on a freshly booted VPS to accumulate enough entropy. Are you waiting a long time before you give up and call it hung?


Top
   
 Post subject:
PostPosted: Tue Feb 16, 2010 2:42 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
For what it's worth, each kernel (and thus Linode) has its own entropy pool, distinct from the host; /proc/sys/kernel/random/entropy_avail has the number of bytes available. It's usually not a big number.


Top
   
 Post subject:
PostPosted: Tue Feb 16, 2010 4:02 pm 
Offline
Senior Member

Joined: Sat Feb 14, 2009 1:32 am
Posts: 123
Stever wrote:
rsk wrote:
Hmm... Depleted /dev/random on the hardware host?

+1

If they are using /dev/random to generate the host keys (as they should), it can take a long time on a freshly booted VPS to accumulate enough entropy. Are you waiting a long time before you give up and call it hung?


At one point I waited several hours. When I finally gave up I went through the process again and it worked fine.


Top
   
 Post subject:
PostPosted: Thu Feb 18, 2010 8:58 am 
Offline
Senior Member
User avatar

Joined: Mon Dec 10, 2007 4:30 pm
Posts: 341
Website: http://markwalling.org
kmweber wrote:
My biggest suggestion is that you should be using Slackware anyway, but then that's my biggest suggestion for everything...


And this is why Slackware has such a bad name.

.llort


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group