You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Bill Moseley <mo...@hank.org> on 2000/02/24 02:23:49 UTC

Undefined subroutine &Apache::RegistryNG->handler::handler

Hi,

I'm seeing this error a few times a day, and I'm wondering if anyone has a
suggestion what might be causing it.

I trap $SIG{__DIE__} to add info to the errors, write them to my own log
file, display a friendly message, and then call exit.  These errors are
from this log.

[DIE] Undefined subroutine &Apache::RegistryNG->handler::handler called at
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/Apache.pm line 183.
	Wed Feb 23 14:48:25 2000   PID:26095-41

[DIE] Can't locate object method "handler" via package "handler" at
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/Apache.pm line 183.
	Wed Feb 23 14:48:37 2000   PID:26095-41

The PID: shows which process, of course, and the 41 is a sequence number of
requests that the RegistryNG script keeps.  That is, this is request number
41 for that child/script.

It looks like the error happened at 14:48:25 and the process really died at
14:48:37.

The only thing that I see in the Apache error_log file is this:

 [Wed Feb 23 14:48:25 2000] [error]  at LII.pm line 3701.

Line 3701 is the call to exit in the __DIE__ handler, which prints out a
message, logs the error ([DIE] above) and then exits.

And the last entry in the Apache access_log for this PID is this:
137.151.171.10 - "-" [23/Feb/2000:14:48:25 -0800] "POST /search HTTP/1.1" 500

Any of this look familiar?


Thanks,


Bill Moseley
mailto:moseley@hank.org

Re: Undefined subroutine &Apache::RegistryNG->handler::handler

Posted by Doug MacEachern <do...@pobox.com>.
On Wed, 23 Feb 2000, Bill Moseley wrote:

> Hi,
> 
> I'm seeing this error a few times a day, and I'm wondering if anyone has a
> suggestion what might be causing it.
> 
> I trap $SIG{__DIE__} to add info to the errors, write them to my own log
> file, display a friendly message, and then call exit.  These errors are
> from this log.
> 
> [DIE] Undefined subroutine &Apache::RegistryNG->handler::handler called at
> /usr/local/lib/perl5/site_perl/5.005/sun4-solaris/Apache.pm line 183.
> 	Wed Feb 23 14:48:25 2000   PID:26095-41

did you preload Apache::RegistryNG?  you shouldn't have too, but try
adding to httpd.conf:
PerlModule Apache::RegistryNG