On Fri, Feb 08, 2013 at 03:02:25PM +0000, Andy_R wrote:
> root@rtir:~/RT-IR-2.6.1# perl -l Business::Hours
> Can't open perl script "Business::Hours": No such file or directory

perldoc -l Business::Hours
not 
perl -l Business::Hours

You also need to provide perl -V

-kevin

> root@rtir:~/RT-IR-2.6.1# cpan Business::Hours
> Going to read '/root/.cpan/Metadata'
>   Database was generated on Thu, 07 Feb 2013 22:53:03 GMT
> Business::Hours is up to date (0.10).
> 
> If I edit /opt/rt3/etc/RT_Config.pm 
> root@rtir:~/RT-IR-2.6.1# vi /opt/rt3/etc/RT_Config.pm 
> If the plugins are set to this apache2 starts without erros:
> 
> Set(@Plugins,qw(RT::FM));
> 
> The Instructions in IR says to change that to this:
> Set(@Plugins, 'RT::FM', 'RT::IR');
> 
> Now apache2 won't start
> [Fri Feb 08 12:58:46 2013] [notice] caught SIGTERM, shutting down
> [Fri Feb 08 12:58:52 2013] [error] Can't locate Business/Hours.pm in @INC 
> (@INC
> contains: /opt/rt3/bin/../local/lib /opt/rt3/local/plugins/RT-FM/lib
> /opt/rt3/local/plugins/RT-IR/lib /opt/rt3/bin/../lib /etc/perl
> /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5
> /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14
> /usr/local/lib/site_perl . /etc/apache2) at
> /opt/rt3/local/plugins/RT-IR/lib/RT/IR.pm line 56.\nBEGIN failed--compilation
> aborted at /opt/rt3/local/plugins/RT-IR/lib/RT/IR.pm line 56.\nCompilation
> failed in require at /opt/rt3/bin/../lib/RT.pm line 670.\nCompilation failed 
> in
> require at (eval 2) line 1.\n
> [Fri Feb 08 12:58:52 2013] [error] Can't load Perl file: 
> /opt/rt3/bin/webmux.pl
> for server rtir.nswcsystemsltd.local:0, exiting...
> 
> Any ideas?
> 
> Kind regards,
> Andy
> CISSP, GCIA, GCIH, GPEN, GWAPT
> InfoSecMatters.blogspot.co.uk
> 
> _______________________________________________
> Rtir mailing list
> [email protected]
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rtir

Attachment: pgpv_atDAstD4.pgp
Description: PGP signature

_______________________________________________
Rtir mailing list
[email protected]
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rtir

Reply via email to