Re: Apache crashes when using LDAP auth: child pid 25625 exit signal Segmentation fault (11)‏

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





> Hello,
> 
> I built apache as below.
> 
> ./configure --prefix=/usr/local/apache2 --with-ssl=/u01/fipsssl
> --enable-ssl -with-ldap --enable-ssl --enable-authnz-ldap
> --enable-ldap --with-mpm=prefork

This is the snip from line I specify to apr-util's ./configure to
enable ldap:

``--with-ldap-include=$incdir --with-ldap-lib=$libdir --with-ldap=ldap_r ''

> mod_ssl/2.2.17 compiled against Server: Apache/2.2.17, Library:
> OpenSSL/0.9.8r-fips
> 
> Everything works fine, except when I go to do ldap authentication.
> The browser pops up a username/password window, I enter my
> username/password and then hit submit.... I get back " Internet

Did you test it with a file based login?

> Explorer cannot display the webpage" and in the error log I see the
> below segmentation fault.... but if I turn of ldap it works fine...:
> 
> Thu Mar 17 14:47:04 2011] [info] [client 129.6.84.222] Connection to
> child 2 established (server acctnew.nist.gov:7100)
> [Thu Mar 17 14:47:04 2011] [info] Seeding PRNG with 136 bytes of
> entropy
> [Thu Mar 17 14:47:04 2011] [info] Initial (No.1) HTTPS request
> received for child 2 (server acctnew.nist.gov:7100)
> [Thu Mar 17 14:47:04 2011] [info] [client 129.6.84.222] Connection
> closed to child 2 with unclean shutdown (server
> acctnew.nist.gov:7100)
> [Thu Mar 17 14:47:10 2011] [info] [client 129.6.84.222] Connection to
> child 3 established (server acctnew.nist.gov:7100)
> [Thu Mar 17 14:47:10 2011] [info] Seeding PRNG with 136 bytes of
> entropy
> [Thu Mar 17 14:47:10 2011] [info] Initial (No.1) HTTPS request
> received for child 3 (server acctnew.nist.gov:7100)
> [Thu Mar 17 14:47:11 2011] [notice] child pid 25625 exit signal
> Segmentation fault (11)

If you get a Segmentation fault, there must be a way to produce a core dump:

Generally:
Set a CoreDumpDirectory in httpd.conf:
http://httpd.apache.org/docs/current/mod/mpm_common.html#coredumpdirectory

Assuming you're on Linux:

put `ulimit -c unlimited` in apachectl
Or a core_pattern via sysctl, see core(5) for more info.

on FreeBSD:
put `limit coredumpsize unlimited` in apachectl
See core(5) how to set with sysctl a pattern for kern.corefile.

For Solaris see coreadm(1M) - which controls both.

I think I should paste this in a wiki.

> Thank you for any help!
> Sam

i

-- 
Igor GaliÄ

Tel: +43 (0) 664 886 22 883
Mail: i.galic@xxxxxxxxxxxxxx
URL: http://brainsware.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux