Phil -
I continue to have problems with mod_auth_cas. I am compiling it
with openssl-0.9.8h.
For apr, the only thing I know is that libaprutil-1.so is linked to
libaprutil-1.so.0.2.12 and
the apache server is 2.2.8.
The module works for a couple of times and then fails. I am using it
to protect a PHP application.
When it works, the PHP application runs and logs. When it fails, the PHP
application neither
runs nor logs.
I tried to use gdb to get a stack trace, but after attaching to the
apache process and then trying
to access the web app, this is what 'bt' got me
#0 0xfe7ae590 in ?? ()
not much help.
We are trying to use mod_auth_cas as our main form of controlling
access to our web sites here at the UC Berkeley Library.
Our environment is basically what I have here, Solaris 10, apache
2.2.8->, everything compiled with gcc.
Any help would be appreciated;
Garey Mills
Phil Ames wrote:
> Hi,
> I ran into similar problems when testing the module on a z series
> Linux image, and recall them being related to how the architecture
> treated variables of certain types (int vs long, etc.). In order to
> track the problem down, I compiled the module with GDB debugging
> support (I believe with apxs the flag to pass this on to the compiler
> is -Wc,"-ggdb"). Then, you can start apache in the debug mode (httpd
> -X), then use gdb to attach to the process (use the 'attach [pid]'
> command from within gdb) and perform the action that causes the crash.
> You should then be able to determine where the crash is occurring by
> examining the backtrace in GDB. If you can get me that information, I
> can take a stab at diagnosing what the issue is.
>
> Have you tried enabling CASDebug and setting the server LogLevel to
> debug? That may also provide some clues as to what steps are getting
> completed before the bus error is provoked and is far less involved
> than the troubleshooting method I describe above.
>
> -Phil
>
> On Fri, Jul 25, 2008 at 4:57 PM, <[EMAIL PROTECTED]> wrote:
>
>> Hi -
>>
>> I'm trying to install mod_auth_cas into apache httpd 2.2.8 on a
>> Solaris 10 Sparc server. When I use apxs to compile the module for
>> dynamic load, I am getting the message
>>
>> Cannot load /opt/apache-2.2.8/modules/mod_auth_cas.so into server:
>> ld.so.1: httpd: fatal: relocation error: file
>> /opt/apache-2.2.8/modules/mod_auth_cas.so: symbol SSL_connect: referenced
>> symbol not found
>>
>>
>> In order to get around this, I used a set of commands to compile the
>> module using static libraries
>>
>> apxs -i -c mod_auth_cas.c -lresolv -ldl -lssl -lcrypto -lz
>>
>> using the version of the module compiled like this, the httpd starts and
>> stops without problem, but httpd instances abend thusly:
>>
>> child pid 3119 exit signal Bus error (10)
>>
>>
>> Anyone have any ideas?
>>
>> Garey Mills
>> Library Systems Office
>> UC Berkeley
>>
>>
>> _______________________________________________
>> Yale CAS mailing list
>> [email protected]
>> http://tp.its.yale.edu/mailman/listinfo/cas
>>
>>
> _______________________________________________
> Yale CAS mailing list
> [email protected]
> http://tp.its.yale.edu/mailman/listinfo/cas
>
>
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas