System error

error:  Can't locate object method "run_command" via package "Connection to dataserver can't be established." (perhaps you forgot to load "Connection to dataserver can't be established."?) at /data/web/nlp-portal/mcom/service/langident line 23.
context: 
... 
19:  });
20: 
21:  return \%methods if (!$mclient); # connection error - no method supported
22: 
23:  if ($mclient->run_command('li') == 1) { # if LI command ran successfully
24:  my ($tmp) = split /\n/, nlpin_pmls($mclient->response_data()); # get first line of response data
25: 
26:  if ($tmp && $tmp =~ m{\ALI:(.*)methods: (.*)\z}) { # response data does match expected line
27:  %methods = map { lc($_) => $_ } split m{\s+}, $2; # fill %methods with supported methods
... 
code stack:  /data/web/nlp-portal/mcom/service/langident:23
/data/web/nlp-portal/root/nlp/langident.mpl:79
/data/web/nlp-portal/mcom/autohandler:23
/data/web/nlp-portal/mcom/nlp-base:15
raw error






























Can't locate object method "run_command" via package "Connection to dataserver can't be established." (perhaps you forgot to load "Connection to dataserver can't be established."?) at /data/web/nlp-portal/mcom/service/langident line 23.


Trace begun at /usr/lib64/perl5/vendor_perl/5.10.1/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t locate object method "run_command" via package "Connection to dataserver can\'t be established." (perhaps you forgot to load "Connection to dataserver can\'t be established."?) at /data/web/nlp-portal/mcom/service/langident line 23.^J') called at /data/web/nlp-portal/mcom/service/langident line 23
HTML::Mason::Commands::__ANON__ at /usr/lib64/perl5/vendor_perl/5.10.1/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::Subcomponent=HASH(0x7f7f26b5ad60)') called at /usr/lib64/perl5/vendor_perl/5.10.1/HTML/Mason/Request.pm line 1279
eval {...} at /usr/lib64/perl5/vendor_perl/5.10.1/HTML/Mason/Request.pm line 1274
HTML::Mason::Request::comp(undef, undef) called at /data/web/nlp-portal/root/nlp/langident.mpl line 79
HTML::Mason::Commands::__ANON__('show_banner', 1, 'show_search', 0) called at /usr/lib64/perl5/vendor_perl/5.10.1/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f7f267e0148)', 'show_banner', 1, 'show_search', 0) called at /usr/lib64/perl5/vendor_perl/5.10.1/HTML/Mason/Request.pm line 1284
eval {...} at /usr/lib64/perl5/vendor_perl/5.10.1/HTML/Mason/Request.pm line 1274
HTML::Mason::Request::comp(undef, undef, undef, 'show_banner', 1, 'show_search', 0) called at /usr/lib64/perl5/vendor_perl/5.10.1/HTML/Mason/Request.pm line 943
HTML::Mason::Request::call_next('MasonX::Request::WithApacheSession=HASH(0x7f7ed830f828)') called at /data/web/nlp-portal/mcom/autohandler line 23
HTML::Mason::Commands::__ANON__('show_banner', 1, 'show_search', 0) called at /usr/lib64/perl5/vendor_perl/5.10.1/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f7f255d62a8)', 'show_banner', 1, 'show_search', 0) called at /usr/lib64/perl5/vendor_perl/5.10.1/HTML/Mason/Request.pm line 1284
eval {...} at /usr/lib64/perl5/vendor_perl/5.10.1/HTML/Mason/Request.pm line 1274
HTML::Mason::Request::comp(undef, undef, undef, 'show_banner', 1, 'show_search', 0) called at /usr/lib64/perl5/vendor_perl/5.10.1/HTML/Mason/Request.pm line 943
HTML::Mason::Request::call_next('MasonX::Request::WithApacheSession=HASH(0x7f7ed830f828)', 'show_banner', 1, 'show_search', 0) called at /data/web/nlp-portal/mcom/nlp-base line 15
HTML::Mason::Commands::__ANON__ at /usr/lib64/perl5/vendor_perl/5.10.1/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f7f261aabd8)') called at /usr/lib64/perl5/vendor_perl/5.10.1/HTML/Mason/Request.pm line 1279
eval {...} at /usr/lib64/perl5/vendor_perl/5.10.1/HTML/Mason/Request.pm line 1274
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/lib64/perl5/vendor_perl/5.10.1/HTML/Mason/Request.pm line 473
eval {...} at /usr/lib64/perl5/vendor_perl/5.10.1/HTML/Mason/Request.pm line 473
eval {...} at /usr/lib64/perl5/vendor_perl/5.10.1/HTML/Mason/Request.pm line 425
HTML::Mason::Request::exec('MasonX::Request::WithApacheSession=HASH(0x7f7ed830f828)') called at /usr/lib64/perl5/vendor_perl/5.10.1/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('MasonX::Request::WithApacheSession=HASH(0x7f7ed830f828)') called at /usr/lib64/perl5/vendor_perl/5.10.1/MasonX/Request/WithApacheSession.pm line 130
MasonX::Request::WithApacheSession::exec('MasonX::Request::WithApacheSession=HASH(0x7f7ed830f828)') called at /usr/lib64/perl5/vendor_perl/5.10.1/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7f7f246a03c8)', 'Apache2::RequestRec=SCALAR(0x7f7ed83acf98)') called at (eval 37) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x7f7ed83acf98)') called at -e line 0
eval {...} at -e line 0