On Mon, 15 Nov 2004 16:04:59 -0500, you wrote:
Roman Medina-Heigl Hernandez wrote:
Hello,
I'm using mod_perl 1.29 with Apache 1.3.31 to invoke some perl modules like ProxyRewrite.pm. When I restart apache daemon, all is working ok. But when some time passes (it could be hours, days or weeks; it's variable) the system reaches some kind of inestable state where any call to the module returns an error, as the following:
[Fri Nov 12 15:32:05 2004] [error] Undefined subroutine &Apache::ProxyRewrite::handler called.\n
Try: http://perl.apache.org/docs/1.0/guide/troubleshooting.html#Undefined_subroutine__Apache__ROOT__perl__test_2epl__some_function_called_at
I read it before posting to this list. But I think the error is far different. The URL you provided showes the line of the error. In other words, Apache tries to execute tool2.pl script:
Undefined subroutine &Apache::ROOT::perl::tool2::tool2_2epl::foo called at /home/httpd/perl/tool2/tool2.pl line 4.
That's not my case.
Quite possible, I just wasn't sure you have read that already.
try installing:
use Carp; $SIG{__DIE__} = \&Carp::confess;
to see who called it. But most likely it's mod_perl that does the call (since it's ::handler).
Have you tried to search the archives for similar errors?
Any difference if you preload this module at server startup?
Try run with 'httpd -X' to reproduce it faster.
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html