Re: Apache Segmentation Fault on succesful authentication

2008-11-20 Thread huw_at1
OK I'll give it a go when I get some time to try mod_wsgi. Thanks for all the help regarding this matter. On Nov 17, 10:30 am, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > Can you try building mod_wsgi instead and see if it picks up the > correct library? > > If it doesn't work, post the output

Re: Apache Segmentation Fault on succesful authentication

2008-11-17 Thread Graham Dumpleton
Can you try building mod_wsgi instead and see if it picks up the correct library? If it doesn't work, post the output from running 'configure' script and running 'make' for mod_wsgi. I trust mod_wsgi build process more than I do mod_python. Graham On Nov 17, 9:04 pm, huw_at1 <[EMAIL

Re: Apache Segmentation Fault on succesful authentication

2008-11-17 Thread huw_at1
ls -ltr /usr/local/lib/python2.5/config/libpython2.5.so lrwxrwxrwx 1 root root 21 Nov 12 10:48 /usr/local/lib/python2.5/config/ libpython2.5.so -> ../../libpython2.5.so ls -ltr /usr/local/lib -r-xr-xr-x 1 root root 4806649 Nov 11 11:22 libpython2.5.a -r-xr-xr-x 1 root root 4806649 Nov 12

Re: Apache Segmentation Fault on succesful authentication

2008-11-13 Thread Graham Dumpleton
Did you do a 'ls -L' on the symlink to validate it pointed at something? The relative location of where the .so will be is more a hint as for different systems it may not be in same relative location. Graham On Nov 13, 10:44 pm, huw_at1 <[EMAIL PROTECTED]> wrote: > My apologies. I forgot to

Re: Apache Segmentation Fault on succesful authentication

2008-11-13 Thread huw_at1
My apologies. I forgot to mention that I already tried what was suggested in the article you pointed me at. I created a symlink in / usr/local/lib/python2.5/config as directed however recompiling mod_python still links to the library statically. Unless I missed a step in the article I am starting

Re: Apache Segmentation Fault on succesful authentication

2008-11-13 Thread Graham Dumpleton
Because you have created the symlink for the .so file so it appears next to the static library. It is arguably a a failing of standard Python installer that it doesn't do this. What to do is explained in document I previously pointed you at:

Re: Apache Segmentation Fault on succesful authentication

2008-11-13 Thread huw_at1
ls -ltr /usr/local/lib -r-xr-xr-x 1 root root 4806649 Nov 11 11:22 libpython2.5.a -r-xr-xr-x 1 root root 4806649 Nov 12 12:49 libpython2.5.so.1.0 lrwxrwxrwx 1 root root19 Nov 12 12:49 libpython2.5.so -> libpython2.5.so.1.0 echo $LD_LIBRARY_PATH /usr/local/lib ldd

Re: Apache Segmentation Fault on succesful authentication

2008-11-12 Thread Graham Dumpleton
On Nov 12, 11:44 pm, huw_at1 <[EMAIL PROTECTED]> wrote: > echo '/usr/local/lib' >> /etc/ld.so.conf > > more /etc/ld.so.conf > > include ld.so.conf.d/*.conf > /usr/local/lib > > ldd /usr/local/bin/python > >         libpython2.5.so.1.0 => not found >         libpthread.so.0 =>

Re: Apache Segmentation Fault on succesful authentication

2008-11-12 Thread huw_at1
echo '/usr/local/lib' >> /etc/ld.so.conf more /etc/ld.so.conf include ld.so.conf.d/*.conf /usr/local/lib ldd /usr/local/bin/python libpython2.5.so.1.0 => not found libpthread.so.0 => /lib64/libpthread.so.0 (0x0039a4a0) libdl.so.2 => /lib64/libdl.so.2

Re: Apache Segmentation Fault on succesful authentication

2008-11-12 Thread marco ghidinelli
On Wed, Nov 12, 2008 at 03:22:02AM -0800, huw_at1 wrote: > > An update on this. > > 'which python' returns: > > libpython2.5.so.1.0 => not found > libpthread.so.0 => /lib64/libpthread.so.0 (0x0039a4a0) > libdl.so.2 => /lib64/libdl.so.2 (0x0039a460) >

Re: Apache Segmentation Fault on succesful authentication

2008-11-12 Thread huw_at1
An update on this. 'which python' returns: libpython2.5.so.1.0 => not found libpthread.so.0 => /lib64/libpthread.so.0 (0x0039a4a0) libdl.so.2 => /lib64/libdl.so.2 (0x0039a460) libutil.so.1 => /lib64/libutil.so.1 (0x0039b340)

Re: Apache Segmentation Fault on succesful authentication

2008-11-11 Thread huw_at1
I'm having difficulty getting the mod_python.so to link dynamically. I'm trying to compile the python interpreter with the "--enable- shared" and compiling mod_python with the "--with-python" flags. However the "ldd" always shows the mod_python.so as not dynamically linking to the python

Re: Apache Segmentation Fault on succesful authentication

2008-11-10 Thread Graham Dumpleton
On Nov 10, 8:53 pm, huw_at1 <[EMAIL PROTECTED]> wrote: > Hi Graham and thanks for the response again. > > I seem to remember when I originally built this 64-bit mod_python > module I had a lot of difficulty. I was getting error messages which I > solved by following the solution in this

Re: Apache Segmentation Fault on succesful authentication

2008-11-10 Thread huw_at1
Some more info. Apache also segfaults when I succesfully sign in to the admin site. On Nov 10, 9:53 am, huw_at1 <[EMAIL PROTECTED]> wrote: > Hi Graham and thanks for the response again. > > I seem to remember when I originally built this 64-bit mod_python > module I had a lot of difficulty. I

Re: Apache Segmentation Fault on succesful authentication

2008-11-10 Thread huw_at1
Hi Graham and thanks for the response again. I seem to remember when I originally built this 64-bit mod_python module I had a lot of difficulty. I was getting error messages which I solved by following the solution in this article: http://agiletesting.blogspot.com/2007_10_01_archive.html

Re: Apache Segmentation Fault on succesful authentication

2008-11-08 Thread Graham Dumpleton
On Nov 7, 10:29 pm, huw_at1 <[EMAIL PROTECTED]> wrote: > Graham thanks, > > First of all here is my httpd.conf file modules: > > # Example: > # LoadModule foo_module modules/mod_foo.so > # > > LoadModule python_module modules/mod_python.so > #LoadModule dav_svn_module     modules/mod_dav_svn.so

Re: Apache Segmentation Fault on succesful authentication

2008-11-07 Thread huw_at1
Graham thanks, First of all here is my httpd.conf file modules: # Example: # LoadModule foo_module modules/mod_foo.so # LoadModule python_module modules/mod_python.so #LoadModule dav_svn_module modules/mod_dav_svn.so #LoadModule authz_svn_module modules/mod_authz_svn.so # So as you

Re: Apache Segmentation Fault on succesful authentication

2008-11-06 Thread Graham Dumpleton
On Nov 7, 2:38 am, huw_at1 <[EMAIL PROTECTED]> wrote: > Hi all. I am having some real problems with this. I have an LDAP > authentication backend that I have hooked up to my app. Standalone it > appears to run fine. However when running it through my apache server > I am seeing alot of

Re: Apache Segmentation Fault on succesful authentication

2008-11-06 Thread huw_at1
I tried running a strace on apache for this but I am still no wiser? Anyone? On Nov 6, 3:38 pm, huw_at1 <[EMAIL PROTECTED]> wrote: > Hi all. I am having some real problems with this. I have an LDAP > authentication backend that I have hooked up to my app. Standalone it > appears to run fine.

Apache Segmentation Fault on succesful authentication

2008-11-06 Thread huw_at1
Hi all. I am having some real problems with this. I have an LDAP authentication backend that I have hooked up to my app. Standalone it appears to run fine. However when running it through my apache server I am seeing alot of segmentation faults in my error log coupled with the redirection page