You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Renu Tiwari <Re...@infosys.com> on 2007/10/25 09:45:56 UTC

Segmentation fault( SSL enable Apache 2.2.6(64 bit)

Hi,

We have configured Apache 2.2.6(64 bit) with openssl-0.9.8g on AIX5.2(64 bit).
Build openssl source after setting BUILD_MODE=64.

The issue is, when we start the Apache web server(./apachectl start), we are getting segmentation fault in error_log.

This issue is coming only when openssl is coming into the picture.

What cud be the possible reason? Please reply.

Thanks.






**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Re: Segmentation fault( SSL enable Apache 2.2.6(64 bit)

Posted by Arnab Ganguly <ag...@gmail.com>.
Try loading only the required modules.Are you aware of the content length of
your request, like if it the contents are dynamic keep the KeepAlive Off in
your conf file.
Thanks
-A

On 10/26/07, Renu Tiwari <Re...@infosys.com> wrote:
>
> Hi,
>
> From googling I got the solution to delete -O (caps o) from Makefile of
> openssl.
> I did it and this time "make test" got passed.
>
> But still I am getting segmentation fault after starting Apache server.
>
> Please suggest.
>
> Thanks.
>
> -----Original Message-----
> From: Niklas Edmundsson [mailto:nikke@acc.umu.se]
> Sent: Thursday, October 25, 2007 4:23 PM
> To: 'dev@httpd.apache.org'
> Subject: RE: Segmentation fault( SSL enable Apache 2.2.6(64 bit)
>
> On Thu, 25 Oct 2007, Renu Tiwari wrote:
>
> >
> >
> >
> > No, when I tried doing "make test", it failed.
>
> > But when I tried to run "make install" and "make", there I didn't
> > get any error.
>
> make install doesn't do the test.
>
> If your openssl doesn't pass make test, then it's broken. Fix that
> first.
>
> > Also I have copied the same SSL-enabled Apache webserver on AIX
> > 5.3(64 bit) there it is working perfectly fine.
>
> > Does this depend on the kernel also. As AIX5.3 is 64-bit kernel and
> > AIX 5.2 is 32-bit kernel m/c.
>
> > But our application is running as 64 bit application.
>
> Shouldn't matter, could be that you're hitting some bug that's been
> fixed. You might want to check your C runtime patch levels, and other
> patches too for that matter.
>
>
> > -----Original Message-----
> > From: Niklas Edmundsson [mailto:nikke@acc.umu.se]
> > Sent: Thursday, October 25, 2007 2:36 PM
> > To: 'dev@httpd.apache.org'
> > Subject: Re: Segmentation fault( SSL enable Apache 2.2.6(64 bit)
> >
> >
> >
> > On Thu, 25 Oct 2007, Renu Tiwari wrote:
> >
> >
> >
> >>
> >
> >> Hi,
> >
> >>
> >
> >> We have configured Apache 2.2.6(64 bit) with openssl-0.9.8g on AIX5.2(64
> bit).
> >
> >> Build openssl source after setting BUILD_MODE=64.
> >
> >>
> >
> >> The issue is, when we start the Apache web server(./apachectl start),
> we are getting segmentation fault in error_log.
> >
> >>
> >
> >> This issue is coming only when openssl is coming into the picture.
> >
> >>
> >
> >> What cud be the possible reason? Please reply.
> >
> >
> >
> > Did your openssl 64bit build pass "make test" (or make check, whatever
> >
> > it's called)?
> >
> >
> >
> > /Nikke
> >
> > --
> >
> >
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> >
> >  Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se      |
> nikke@acc.umu.se
> >
> >
> ---------------------------------------------------------------------------
> >
> >  If I wanted your opinion, I would have given you one
> >
> >
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> >
> >
> > **************** CAUTION - Disclaimer *****************
> > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
> solely for the use of the addressee(s). If you are not the intended
> recipient, please notify the sender by e-mail and delete the original
> message. Further, you are not to copy, disclose, or distribute this e-mail
> or its contents to any other person and any such actions are unlawful. This
> e-mail may contain viruses. Infosys has taken every reasonable precaution to
> minimize this risk, but is not liable for any damage you may sustain as a
> result of any virus in this e-mail. You should carry out your own virus
> checks before opening the e-mail or attachment. Infosys reserves the right
> to monitor and review the content of all messages sent to or from this
> e-mail address. Messages sent to or from this e-mail address may be stored
> on the Infosys e-mail system.
> > ***INFOSYS******** End of Disclaimer ********INFOSYS***
>
>
> /Nikke
> --
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>   Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se      |
> nikke@acc.umu.se
>
> ---------------------------------------------------------------------------
>   Taken as a whole, the universe is absurd
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>

RE: Segmentation fault( SSL enable Apache 2.2.6(64 bit)

Posted by Renu Tiwari <Re...@infosys.com>.
Hi,

>From googling I got the solution to delete -O (caps o) from Makefile of openssl.
I did it and this time "make test" got passed.

But still I am getting segmentation fault after starting Apache server.

Please suggest.

Thanks.

-----Original Message-----
From: Niklas Edmundsson [mailto:nikke@acc.umu.se]
Sent: Thursday, October 25, 2007 4:23 PM
To: 'dev@httpd.apache.org'
Subject: RE: Segmentation fault( SSL enable Apache 2.2.6(64 bit)

On Thu, 25 Oct 2007, Renu Tiwari wrote:

>
>
>
> No, when I tried doing "make test", it failed.

> But when I tried to run "make install" and "make", there I didn't
> get any error.

make install doesn't do the test.

If your openssl doesn't pass make test, then it's broken. Fix that
first.

> Also I have copied the same SSL-enabled Apache webserver on AIX
> 5.3(64 bit) there it is working perfectly fine.

> Does this depend on the kernel also. As AIX5.3 is 64-bit kernel and
> AIX 5.2 is 32-bit kernel m/c.

> But our application is running as 64 bit application.

Shouldn't matter, could be that you're hitting some bug that's been
fixed. You might want to check your C runtime patch levels, and other
patches too for that matter.


> -----Original Message-----
> From: Niklas Edmundsson [mailto:nikke@acc.umu.se]
> Sent: Thursday, October 25, 2007 2:36 PM
> To: 'dev@httpd.apache.org'
> Subject: Re: Segmentation fault( SSL enable Apache 2.2.6(64 bit)
>
>
>
> On Thu, 25 Oct 2007, Renu Tiwari wrote:
>
>
>
>>
>
>> Hi,
>
>>
>
>> We have configured Apache 2.2.6(64 bit) with openssl-0.9.8g on AIX5.2(64 bit).
>
>> Build openssl source after setting BUILD_MODE=64.
>
>>
>
>> The issue is, when we start the Apache web server(./apachectl start), we are getting segmentation fault in error_log.
>
>>
>
>> This issue is coming only when openssl is coming into the picture.
>
>>
>
>> What cud be the possible reason? Please reply.
>
>
>
> Did your openssl 64bit build pass "make test" (or make check, whatever
>
> it's called)?
>
>
>
> /Nikke
>
> --
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
>  Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se      |     nikke@acc.umu.se
>
> ---------------------------------------------------------------------------
>
>  If I wanted your opinion, I would have given you one
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
>
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***


/Nikke
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se      |     nikke@acc.umu.se
---------------------------------------------------------------------------
  Taken as a whole, the universe is absurd
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

RE: Segmentation fault( SSL enable Apache 2.2.6(64 bit)

Posted by Niklas Edmundsson <ni...@acc.umu.se>.
On Thu, 25 Oct 2007, Renu Tiwari wrote:

>
>
>
> No, when I tried doing "make test", it failed.

> But when I tried to run "make install" and "make", there I didn't 
> get any error.

make install doesn't do the test.

If your openssl doesn't pass make test, then it's broken. Fix that 
first.

> Also I have copied the same SSL-enabled Apache webserver on AIX 
> 5.3(64 bit) there it is working perfectly fine.

> Does this depend on the kernel also. As AIX5.3 is 64-bit kernel and 
> AIX 5.2 is 32-bit kernel m/c.

> But our application is running as 64 bit application.

Shouldn't matter, could be that you're hitting some bug that's been 
fixed. You might want to check your C runtime patch levels, and other 
patches too for that matter.


> -----Original Message-----
> From: Niklas Edmundsson [mailto:nikke@acc.umu.se]
> Sent: Thursday, October 25, 2007 2:36 PM
> To: 'dev@httpd.apache.org'
> Subject: Re: Segmentation fault( SSL enable Apache 2.2.6(64 bit)
>
>
>
> On Thu, 25 Oct 2007, Renu Tiwari wrote:
>
>
>
>>
>
>> Hi,
>
>>
>
>> We have configured Apache 2.2.6(64 bit) with openssl-0.9.8g on AIX5.2(64 bit).
>
>> Build openssl source after setting BUILD_MODE=64.
>
>>
>
>> The issue is, when we start the Apache web server(./apachectl start), we are getting segmentation fault in error_log.
>
>>
>
>> This issue is coming only when openssl is coming into the picture.
>
>>
>
>> What cud be the possible reason? Please reply.
>
>
>
> Did your openssl 64bit build pass "make test" (or make check, whatever
>
> it's called)?
>
>
>
> /Nikke
>
> --
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
>  Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se      |     nikke@acc.umu.se
>
> ---------------------------------------------------------------------------
>
>  If I wanted your opinion, I would have given you one
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>
>
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***


/Nikke
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se      |     nikke@acc.umu.se
---------------------------------------------------------------------------
  Taken as a whole, the universe is absurd
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

RE: Segmentation fault( SSL enable Apache 2.2.6(64 bit)

Posted by Renu Tiwari <Re...@infosys.com>.


No, when I tried doing "make test", it failed.

Following is the error:-



Getting Private key

18378:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not seeded:m

d_rand.c:503:You need to read the OpenSSL FAQ, http://www.openssl.org/support/fa

q.html

18378:error:04088003:rsa routines:RSA_setup_blinding:BN lib:rsa_lib.c:407:

18378:error:04066044:rsa routines:RSA_EAY_PRIVATE_ENCRYPT:internal error:rsa_eay

.c:387:

18378:error:0D0C3006:asn1 encoding routines:ASN1_item_sign:EVP lib:a_sign.c:276:

error using 'x509' to self sign a certificate request



make: 1254-004 The error code from the last command is 1.



Stop.



make: 1254-004 The error code from the last command is 2.



Stop.



But when I tried to run "make install" and "make", there I didn't get any error.



Also I have copied the same SSL-enabled Apache webserver on AIX 5.3(64 bit) there it is working perfectly fine.



Does this depend on the kernel also. As AIX5.3 is 64-bit kernel and AIX 5.2 is 32-bit kernel m/c.

But our application is running as 64 bit application.



This is confusing me.













-----Original Message-----
From: Niklas Edmundsson [mailto:nikke@acc.umu.se]
Sent: Thursday, October 25, 2007 2:36 PM
To: 'dev@httpd.apache.org'
Subject: Re: Segmentation fault( SSL enable Apache 2.2.6(64 bit)



On Thu, 25 Oct 2007, Renu Tiwari wrote:



>

> Hi,

>

> We have configured Apache 2.2.6(64 bit) with openssl-0.9.8g on AIX5.2(64 bit).

> Build openssl source after setting BUILD_MODE=64.

>

> The issue is, when we start the Apache web server(./apachectl start), we are getting segmentation fault in error_log.

>

> This issue is coming only when openssl is coming into the picture.

>

> What cud be the possible reason? Please reply.



Did your openssl 64bit build pass "make test" (or make check, whatever

it's called)?



/Nikke

--

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se      |     nikke@acc.umu.se

---------------------------------------------------------------------------

  If I wanted your opinion, I would have given you one

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***

Re: Segmentation fault( SSL enable Apache 2.2.6(64 bit)

Posted by Niklas Edmundsson <ni...@acc.umu.se>.
On Thu, 25 Oct 2007, Renu Tiwari wrote:

>
> Hi,
>
> We have configured Apache 2.2.6(64 bit) with openssl-0.9.8g on AIX5.2(64 bit).
> Build openssl source after setting BUILD_MODE=64.
>
> The issue is, when we start the Apache web server(./apachectl start), we are getting segmentation fault in error_log.
>
> This issue is coming only when openssl is coming into the picture.
>
> What cud be the possible reason? Please reply.

Did your openssl 64bit build pass "make test" (or make check, whatever 
it's called)?

/Nikke
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se      |     nikke@acc.umu.se
---------------------------------------------------------------------------
  If I wanted your opinion, I would have given you one
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=