On Thu, Nov 19, 2009 at 3:33 AM, John Cremona <[email protected]> wrote:
> I am having exactly the same problem as the original poster.  The
> machine runs 64-bit ubuntu (Linux version 2.6.28-13-generic
> (bui...@yellow) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) ) #44-
> Ubuntu SMP Tue Jun 2 07:55:09 UTC 2009)
>
> I don't have certtool installed on the machine (except the Sage
> version).

Can you try installing the system-wide certtool and see what happens?

GNU provides one implementation of certtool and openssl provides another.
The openssl one is excellent and robust -- the GNU one is often insanely slow.
Sage has to include the GNU one...

>
> While it hangs at the point "Generating a 2048 bit RSA private
> key..."  I checked what was happening in another window:
>
> j...@selmer%ps aux | grep certtool
> sage     13068  0.0  0.0   4028   588 pts/7    S<+  11:05   0:00 /bin/
> sh -c certtool --generate-privkey --outfile /home/sage/.sage/dsage/
> cacert.pem
> sage     13069  0.0  0.0  15960  1480 pts/7    S<+  11:05   0:00
> certtool --generate-privkey --outfile /home/sage/.sage/dsage/
> cacert.pem
>
> Note that this is 25 minutes after starting to wait, and that certtool
> is doing nothing at all (S means Suspended, right?)
>
> I tried running the certtool command outside Sage (after doing "sage -
> sh"), namely
>  certtool --generate-privkey --outfile /home/sage/.sage/dsage/
> cacert.pem
> but the same happened, i.e. nothing and no return...


>
> Any ideas for how to sort this out would be welcome.  And it would be
> nice to be able to test the correct running of certtool when Sage is
> built.
>
> John Cremona
>
>
> On 16 Nov, 09:45, "[email protected]"
> <[email protected]> wrote:
>> In my case just waiting for about 10 minutes solved the problem as the
>> entropy on the computer where I started sage was too low.
>>
>> greetings marc
>>
>> On Nov 12, 3:22 am, Kwankyu <[email protected]> wrote:
>>
>> > Hi,
>>
>> > I have a problem starting a sage server after, I think, upgrading to
>> > Ubuntu 9.10 server edition. It just hangs at the point "Generating a
>> > 2048 bit RSA private key..." See the following transcript
>> > [...]
>
> --
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to 
> [email protected]
> For more options, visit this group at 
> http://groups.google.com/group/sage-support
> URL: http://www.sagemath.org



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to