You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jens Gassmann <je...@atomix.de> on 2004/05/07 23:41:53 UTC
Apache::SmallProf
Hi,
i try to profile my mod_perl script. I setup Apache::SmallProf at my
apache2 server.
*add to my httpd.conf:*
<Perl>
use Apache::DB ();
Apache::DB->init;
</Perl>
<Location />
PerlFixupHandler Apache::SmallProf
</Location>
*and starts the apache2 -X *
[notice] Apache::DB initialized in child 25276
*now i try to open a site, but:*
[Fri May 07 23:33:10 2004] [error] [client 192.168.1.1] Can't locate
object method "server_root_relative" via package "Apache::RequestRec" at
/usr/lib/perl5/vendor_perl/5.8.3/i686-linux/Apache/SmallProf.pm line
25.\n, referer:
http://nak2003.local/site/1749638154688210/startseite/aktuelles/news-143.htm
Whats wrong? I could not find any additionaly documentation to
Apache::DB - maybe someone could help me here,
Thanks and regards,
--
jens gassmann
Online Software Design - http://www.aisware.de/
--
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
Re: Apache::SmallProf
Posted by Frank Wiles <fr...@wiles.org>.
On Fri, 07 May 2004 15:04:45 -0700
Stas Bekman <st...@stason.org> wrote:
> Jens Gassmann wrote:
> > Hi,
> >
> > i try to profile my mod_perl script. I setup Apache::SmallProf at my
> >
> > apache2 server.
> >
> > *add to my httpd.conf:*
> >
> > <Perl>
> > use Apache::DB ();
> > Apache::DB->init;
> > </Perl>
> >
> > <Location />
> > PerlFixupHandler Apache::SmallProf
> > </Location>
> >
> > *and starts the apache2 -X *
> >
> > [notice] Apache::DB initialized in child 25276
> >
> > *now i try to open a site, but:*
> >
> > [Fri May 07 23:33:10 2004] [error] [client 192.168.1.1] Can't locate
> >
> > object method "server_root_relative" via package
> > "Apache::RequestRec" at
> > /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/Apache/SmallProf.pm line
> >
> > 25.\n, referer:
> > http://nak2003.local/site/1749638154688210/startseite/aktuelles/news-143.htm
> >
> >
> >
> > Whats wrong? I could not find any additionaly documentation to
> > Apache::DB - maybe someone could help me here,
> >
> > Thanks and regards,
>
> It looks like Frank had some modules loaded elsewhere and while
> porting forgot to add the missing modules: Apache::RequestRec,
> Apache::RequestUtil and a few others.
>
> Frank, take a look at:
> http://perl.apache.org/docs/2.0/user/porting/porting.html#Using_C_ModPerl__MethodLookup__to_Discover_Which_mod_perl_2_0_Modules_Need_to_Be_Loaded
Oops! Yep it's definitely my fault. I'll get it fixed in the next day
or two.
---------------------------------
Frank Wiles <fr...@wiles.org>
http://frank.wiles.org
---------------------------------
--
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
Re: Apache::SmallProf
Posted by Stas Bekman <st...@stason.org>.
Jens Gassmann wrote:
> Hi,
>
> i try to profile my mod_perl script. I setup Apache::SmallProf at my
> apache2 server.
>
> *add to my httpd.conf:*
>
> <Perl>
> use Apache::DB ();
> Apache::DB->init;
> </Perl>
>
> <Location />
> PerlFixupHandler Apache::SmallProf
> </Location>
>
> *and starts the apache2 -X *
>
> [notice] Apache::DB initialized in child 25276
>
> *now i try to open a site, but:*
>
> [Fri May 07 23:33:10 2004] [error] [client 192.168.1.1] Can't locate
> object method "server_root_relative" via package "Apache::RequestRec" at
> /usr/lib/perl5/vendor_perl/5.8.3/i686-linux/Apache/SmallProf.pm line
> 25.\n, referer:
> http://nak2003.local/site/1749638154688210/startseite/aktuelles/news-143.htm
>
>
> Whats wrong? I could not find any additionaly documentation to
> Apache::DB - maybe someone could help me here,
>
> Thanks and regards,
It looks like Frank had some modules loaded elsewhere and while porting forgot
to add the missing modules: Apache::RequestRec, Apache::RequestUtil and a few
others.
Frank, take a look at:
http://perl.apache.org/docs/2.0/user/porting/porting.html#Using_C_ModPerl__MethodLookup__to_Discover_Which_mod_perl_2_0_Modules_Need_to_Be_Loaded
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org 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