FYI
Original Message
Subject:Re: [rt-users] RT::Authen::ExternalAuth [SOLVED]
Date: Fri, 04 Feb 2011 00:43:56 -0800
From: Mr.Taske ta...@secureroot.com
Reply-To: ta...@secureroot.com
To: Giuseppe Sollazzo gsoll...@sgul.ac.uk
Coping /usr/local/lib/rt3/plugins/RT-Authen-ExternalAuth/lib/* to
/usr/local/lib/rt3/lib solved the problem.
Thanks for the help.
--- gsoll...@sgul.ac.uk wrote:
From: Giuseppe Sollazzo gsoll...@sgul.ac.uk
To: ta...@secureroot.com
Subject: Re: [rt-users] RT::Authen::ExternalAuth
Date: Thu, 03 Feb 2011 15:14:15 + (GMT)
Hi there,
unfortunately I'm not a perl expert and this looks like a perl error.
Basically, the problem is that @INC (that is your include path of
perl) does not contain the required ExternalAuth library.
This usually mean that you've installed it in a path that is not part of
any of the paths in @INC.
As Hugh Esco suggest in the mailing list, you will just need to
reinstall/move ExternalAuth to a path in the @INC and it should work.
Best wishes,
Giuseppe
On 03/02/11, *Mr.Taske *ta...@secureroot.com wrote:
I think somehow i managed to work but for very short. Dont know how
it worked?? First added this line
perl -c
/usr/local/lib/rt3/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm
restart httpd and failed to start
then, i removed and add this line
perl -l
/usr/local/lib/rt3/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm
but also failed to start
then removed the line, restart httpd and it started.
When tried to log in i get an error:
[error]: FAILED LOGIN for user from ip_address
(/usr/share/rt3/html/autohandler:268)
[critical]: RT::Authen::ExternalAuth::LDAP::_GetBoundLdapObj Can't
bind: LDAP_INVALID_CREDENTIALS 49
(/usr/local/lib/rt3/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm:467)
i tried to change credentials due to the error but the httpd woht
start again. Get the same error Can't locate
RT/Authen/ExternalAuth.pm in @INC...
Strange?
--- gsoll...@sgul.ac.uk wrote:
From: Giuseppe Sollazzo gsoll...@sgul.ac.uk
To: ta...@secureroot.com
Subject: Re: [rt-users] RT::Authen::ExternalAuth
Date: Thu, 03 Feb 2011 14:41:38 + (GMT)
On 03/02/11, Mr.Taske ta...@secureroot.com wrote:
# perl -e 'use RT::Authen::ExternalAuth;'
Can't locate RT/Authen/ExternalAuth.pm in @INC (@INC contains:
/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl .) at -e line 1.
BEGIN failed--compilation aborted at -e line 1.
Uhm I think PERL's missing some imports, specifically those from RT
which you should see in @INC. For example, you might need to set
correctly the PERL5LIB/PERLLIB environmental variable to also
contain (in my case) /opt/rt3/lib.
Look here: http://perldoc.perl.org/lib.html
Giuseppe
--- gsoll...@sgul.ac.uk wrote:
From: Giuseppe Sollazzo gsoll...@sgul.ac.uk
To: ta...@secureroot.com
Subject: Re: [rt-users] RT::Authen::ExternalAuth
Date: Thu, 03 Feb 2011 14:29:14 + (GMT)
What does
perl -e 'use RT::Authen::ExternalAuth;'
reports?
Giuseppe
On 03/02/11, Mr.Taske ta...@secureroot.com wrote:
Yes I have tried that one to. Thanks
--- gsoll...@sgul.ac.uk wrote:
From: Giuseppe Sollazzo gsoll...@sgul.ac.uk
To: ta...@secureroot.com, rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RT::Authen::ExternalAuth
Date: Thu, 03 Feb 2011 14:08:37 + (GMT)
Hi there,
you've probably checked this already but... have you installed
RT::Authen::ExternalAuth with cpan or any other means?
Giuseppe
On 03/02/11, Mr.Taske ta...@secureroot.com wrote:
Hello everyone, i have a problem
with RT::Authen::ExternalAuth plugin
I get this error:
[error] Can't locate RT/Authen/ExternalAuth.pm in @INC (@INC
contains: /usr/local/lib/rt3/lib /usr/lib/perl5/vendor_perl/5.10.0
/usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi
/usr/local/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl . /etc/httpd) at
/usr/lib/perl5/vendor_perl/5.10.0/RT.pm line 627.\nCompilation
failed in require at (eval 2) line 1.\n
[error] Can't load Perl file: /usr/sbin/webmux.pl for server
example:80, exiting...
I have installed the