You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Mark Solomon <ms...@seva.net> on 2000/07/19 08:29:30 UTC

Apache::AuthenDBI Intermittent problems

I'm using apache 1.3.12 / mod_perl 1.24 / AuthenDBI 1.34 and Mysql 3.22.x

I have been using AuthenDBI for a while and, while I cannot isolate a
specific system change, apache gives a 500 error 1 out of 10 times with
this in the error_log:

[Wed Jul 19 02:08:30 2000] null: mod_perl_push_handlers: Not a subroutine
name or CODE reference!.
[Wed Jul 19 02:08:30 2000] [error] Undefined subroutine &Apache::AuthenDBI
called.

I've tryed calling Apache::AuthenDBI from both the startup.pl and
httpd.conf like this:
in httpd.conf:
PerlModule Apache::DBI;
PerlModule Apache::AuthenDBI;

Same results when calling from either or both files.

I saw someone back in 1999 had this problem, but I saw no fixes.

Any ideas, I'll be grateful.

- Mark Solomon - Information Technology Manager
  SEVAnet / VECTEC http://www.seva.net/
  Office 757-594-7092 FAX 757-594-7833


Re: Apache::AuthenDBI Intermittent problems

Posted by Mark Solomon <ms...@seva.net>.
I still get that error:
[Thu Jul 20 23:01:26 2000] null: mod_perl_push_handlers: Not a subroutine name or CODE reference!.
[Thu Jul 20 23:01:26 2000] [error] Undefined subroutine &Apache::AuthenDBI called.

every few requests to authenticated areas of the site.

Once more tidbit, it seems to be worse when the server has been running
for a few days.  Leakage, perhaps?

On Wed, 19 Jul 2000, Mark Solomon wrote:

> 
> I've commented it out and will report on any changes.
> 
> On Wed, 19 Jul 2000, darren chamberlain wrote:
> 
> > Mark Solomon (msolomon@seva.net) said something to this effect:
> > > I have been using AuthenDBI for a while and, while I cannot isolate a
> > > specific system change, apache gives a 500 error 1 out of 10 times with
> > > this in the error_log:
> > > 
> > > I've tryed calling Apache::AuthenDBI from both the startup.pl and
> > > httpd.conf like this:
> > > in httpd.conf:
> > > PerlModule Apache::DBI;
> > > PerlModule Apache::AuthenDBI;
> > 
> > I've been using Apache::AuthenDBI for a while, without any hiccoughs. I suspect
> > the problem might be your use of Apache::DBI, since Apache::AuthenDBI makes its
> > own database connection. Try commenting out the Apache::DBI line and see if that
> > helps.
> > 
> > (darren)
> > 
> > -- 
> > I have to think hard to name an interesting man who does not drink.
> >                 -- Richard Burton
> > 
> 
> - Mark Solomon - Information Technology Manager
>   SEVAnet / VECTEC http://www.seva.net/
>   Office 757-594-7092 FAX 757-594-7833
> 

- Mark Solomon - Information Technology Manager
  SEVAnet / VECTEC http://www.seva.net/
  Office 757-594-7092 FAX 757-594-7833


Re: Apache::AuthenDBI Intermittent problems

Posted by Mark Solomon <ms...@seva.net>.
I've commented it out and will report on any changes.

On Wed, 19 Jul 2000, darren chamberlain wrote:

> Mark Solomon (msolomon@seva.net) said something to this effect:
> > I have been using AuthenDBI for a while and, while I cannot isolate a
> > specific system change, apache gives a 500 error 1 out of 10 times with
> > this in the error_log:
> > 
> > I've tryed calling Apache::AuthenDBI from both the startup.pl and
> > httpd.conf like this:
> > in httpd.conf:
> > PerlModule Apache::DBI;
> > PerlModule Apache::AuthenDBI;
> 
> I've been using Apache::AuthenDBI for a while, without any hiccoughs. I suspect
> the problem might be your use of Apache::DBI, since Apache::AuthenDBI makes its
> own database connection. Try commenting out the Apache::DBI line and see if that
> helps.
> 
> (darren)
> 
> -- 
> I have to think hard to name an interesting man who does not drink.
>                 -- Richard Burton
> 

- Mark Solomon - Information Technology Manager
  SEVAnet / VECTEC http://www.seva.net/
  Office 757-594-7092 FAX 757-594-7833


Re: Apache::AuthenDBI Intermittent problems

Posted by darren chamberlain <da...@boston.com>.
Mark Solomon (msolomon@seva.net) said something to this effect:
> I have been using AuthenDBI for a while and, while I cannot isolate a
> specific system change, apache gives a 500 error 1 out of 10 times with
> this in the error_log:
> 
> I've tryed calling Apache::AuthenDBI from both the startup.pl and
> httpd.conf like this:
> in httpd.conf:
> PerlModule Apache::DBI;
> PerlModule Apache::AuthenDBI;

I've been using Apache::AuthenDBI for a while, without any hiccoughs. I suspect
the problem might be your use of Apache::DBI, since Apache::AuthenDBI makes its
own database connection. Try commenting out the Apache::DBI line and see if that
helps.

(darren)

-- 
I have to think hard to name an interesting man who does not drink.
                -- Richard Burton