[rt-users] RT-Authen-ExternalAuth plugin causes 'Can't locate Apache.pm in @INC' issue

Bart bart at pleh.info
Thu Feb 2 02:31:54 EST 2012


Are you only getting the errors when executing the custom PHP/Perl code? Or
does this also affect RT's user interface/functionality?

-- Bart


Op 2 februari 2012 02:33 schreef Srikumar Nair <srikumarp at fb.com> het
volgende:

>
>
>   We have a RT 4.0.4 installation running on Apache.
> We have some front end PHP code that calls Perl scripts which use Perl RT
> APIs for RT interactions.
>
>  Recently we installed the RT-Authen-ExternalAuth plugin (version 0.09)
> to RT.
> This creates the the following error when ever the php tries to invoke the
> perl scripts.
> But if I remove the plugin from the RT_SiteConfig.pm file everything works
> fine again.
>
>  Has anyone see this issue?
>
>
>  Can't locate Apache.pm in @INC (@INC contains: /opt/rt4/local/lib
> /opt/rt4/local/plugins/RT-Site-Facebook-TicketPageMenu/lib
> /opt/rt4/local/plugins/RT-Site-Facebook-SetQueue/lib
> /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib
> /opt/rt4/local/plugins/RT-Extension-ArticleTemplates/lib /opt/rt4/lib
> /opt/rt4/share/html/fb/perl
> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
> /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
> /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at
> /usr/lib/perl5/5.8.8/CGI/Cookie.pm line 38, <DATA> line 558.
> Compilation failed in require at
> /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI/Cookie.pm
> line 3, <DATA> line 558.
> BEGIN failed--compilation aborted at
> /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI/Cookie.pm
> line 3, <DATA> line 558.
> Compilation failed in require at
> /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI.pm
> line 4, <DATA> line 558.
> BEGIN failed--compilation aborted at
> /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/DBI.pm
> line 4, <DATA> line 558.
> Compilation failed in require at
> /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm
> line 27, <DATA> line 558.
> BEGIN failed--compilation aborted at
> /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm
> line 27, <DATA> line 558.
>
>  Thanks a bunch.
>
>
>
> --------
> RT Training Sessions (http://bestpractical.com/services/training.html)
> * Boston — March 5 & 6, 2012
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120202/c7eefdbb/attachment.htm>


More information about the rt-users mailing list