[mod_python] seg fault with mod_python - python-ldap

Colin Doherty coldoherty68 at yahoo.co.uk
Thu Mar 31 13:55:10 EST 2005


That looks like the cause of the problem. I recompiled
everything, ensuring everything was pointing at the
same openldap/bdb install and that fixed it. 

Thanks
Colin Doherty

--- "Daniel J. Popowich" <dpopowich at blue-fox.com>
wrote:
> Graham Dumpleton writes:
> > Colin Doherty wrote ..
> > > Hi,
> > > 
> > > I'm getting an apache seg fault when submitting
> > > authentication details using the mod_python auth
> > > mechanism and python-ldap. The python-ldap
> module
> > > works fine from a standalone script so it seems
> to be
> > > an apache  - python-ldap - openldap library
> issue. Set
> > > up is as follows on solaris 8:
> > > 
> > > apache 2 (2.0.53), python-ldap 2.0.6, mod_python
> > > 3.1.4, mpservlets 1.1.6, openldap 2.2.7
> > > 
> > > Anyone come across this issue ?
> > 
> > First thing to do would be to try and determine if
> the python-ldap
> > module has been compiled against the same version
> of ldap libraries
> > that any loaded mod_ldap module used by Apache, or
> any compiled
> > in support for ldap in PHP uses.
> > 
> > A mismatch in library versions required for
> different modules in
> > the areas of Python, Apache and PHP is usually the
> cause of
> > such unexplained seg faults.
> 
> I have a vague memory of dealing with this issue
> (ldap/apache); I
> think the problem was a mismatch of Berkeley DB
> libraries (sleepycat).
> I had built openldap against the latest sleepycat
> distro, but apache
> was built against my standard RedHat distro.  No
> faster way to core
> dump apache!
> 
> Make sure apache/python-ldap/openldap are all in
> sync.  The ldd
> utility can help you figure out which binary/library
> is dependent on
> what.
> 
> Daniel Popowich
> -----------------------------------------------
> http://home.comcast.net/~d.popowich/mpservlets/
> 

Send instant messages to your online friends http://uk.messenger.yahoo.com 


More information about the Mod_python mailing list