RT::Authen::ExternalAuth extension loading issue

Hi,

I am new to RT and I am trying to get RT::Authen::ExternalAuth extension
working, I have it all installed and configuration to query our Active
Directory server all set, but when going into RT I set HTTP 500 Internal
Server Error.

I have therefore checked the error log and it has the following message:

Error while loading /opt/rt4/sbin/rt-server: Attempt to reload
RT/Authen/ExternalAuth.pm aborted. \nCompilation failed in require at
/opt/rt4/sbin…/lib/RT.pm line 730.

I have done a lot of googling & searching the archives of this list but
has not turned up anything.

This is for a brand new instance of RT, if the plugin is commented out
in RT_SiteConfig.pm, RT works fine, so it is affecting just this
extension. Using the latest downloadable versions as of this week.

If someone could point in the right direction that would be great.

Regards,

Chris.

Have you visited Bartercard Maps yet? www.bartercardmaps.co.nz
Find us on Facebook www.facebook.com/BartercardNewZealand

From time to time Bartercard may promote goods and services on behalf of members, however Bartercard acts as a third party record keeper and transactions are conducted between members. Bartercard is not a party to these transactions. Any advice or representations made should not be relied upon, and independent advice should be sought. Please refer to the full rules of the Trading Program which are available on request.
This e-mail, including attachments, may be confidential and/or privileged. Only the intended recipient may access or use it. Any dissemination, distribution or copying of this e-mail is strictly prohibited. If you are not the intended recipient please notify us immediately by return e-mail and then erase the e-mail. Any confidentiality or privilege is not waived or lost if you have received this e-mail in error.

Error while loading /opt/rt4/sbin/rt-server: Attempt to reload
RT/Authen/ExternalAuth.pm aborted. \nCompilation failed in require
at /opt/rt4/sbin…/lib/RT.pm line 730.

Please show the complete error. There should be an error message above
that.

I suspect that you don’t have all of the dependencies for
RT::Authen::ExternalAuth installed.

  • Alex

Hi Alex,

Thanks for your response. I have further looked and yes there does appear to be a couple more of lines of errors before this line, they are:

[warning]: Subroutine handle_startup_error redefined at /opt/rt4/sbin rt-server line 240. (/opt/rt4/sbin/rt-server:240)
[warning]: Subroutine handle_bind_error redefined at /opt/rt4/sbin/rt-server line 252. (/opt/rt4/sbin/rt-server:252)

Hope this helps. Looking forward in being pointed in the right direction to resolve this issue.

Regards,
Chris.-----Original Message-----
From: Alex Vandiver [mailto:alexmv@bestpractical.com]
Sent: Friday, 10 May 2013 7:27 a.m.
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] RT::Authen::ExternalAuth extension loading issue

On Thu, 2013-05-09 at 11:51 +1200, Chris Foster wrote:

Error while loading /opt/rt4/sbin/rt-server: Attempt to reload
RT/Authen/ExternalAuth.pm aborted. \nCompilation failed in require at
/opt/rt4/sbin…/lib/RT.pm line 730.

Please show the complete error. There should be an error message above that.

I suspect that you don’t have all of the dependencies for RT::Authen::ExternalAuth installed.

  • Alex

Have you visited Bartercard Maps yet? www.bartercardmaps.co.nz
Find us on Facebook Redirecting...

From time to time Bartercard may promote goods and services on behalf of members, however Bartercard acts as a third party record keeper and transactions are conducted between members. Bartercard is not a party to these transactions. Any advice or representations made should not be relied upon, and independent advice should be sought. Please refer to the full rules of the Trading Program which are available on request.
This e-mail, including attachments, may be confidential and/or privileged. Only the intended recipient may access or use it. Any dissemination, distribution or copying of this e-mail is strictly prohibited. If you are not the intended recipient please notify us immediately by return e-mail and then erase the e-mail. Any confidentiality or privilege is not waived or lost if you have received this e-mail in error.

Hi Alex,

Thanks for your response. I have further looked and yes there does appear
to be a couple more of lines of errors before this line, they are:

[warning]: Subroutine handle_startup_error redefined at /opt/rt4/sbin
rt-server line 240. (/opt/rt4/sbin/rt-server:240)
[warning]: Subroutine handle_bind_error redefined at
/opt/rt4/sbin/rt-server line 252. (/opt/rt4/sbin/rt-server:252)

Hope this helps. Looking forward in being pointed in the right direction
to resolve this issue.

$ cd /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib
$ perl -MRT::Authen::ExternalAuth -e 1
$ (should have no output if all dependency is working)

Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?