You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Alex Krohn <al...@gossamer-threads.com> on 2000/04/27 01:17:34 UTC

Apache::VMonitor not loading..

Hi!

I'm trying to get Apache::VMonitor to load on a new mod_perl 1.23/Apache
1.3.12/perl 5.005_03 installation. mod_perl is up and running fine,
however I can't get Apache::VMonitor working. If I add 

	use Apache::VMonitor;

to my startup file, I can't start httpd, I get:

[root@alex apache_perl]# perlctl start
[Wed Apr 26 16:13:45 2000] [error] Can't locate loadable object for module Apache::Util in @INC (@INC contains: /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 . /usr/local/apache_perl/ /usr/local/apache_perl/lib/perl) at /usr/lib/perl5/site_perl/5.005/i386-linux/mod_perl.pm line 65535
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.005/Apache/VMonitor.pm line 10.
BEGIN failed--compilation aborted at /usr/local/apache_perl/startup.pl line 11.

Syntax error on line 38 of /usr/local/apache_perl/conf/httpd.conf:
Can't locate loadable object for module Apache::Util in @INC (@INC contains: /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 . /usr/local/apache_perl/ /usr/local/apache_perl/lib/perl) at /usr/lib/perl5/site_perl/5.005/i386-linux/mod_perl.pm line 65535
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.005/Apache/VMonitor.pm line 10.
BEGIN failed--compilation aborted at /usr/local/apache_perl/startup.pl line 11.

/usr/local/apache_perl/bin/perlctl start: httpd could not be started
[root@alex apache_perl]# 

Apache::Util is installed, and everything else seems to work.. 

Any ideas where to look?

Cheers,

Alex

Re: Apache::VMonitor not loading..

Posted by Doug MacEachern <do...@covalent.net>.
On Wed, 26 Apr 2000, Alex Krohn wrote:

> Hi!
> 
> I'm trying to get Apache::VMonitor to load on a new mod_perl 1.23/Apache
> 1.3.12/perl 5.005_03 installation. mod_perl is up and running fine,
> however I can't get Apache::VMonitor working. If I add 

> [Wed Apr 26 16:13:45 2000] [error] Can't locate loadable object for
> module Apache::Util in @INC (@INC contains:

you need to build mod_perl with PERL_UTIL_API=1 or EVERYTHING=1 or
DYNAMIC=1 to enable Apache::Util