authendbi

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Subject: Apache::AuthenDBI Intermittent problems
From: Mark Solomon <msolomon@seva.net>
Date: Wed, 19 Jul 2000 02:29:30 -0400 (EDT)

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.

===

Subject: Re: Apache::AuthenDBI Intermittent problems
From: darren chamberlain <darren@boston.com>
Date: Wed, 19 Jul 2000 10:50:18 -0400

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)

===


Subject: Re: Apache::AuthenDBI Intermittent problems
From: Mark Solomon <msolomon@seva.net>
Date: Wed, 19 Jul 2000 12:48:50 -0400 (EDT)

I've commented it out and will report on any changes.

===

Subject: Re: Apache::AuthenDBI Intermittent problems
From: Mark Solomon <msolomon@seva.net>
Date: Thu, 20 Jul 2000 23:05:00 -0400 (EDT)

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?

===



the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu