httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel CARNAT <j...@carnat.net>
Subject Re: Re: [users@httpd] Apache stops/freezes before "Digest: done"
Date Wed, 23 Nov 2005 09:25:58 GMT
On Tue, Nov 22 2005 - 14:31, Joshua Slive wrote:
> On 11/22/05, Joel CARNAT <joel@carnat.net> wrote:
> > Hi,
> >
> > I had an Apache 2.0.54 running on gentoo/i386.
> > I did an minor update (-r9 to -r31 which I suspect to be gentoo
> > internals).
> >
> > Since then, Apache won't start anymore...
> > I tried updating a few things (like mod_php, ...), cleanly remove
> > packages and remaning directories and reinstalling the package but
> > Apache still don't start (anymore).
> >
> > The error_log says (using -X -e debug) :
> 
> > [notice] Digest: generating secret for digest authentication ...
> >
> > here I should get "Digest: done" but I never.
> > anyone thinks of somewhere I must look...
> > I already did a lot of checkings but I must be forgetting something =)
> 
> mod_auth_digest is asking your system for some random bytes to use for
> digest auth.  Your system is not providing them.
> 
> If you don't need digest auth, the simple solution is to simply remove
> mod_auth_digest.  Otherwise, you'll need to figure out what source of

well... accoring to strace, it stops when trying to read from
/dev/random.

open("/usr/lib/apache2/logs/access_log", O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE, 0666) = 8
open("/var/log/http.fifo", O_WRONLY|O_APPEND|O_CREAT|O_LARGEFILE, 0666) = 9
gettimeofday({1132737091, 140646}, NULL) = 0
write(7, "[Wed Nov 23 10:11:31 2005] [noti"..., 92) = 92
open("/dev/random", O_RDONLY)           = 10
read(10, 

looks like my /dev/random don't give me anything, as "dd if=/dev/random
of=random.txt count=5" freezes too.

gotta sort this out.

thanks.

> random numbers apr is using, and why it is failing.  This should be
> automatic in the compile, so it is likely that gentoo messed something
> up.  But I'm not an expert in this stuff.
> 
> Joshua.

-- 
,- This mail runs ------.
`--------- NetBSD/smtp -'

Mime
View raw message