Tags:
create new tag
view all tags

SID-01188: Using MapIP2SID causes Perl "Can't locate" error

Status: Answered Answered TWiki version: 5.0.1 Perl version: 5.8.8
Category: CategoryError Server OS: RedHat Enterprise Linux 5.2 Last update: 14 years ago

I am working on a fresh install, and when I turn on {Sessions}{MapIP2SID} in configure, viewing any TWiki page (except configure) breaks with a Perl error. If I turn off MapID2SID, the error goes away. I will attach my configure output. From the Apache error log:

[Thu May 12 12:33:18 2011] [error] 
[Thu May 12 12:33:18 2011] -e: Can't locate object method "address" via package "TWiki::Request" at /web/twiki/lib/TWiki/LoginManager.pm line 235.\n
[Thu May 12 12:33:18 2011] -e:  at /web/twiki/lib/TWiki/LoginManager.pm line 235\n
    my $ip = $this->{twiki}->{request}->address;
[Thu May 12 12:33:18 2011] -e: \tTWiki::LoginManager::_IP2SID('TWiki::LoginManager::TemplateLogin=HASH(0x1e241640)') called at /web/twiki/lib/TWiki/LoginManager.pm line 316\n
        my $sid = $this->_IP2SID();
[Thu May 12 12:33:18 2011] -e: \tTWiki::LoginManager::loadSession('TWiki::LoginManager::TemplateLogin=HASH(0x1e241640)', 'undef') called at /web/twiki/lib/TWiki/Users.pm line 116\n
    $this->{loginManager} = TWiki::LoginManager::makeLoginManager( $session );
      $this->{loginManager}->loadSession( $session->{remoteUser} );
[Thu May 12 12:33:18 2011] -e: \tTWiki::Users::new('TWiki::Users', 'TWiki=HASH(0x1e1ebd60)') called at /web/twiki/lib/TWiki.pm line 1566\n
    my( $class, $login, $query, $initialContext ) = @_;
    my $this = bless( {}, $class );
[Thu May 12 12:33:18 2011] -e: \tTWiki::new('TWiki', 'undef', 'TWiki::Request=HASH(0x1e1f2dd0)', 'HASH(0x1e0138c0)') called at /web/twiki/lib/TWiki/UI.pm line 191\n
[Thu May 12 12:33:18 2011] -e: \tTWiki::UI::execute('TWiki::Request=HASH(0x1e1f2dd0)', 'CODE(0x1d580ff0)', 'view', 1) called at /web/twiki/lib/TWiki/UI.pm line 175\n
[Thu May 12 12:33:18 2011] -e: \tTWiki::UI::handleRequest('TWiki::Request=HASH(0x1e1f2dd0)') called at /web/twiki/lib/TWiki/Engine/CGI.pm line 47\n
[Thu May 12 12:33:18 2011] -e: \tTWiki::Engine::CGI::run('TWiki::Engine::CGI=HASH(0x1db95510)') called at /web/twiki/bin/view line 43\n
[Thu May 12 12:33:18 2011] -e: \tModPerl::ROOT::ModPerl::Registry::web_twiki_bin_view::handler('Apache2::RequestRec=SCALAR(0x1d86cd80)') called at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm line 204\n
[Thu May 12 12:33:18 2011] -e: \teval {...} called at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm line 204\n
[Thu May 12 12:33:18 2011] -e: \tModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x1d631600)') called at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/ModPerl/RegistryCooker.pm line 170\n
[Thu May 12 12:33:18 2011] -e: \tModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x1d631600)') called at /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/ModPerl/Registry.pm line 31\n
[Thu May 12 12:33:18 2011] -e: \tModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x1d86cd80)') called at -e line 0\n
[Thu May 12 12:33:18 2011] -e: \teval {...} called at -e line 0\n
-- JohnWorsley - 2011-05-26

Discussion and Answer

This looks like a bug. Could you please file a report with details at TWikibug:WebHome?

-- PeterThoeny - 2011-05-26

Thank you, Peter, I have done that. See TWikibug:Item6739. Let me know if there's any more information I can provide to assist.

-- JohnWorsley - 2011-06-01

Thanks. Closing this question & tracking issue in the bug database.

-- PeterThoeny - 2011-07-08

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

SupportForm
Status Answered
Title Using MapIP2SID causes Perl "Can't locate" error
SupportCategory CategoryError
TWiki version 5.0.1
Server OS RedHat Enterprise Linux 5.2
Web server Apache 2.2.9
Perl version 5.8.8
Topic attachments
I Attachment History Action Size Date Who Comment
HTMLhtml configure.html r1 manage 223.5 K 2011-05-26 - 20:41 UnknownUser The output of my configure script.
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2011-07-08 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.