From: Kyle <km...@pr...> - 2006-04-25 18:12:36
|
sorry about the blank message; stupid html format emails :) A little background I Installed Mandriva 2006 Dec Club Release Running a custom 2.6.12-18mdk kernel I installed Netdisco from the packages off sourceforge, ran into the issues with Apache2 I installed the updated components from CVS updated CPAN and installed/updated all necessary perl components including Apache2::Request the postgres database server appears to be running correctly as does apache but I am receiving the following error I was hoping that someone could point me in the right direction to correct this issue. It looks to me that it is atempting to contact the database server remotely?? ... when I have it running locally *System error* *error:* Can't locate object method "remote_ip" via package "Apache2::Connection" at /usr/local/netdisco/html/login.html line 45. *context:* *...* *41:* $pw => undef *42:* $done => undef *43:* </%args> *44:* <%shared> *45:* my $userip = $r->connection->remote_ip; *46:* </%shared> *47:* <%method login> *48:* <%args> *49:* $user => undef *...* *code stack:* /usr/local/netdisco/html/login.html:45 /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm:903 /usr/local/netdisco/mason/obj/155763555/login.html.obj:8 /usr/local/netdisco/html/autohandler:5 raw error follows: Can't locate object method "remote_ip" via package "Apache2::Connection" at /usr/local/netdisco/html/login.html line 45. Trace begun at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Exceptions.pm line 129 HTML::Mason::Exceptions::rethrow_exception('Can\'t locate object method "remote_ip" via package "Apache2::Connection" at /usr/local/netdisco/html/login.html line 45.^J') called at /usr/local/netdisco/html/login.html line 45 HTML::Mason::Commands::__ANON__ at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Component.pm line 146 HTML::Mason::Component::dynamic_subs_init('HTML::Mason::Component::FileBased=HASH(0x80988af0)') called at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 903 HTML::Mason::Request::call_dynamic('MasonX::Request::WithApacheSession=HASH(0x8097dd90)', 'method_title') called at /usr/local/netdisco/mason/obj/155763555/login.html.obj line 8 HTML::Mason::Commands::__ANON__ at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Component.pm line 135 HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x8097d928)') called at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 1251 eval {...} at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 1245 HTML::Mason::Request::comp(undef, undef) called at /usr/local/netdisco/html/autohandler line 5 HTML::Mason::Commands::__ANON__('done', '/netdisco/index.html') called at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Component.pm line 135 HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8097d214)', 'done', '/netdisco/index.html') called at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 1246 eval {...} at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 1245 HTML::Mason::Request::comp(undef, undef, undef, 'done', '/netdisco/index.html') called at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 459 eval {...} at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 459 eval {...} at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/Request.pm line 411 HTML::Mason::Request::exec('MasonX::Request::WithApacheSession=HASH(0x8097dd90)') called at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/ApacheHandler.pm line 168 HTML::Mason::Request::ApacheHandler::exec('MasonX::Request::WithApacheSession=HASH(0x8097dd90)') called at /usr/lib/perl5/site_perl/5.8.7/MasonX/Request/WithApacheSession.pm line 130 MasonX::Request::WithApacheSession::exec('MasonX::Request::WithApacheSession=HASH(0x8097dd90)') called at /usr/lib/perl5/site_perl/5.8.7/HTML/Mason/ApacheHandler.pm line 826 HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x803550e0)', 'Apache2::RequestRec=SCALAR(0x8097d8c8)') called at /usr/local/netdisco/netdisco_apache.conf line 49 netdisco::Mason::handler('Apache2::RequestRec=SCALAR(0x8097d8c8)') called at -e line 0 eval {...} at -e line 0 Thanks, Kyle |