You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Edouard Lagache <la...@canebas.org> on 2004/03/07 22:38:44 UTC

[mp2] needed urandom -> random fix (Re: "server failed to start!")

Hi Stas (and mod_perl community,)

Stas Bekman <st...@stason.org> wrote at Sat, 6 Mar 2004 16:38:39 -0800

>I've found this reference:
>http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=103049
>and it says that apr-0.9.3-14 solves the problem. But 2.0.48 comes with apr 
>0.9.5 and supposedly should use /dev/urandom. 

I did a search, destroy, and re-symlink mission for all these libraries.
 All old crufty libraries were fixed with links to current stuff in /usr/
local/apache2/lib.  I then recompiled Apache to make sure it used the new
libraries.  Alas, all /dev/random issues in the mod_perl tests remained.
 The original error of the "server failed to start" continued and if I
passed it the PERL_HASH_SEED=0 argument, it would then fail on the t/
mod_perl/cookie test as before.  Whatever is new in apr 0.9.5, it doesn't
seem to cure this problem (at least on my system.)

So I followed the advise in the bugzilla posting. I deleted /dev/random
and symlinked that to /dev/urandom.  That solved all testing issues for
the mod_perl 1.99_13 release candidate.  I just finished get Embperl up
and running under mod_perl, that's should as good a "live action" test as any.

So if nothing else works, following the advise in the bugzilla.redhat.com
posting will get you unstuck.  Just as unhappy about the kludgy symlink
as the fellow who originally posted it, but it works and it will have to
do until I can take the time to poke into possible kernel issue.

Thanks again Stas and everyone for all your help!

Peace, Edouard :-)

--------------------------
Edouard Lagache, Sysadmin
canebas.org
elagache@canebas.org
29 Altamount Drive
Orinda, CA, 94563


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html