Daniel J. Popowich
dpopowich at blue-fox.com
Thu Mar 31 09:36:37 EST 2005
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/
|