LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 02-06-2009, 12:47 PM   #1
patniemeyer
LQ Newbie
 
Registered: Sep 2006
Posts: 15

Rep: Reputation: 0
Apache + mod_ldap seg faulting - what am I doing wrong?


I have a brand new Fedora 10 system on which I have just installed apache and mod_ldap for use with SVN (using yum). I had the benefit of copying the Apache config from a working machine, so I thought that this would be easy.

However when I try to access the resources it fails and I get a notice about a seg fault in the error_log, e.g.:

[notice] child pid 1661 exit signal Segmentation fault (11)

If I comment out the Require ldap-group line in my config (and presumably it then doesn't use ldap) then all works fine, so I think the problem is in my ldap install.

I have looked around for a core file and also turned up Apache to debug log level, but I do not see any further information. I am wondering if yum is not aware of some dependency or if I'm missing some config that I'm unaware of.

Can anyone give me any pointers on how to proceed with debugging this problem?


thanks,
Pat
 
Old 02-08-2009, 03:03 PM   #2
patniemeyer
LQ Newbie
 
Registered: Sep 2006
Posts: 15

Original Poster
Rep: Reputation: 0
A bit more information - I was able to use ldapsearch (the CLI tool from the mozldap package) to execute the query from this machine. So I don't think there is any obvious connectivity issue or missing open ldap install. It just seems to be related to apache mod_ldap or apache config.
 
Old 02-23-2009, 10:42 AM   #3
patniemeyer
LQ Newbie
 
Registered: Sep 2006
Posts: 15

Original Poster
Rep: Reputation: 0
solution

Someone better at this than me found that installing apr_util_ldap was the solution.

Sounds like Apache probably should not come via yum with mod_ldap by default because of this dependency. Or at minimum it should do something smarter than segfault when it's not present.
 
Old 03-05-2009, 04:12 PM   #4
brunojcm
LQ Newbie
 
Registered: Mar 2009
Posts: 3

Rep: Reputation: 0
bug report

Hi,

I've found the same problem a few days ago, this thread saved me!

I tried to report the bug and discovered that it has already been reported, here:
https://bugzilla.redhat.com/show_bug.cgi?id=471898

You can vote to get this issue solved in fedora 10. In rawhide it`s been resolved.
You can also solve it running, as root:
yum install apr-util-ldap

Thanks.

Bruno Medeiros
 
  


Reply

Tags
apache, ldap, segfault


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mv seg faulting? Tweakin Linux - General 1 05-05-2006 12:05 PM
Apache 2 Child Processes Seg faulting! DavidHayes Linux - Software 1 04-20-2005 07:54 PM
Seg Faulting C. Where? DaveyB Programming 9 11-04-2004 02:00 PM
Compiler seg faulting fitz9948 Slackware 2 05-11-2004 03:04 PM
My program is seg faulting? eggs Programming 2 10-06-2002 02:32 AM


All times are GMT -5. The time now is 11:23 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration