Date: Tue, 8 Aug 2006 00:23:03 -0700 (PDT) From: Girish Venkatachalam <girish1729@yahoo.com> To: Andreas "Wider�e" Andersen <wodfer@gmail.com>, freebsd-questions@freebsd.org Subject: Re: Need help! Apache core dumps when running startssl Message-ID: <20060808072303.21211.qmail@web35603.mail.mud.yahoo.com> In-Reply-To: <23ed14b80608080015j5b9931cdycaf553c8dfe68c88@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--- Andreas Wider�e Andersen <wodfer@gmail.com>
wrote:
> On 8/8/06, Girish Venkatachalam
> <girish1729@yahoo.com> wrote:
> >
> >
> >
> > --- Andreas Wider�e Andersen <wodfer@gmail.com>
> > wrote:
> >
> > > Hi,
> > > I recently upgraded one of my production servers
> to
> > > FreeBSD 4.11 p19 and
> > > then upgraded all ports. I'm now running Apache
> > > 1.3.36 mod_ssl and Php 4.4.2
> > > .
> > >
> > > I had Squirrelmail running on https and now I
> can't
> > > start Apache with ssl.
> > > Every time it coredumps. I've tried snakeoil and
> my
> > > own cert. Same thing
> > > happens.
> > >
> > > This is the error message I can see from my
> > > httpd-error.log:
> > >
> > > [Mon Aug 7 20:20:03 2006] [notice] caught
> SIGTERM,
> > > shutting down
> > >
> > > ssl-engine log:
> > >
> > > [07/Aug/2006 20:29:01 16880] [info] Server:
> > > Apache/1.3.36, Interface:
> > > mod_ssl/2.8.27, Library: OpenSSL/0.9.8b
> > > [07/Aug/2006 20:29:01 16880] [info] Init: 1st
> > > startup round (still not
> > > detached)
> > > [07/Aug/2006 20:29:01 16880] [info] Init:
> > > Initializing OpenSSL library
> > > [07/Aug/2006 20:29:01 16880] [info] Init:
> Loading
> > > certificate & private key
> > > of SSL-aware server my.domain.com:443
> > > [07/Aug/2006 20:29:01 16880] [info] Init:
> Seeding
> > > PRNG with 136 bytes of
> > > entropy
> > > [07/Aug/2006 20:29:01 16880] [info] Init:
> > > Generating temporary RSA private
> > > keys (512/1024 bits)
> > >
> > > from messages:
> > >
> > > Aug 7 20:34:52 server /kernel: pid 17041
> (httpd),
> > > uid 0: exited on signal
> > > 11 (core dumped)
> > >
> > > That's it. I can't find any other logs and I
> can't
> > > tell what's wrong.
> > >
> > > What could it be and what can I do? I have
> checked
> > > the httpd.conf file and
> > > compared the previous version with the new dist.
> > > Same directives related to
> > > ssl virtualhost as far as I can see.
> > >
> > > Hope to get some input.
> > Looks like ur random seeding is not happening
> > properly. check whether /dev/random and
> /dev/urandom
> > work properly. You can verify it with the command
> >
> > $openssl rand 512
> >
> > HTH,
> > Girish
> >
>
> Thanks for your reply. This just gave me a lot of
> "garbage" on the screen.
> Ie, like this:
>
> ¿Ð3•Éšï¼&–|¥¾W<pŒÞÐàvC~
>
>
jþ‚vzü¼ùµÒ¼}$(c)"swüg;€ñ¿gé¶ïa°(c)éå4|C—(c)\Î
>
}™v=Ãñ5Î×%âÔÙZ`",BÜÃT‰‹þBŒv´ýh£ÙlõKkòä2ZüìÊg{åVµ±ü3`BɦÁ(›¤>2çyõû12ÿNº9Å—ùèkÒ™ºß…¼'—ú
>
> ...
Then that is working properly. I think you can try
this then. Which might also work and I am out of
ideas. :-(
$ openssl genrsa 1024
>
> Rgds,
> Andreas
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060808072303.21211.qmail>
