You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Rafael Caceres <rc...@aasa.com.pe> on 2005/10/05 01:01:36 UTC

Apache segfaults with Oracle AS10g (9.0.4.0) when attempting to use mod_perl

When trying to use any mod_perl functionality in the Apache server
included with Oracle AS10g under AIX 5.3, such as
-'PerlModule Apache::Status'
-'PerlModule Apache::DBI'
or others using XS, Apache does a coredump.

The same coredump occurs if no XS using module is loaded from httpd.conf
but used in a script run from the /perl location.

The same occurs if an XS using module is run with 'PerlRequire
initial_load.pl'

The PERL5LIB value is correctly set in the Apache httpd.conf, so that is
not the problem. Oracle support has provided very little help to date,
and mod_perl usage is critical for our SingleSignOn system.

Any help is appreciated,
Rafael Caceres


Re: Apache segfaults with Oracle AS10g (9.0.4.0) when attempting to use mod_perl

Posted by Rafael Caceres <rc...@aasa.com.pe>.
Maruthi,

The only time anything is written to the logs is the case where the
'script.pl' under /perl has no XS components. In that case, no error or
warning results.
Any of the other cases mentioned in my initial posting results in
absolutely nothing output to the logs (with LogLevel debug) and apache
coredumps.

Regards,
Rafael Caceres

On Wed, 2005-10-05 at 10:02 +0530, Maruthi Vara Prasad Chirravuri wrote:
> Hi,
> 
> Can u send the /var/log/httpd/error.log and /var/log/messages output.
> 
> Ch. Maruthi Vara Prasad.
> 
> On 10/5/05, Rafael Caceres <rc...@aasa.com.pe> wrote:
> > When trying to use any mod_perl functionality in the Apache server
> > included with Oracle AS10g under AIX 5.3, such as
> > -'PerlModule Apache::Status'
> > -'PerlModule Apache::DBI'
> > or others using XS, Apache does a coredump.
> >
> > The same coredump occurs if no XS using module is loaded from httpd.conf
> > but used in a script run from the /perl location.
> >
> > The same occurs if an XS using module is run with 'PerlRequire
> > initial_load.pl'
> >
> > The PERL5LIB value is correctly set in the Apache httpd.conf, so that is
> > not the problem. Oracle support has provided very little help to date,
> > and mod_perl usage is critical for our SingleSignOn system.
> >
> > Any help is appreciated,
> > Rafael Caceres
> >
> >
> 
> 
> !DSPAM:4343d6aa291741820910393!
> 


Re: Apache segfaults with Oracle AS10g (9.0.4.0) when attempting to use mod_perl

Posted by Maruthi Vara Prasad Chirravuri <ma...@gmail.com>.
Hi,

Can u send the /var/log/httpd/error.log and /var/log/messages output.

Ch. Maruthi Vara Prasad.

On 10/5/05, Rafael Caceres <rc...@aasa.com.pe> wrote:
> When trying to use any mod_perl functionality in the Apache server
> included with Oracle AS10g under AIX 5.3, such as
> -'PerlModule Apache::Status'
> -'PerlModule Apache::DBI'
> or others using XS, Apache does a coredump.
>
> The same coredump occurs if no XS using module is loaded from httpd.conf
> but used in a script run from the /perl location.
>
> The same occurs if an XS using module is run with 'PerlRequire
> initial_load.pl'
>
> The PERL5LIB value is correctly set in the Apache httpd.conf, so that is
> not the problem. Oracle support has provided very little help to date,
> and mod_perl usage is critical for our SingleSignOn system.
>
> Any help is appreciated,
> Rafael Caceres
>
>

Re: Apache segfaults with Oracle AS10g (9.0.4.0) when attempting to use mod_perl

Posted by Frank Wiles <fr...@wiles.org>.
On Tue, 04 Oct 2005 18:01:36 -0500
Rafael Caceres <rc...@aasa.com.pe> wrote:

> When trying to use any mod_perl functionality in the Apache server
> included with Oracle AS10g under AIX 5.3, such as
> -'PerlModule Apache::Status'
> -'PerlModule Apache::DBI'
> or others using XS, Apache does a coredump.
> 
> The same coredump occurs if no XS using module is loaded from
> httpd.conf but used in a script run from the /perl location.
> 
> The same occurs if an XS using module is run with 'PerlRequire
> initial_load.pl'
> 
> The PERL5LIB value is correctly set in the Apache httpd.conf, so that
> is not the problem. Oracle support has provided very little help to
> date, and mod_perl usage is critical for our SingleSignOn system.

  So this only happens when you load an XS module or run a script that
  uses one?  This sounds to me like a binary incompatibility problem.
  Such as Apache, mod_perl, and Perl itself were compiled under one
  compiler and your XS modules under another ( or just a different 
  version ). 

  Unless the version that Oracle gave you gives you some special
  features, I would recommend recompiling Apache, mod_perl, perl, 
  and your XS modules with the compiler on your server.

 ---------------------------------
   Frank Wiles <fr...@wiles.org>
   http://www.wiles.org
 ---------------------------------