Perl broken?

I am receiving the following error when I go into Preferences>About me:
Error during compilation of /opt/rt3/share/html/Elements/SelectTimezone:Can’t locate DateTime/TimeZone/OlsonDB/Rule.pm in…

Also mentions issue with TimeZone::Africa::Abidjan.

I have run fix deps; test deps; rt-test-deps script and from cpan> installed TimeZone module

Thoughts comments?

Thanks,
Mark Sears - CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png@01CE728F.61780B30]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com/

I am receiving the following error when I go into Preferences>About me:
Error during compilation of /opt/rt3/share/html/Elements/SelectTimezone:Can’t locate
DateTime/TimeZone/OlsonDB/Rule.pm in…

Also mentions issue with TimeZone::Africa::Abidjan.

I have run fix deps; test deps; rt-test-deps script and from cpan> installed TimeZone module

You forgot to mention your RT version, but since you have /opt/rt3 in
your error patch, I’ll mention that no release of RT3 is currently
supported.

RT can optionally use DateTime::TimeZone if installed (it’s not a
required dependency of RT) but something must be wrong in your older
version of RT. You likely need to install DateTime::TimeZone from
cpan

-kevin

Sorry I am running V 3.8.7…and I realize it is not officially supported. Thought I would see if anyone had run into this error before. I did, as you suggested already, and installed the DateTime::TimeZone from cpan but still get the error.

Thanks,
Mark Sears - CISSP-M.S. IA
Principal Information Security Analyst

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823
mark.sears@gdit.com
www.gdit.com-----Original Message-----
From: rt-users [mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Kevin Falcone
Sent: Monday, May 19, 2014 1:40 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

On Mon, May 19, 2014 at 01:07:41PM +0000, Sears, Mark wrote:

I am receiving the following error when I go into Preferences>About me:
Error during compilation of /opt/rt3/share/html/Elements/SelectTimezone:Can’t locate
DateTime/TimeZone/OlsonDB/Rule.pm in…

Also mentions issue with TimeZone::Africa::Abidjan.

I have run fix deps; test deps; rt-test-deps script and from cpan>
installed TimeZone module

You forgot to mention your RT version, but since you have /opt/rt3 in your error patch, I’ll mention that no release of RT3 is currently supported.

RT can optionally use DateTime::TimeZone if installed (it’s not a required dependency of RT) but something must be wrong in your older version of RT. You likely need to install DateTime::TimeZone from cpan

-kevin

You left out the best bits. The bits where Perl told you what the INC array
looks like, and probably where in the code the call was being made. So you
could use that info to determine where on your file system the DateTime
modules live, that the OlsonRule files are there, and why they’re not on
Perl’s @INC path, because that is what the eror message is saying.

Len.On Mon, May 19, 2014 at 1:45 PM, Sears, Mark Mark.Sears@gdit.com wrote:

Sorry I am running V 3.8.7…and I realize it is not officially supported.
Thought I would see if anyone had run into this error before. I did, as
you suggested already, and installed the DateTime::TimeZone from cpan but
still get the error.

Thanks,
Mark Sears - CISSP-M.S. IA
Principal Information Security Analyst

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823
mark.sears@gdit.com
www.gdit.com

-----Original Message-----
From: rt-users [mailto:rt-users-bounces@lists.bestpractical.com] On
Behalf Of Kevin Falcone
Sent: Monday, May 19, 2014 1:40 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

On Mon, May 19, 2014 at 01:07:41PM +0000, Sears, Mark wrote:

I am receiving the following error when I go into Preferences>About
me:
Error during compilation of
/opt/rt3/share/html/Elements/SelectTimezone:Can’t locate
DateTime/TimeZone/OlsonDB/Rule.pm in…

Also mentions issue with TimeZone::Africa::Abidjan.

I have run fix deps; test deps; rt-test-deps script and from cpan>
installed TimeZone module

You forgot to mention your RT version, but since you have /opt/rt3 in your
error patch, I’ll mention that no release of RT3 is currently supported.

RT can optionally use DateTime::TimeZone if installed (it’s not a required
dependency of RT) but something must be wrong in your older version of RT.
You likely need to install DateTime::TimeZone from cpan

-kevin

RT Training - Dallas May 20-21
http://bestpractical.com/training

lenjaffe@jaffesystems.com 614-404-4214 @lenjaffe
Information Technology Smoke Jumper, Host of Columbus Code
Jamhttp://www.meetup.com/techlifecolumbus/
www.lenjaffe.com http://www.theycomewithcheese.com
Advent Planet http://www.lenjaffe.com/AdventPlanet/ - An Aggregation of
Online Advent Calendars.

Here is the full error:

Error during compilation of /opt/rt3/share/html/Elements/SelectTimezone: Can’t locate DateTime/TimeZone/OlsonDB/Rule.pm in @INC (@INC contains: /opt/rt3/bin/…/local/lib /opt/rt3/bin/…/lib /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB.pm line 8, line 1662. BEGIN failed–compilation aborted at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB.pm line 8, line 1662. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/Africa/Abidjan.pm line 16, line 1662. BEGIN failed–compilation aborted at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/Africa/Abidjan.pm line 16, line 1662. Compilation failed in require at (eval 2195) line 3, line 1662. Stack: [/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone.pm:88] [/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DateTime.pm:1958] [/opt/rt3/share/html/Elements/SelectTimezone:60] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:817] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:440] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1127] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1060] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1239] [/opt/rt3/share/html/User/Prefs.html:83] [/opt/rt3/share/html/Widgets/TitleBox:51] [/opt/rt3/share/html/User/Prefs.html:86] [/opt/rt3/bin/…/lib/RT/Interface/Web.pm:320] [/opt/rt3/bin/…/lib/RT/Interface/Web.pm:224] [/opt/rt3/share/html/autohandler:53]

Thanks,
Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png@01CE728F.61780B30]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com/From: lenjaffe@gmail.com [mailto:lenjaffe@gmail.com] On Behalf Of Len Jaffe
Sent: Monday, May 19, 2014 2:17 PM
To: Sears, Mark
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

You left out the best bits. The bits where Perl told you what the INC array looks like, and probably where in the code the call was being made. So you could use that info to determine where on your file system the DateTime modules live, that the OlsonRule files are there, and why they’re not on Perl’s @INC path, because that is what the eror message is saying.

Len.

Sorry I am running V 3.8.7…and I realize it is not officially supported. Thought I would see if anyone had run into this error before. I did, as you suggested already, and installed the DateTime::TimeZone from cpan but still get the error.

Thanks,
Mark Sears - CISSP-M.S. IA
Principal Information Security Analyst

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062tel:(407)%20541-4062
fax: (407) 380-3823tel:(407)%20380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com

Here is the full error:

Since DateTime::TimeZone contains DateTime::TimeZone::OlsonDB::Rule I
don’t believe that you’ve successfully installed DateTime::TimeZone,
or have failed to restart Apache or have permission errors preventing
RT from reading the files on disk.

-kevin

Now use locate or find to figure out where OlsonDB/Rule.pm lives, and see
if that’s in the @INC array.On Mon, May 19, 2014 at 2:24 PM, Sears, Mark Mark.Sears@gdit.com wrote:

Here is the full error:

Error during compilation of /opt/rt3/share/html/Elements/SelectTimezone:
Can’t locate DateTime/TimeZone/OlsonDB/Rule.pm in @INC (@INC contains:
/opt/rt3/bin/…/local/lib /opt/rt3/bin/…/lib
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .
/etc/httpd) at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB.pm
line 8, line 1662. BEGIN failed–compilation aborted at
/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB.pm line 8, line
1662. Compilation failed in require at
/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/Africa/Abidjan.pm line 16,
line 1662. BEGIN failed–compilation aborted at
/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/Africa/Abidjan.pm line 16,
line 1662. Compilation failed in require at (eval 2195) line 3, line 1662.
Stack: [/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone.pm:88]
[/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DateTime.pm:1958]
[/opt/rt3/share/html/Elements/SelectTimezone:60]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:817]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:440]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1127]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1060]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1239]
[/opt/rt3/share/html/User/Prefs.html:83]
[/opt/rt3/share/html/Widgets/TitleBox:51]
[/opt/rt3/share/html/User/Prefs.html:86]
[/opt/rt3/bin/…/lib/RT/Interface/Web.pm:320]
[/opt/rt3/bin/…/lib/RT/Interface/Web.pm:224]
[/opt/rt3/share/html/autohandler:53]

Thanks,

Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[image: cid:image001.png@01CE728F.61780B30]

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823
mark.sears@gdit.com mark.sears@gdit.com
www.gdit.com

From: lenjaffe@gmail.com [mailto:lenjaffe@gmail.com] *On Behalf Of *Len
Jaffe
Sent: Monday, May 19, 2014 2:17 PM
To: Sears, Mark
Cc: rt-users@lists.bestpractical.com

Subject: Re: [rt-users] Perl broken?

You left out the best bits. The bits where Perl told you what the INC
array looks like, and probably where in the code the call was being made.
So you could use that info to determine where on your file system the
DateTime modules live, that the OlsonRule files are there, and why they’re
not on Perl’s @INC path, because that is what the eror message is saying.

Len.

On Mon, May 19, 2014 at 1:45 PM, Sears, Mark Mark.Sears@gdit.com wrote:

Sorry I am running V 3.8.7…and I realize it is not officially supported.
Thought I would see if anyone had run into this error before. I did, as
you suggested already, and installed the DateTime::TimeZone from cpan but
still get the error.

Thanks,
Mark Sears - CISSP-M.S. IA
Principal Information Security Analyst

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823
mark.sears@gdit.com
www.gdit.com

-----Original Message-----
From: rt-users [mailto:rt-users-bounces@lists.bestpractical.com] On
Behalf Of Kevin Falcone
Sent: Monday, May 19, 2014 1:40 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

On Mon, May 19, 2014 at 01:07:41PM +0000, Sears, Mark wrote:

I am receiving the following error when I go into Preferences>About
me:
Error during compilation of
/opt/rt3/share/html/Elements/SelectTimezone:Can’t locate
DateTime/TimeZone/OlsonDB/Rule.pm in…

Also mentions issue with TimeZone::Africa::Abidjan.

I have run fix deps; test deps; rt-test-deps script and from cpan>
installed TimeZone module

You forgot to mention your RT version, but since you have /opt/rt3 in your
error patch, I’ll mention that no release of RT3 is currently supported.

RT can optionally use DateTime::TimeZone if installed (it’s not a required
dependency of RT) but something must be wrong in your older version of RT.
You likely need to install DateTime::TimeZone from cpan

-kevin

RT Training - Dallas May 20-21
http://bestpractical.com/training

lenjaffe@jaffesystems.com 614-404-4214 @lenjaffe

Information Technology Smoke Jumper, Host of Columbus Code Jamhttp://www.meetup.com/techlifecolumbus/

www.lenjaffe.com http://www.theycomewithcheese.com

Advent Planet http://www.lenjaffe.com/AdventPlanet/ - An Aggregation of
Online Advent Calendars.

lenjaffe@jaffesystems.com 614-404-4214 @lenjaffe
Information Technology Smoke Jumper, Host of Columbus Code
Jamhttp://www.meetup.com/techlifecolumbus/
www.lenjaffe.com http://www.theycomewithcheese.com
Advent Planet http://www.lenjaffe.com/AdventPlanet/ - An Aggregation of
Online Advent Calendars.

OK…found it in 2 places…

/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB/Rule.pm
/root/.cpan/build/DateTime-TimeZone-1.58/lib/DateTime/TimeZone/OlsonDB/Rule.pm

Thanks,
Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png@01CE728F.61780B30]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com/From: lenjaffe@gmail.com [mailto:lenjaffe@gmail.com] On Behalf Of Len Jaffe
Sent: Monday, May 19, 2014 3:09 PM
To: Sears, Mark
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

Now use locate or find to figure out where OlsonDB/Rule.pm lives, and see if that’s in the @INC array.

Here is the full error:

Error during compilation of /opt/rt3/share/html/Elements/SelectTimezone: Can’t locate DateTime/TimeZone/OlsonDB/Rule.pm in @INC (@INC contains: /opt/rt3/bin/…/local/lib /opt/rt3/bin/…/lib /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB.pm line 8, line 1662. BEGIN failed–compilation aborted at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB.pm line 8, line 1662. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/Africa/Abidjan.pm line 16, line 1662. BEGIN failed–compilation aborted at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/Africa/Abidjan.pm line 16, line 1662. Compilation failed in require at (eval 2195) line 3, line 1662. Stack: [/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone.pm:88] [/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DateTime.pm:1958] [/opt/rt3/share/html/Elements/SelectTimezone:60] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:817] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:440] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1127] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1060] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1239] [/opt/rt3/share/html/User/Prefs.html:83] [/opt/rt3/share/html/Widgets/TitleBox:51] [/opt/rt3/share/html/User/Prefs.html:86] [/opt/rt3/bin/…/lib/RT/Interface/Web.pm:320] [/opt/rt3/bin/…/lib/RT/Interface/Web.pm:224] [/opt/rt3/share/html/autohandler:53]

Thanks,
Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png@01CE728F.61780B30]

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062tel:(407)%20541-4062
fax: (407) 380-3823tel:(407)%20380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com/

From: lenjaffe@gmail.commailto:lenjaffe@gmail.com [mailto:lenjaffe@gmail.commailto:lenjaffe@gmail.com] On Behalf Of Len Jaffe
Sent: Monday, May 19, 2014 2:17 PM
To: Sears, Mark
Cc: rt-users@lists.bestpractical.commailto:rt-users@lists.bestpractical.com

Subject: Re: [rt-users] Perl broken?

You left out the best bits. The bits where Perl told you what the INC array looks like, and probably where in the code the call was being made. So you could use that info to determine where on your file system the DateTime modules live, that the OlsonRule files are there, and why they’re not on Perl’s @INC path, because that is what the eror message is saying.

Len.

Sorry I am running V 3.8.7…and I realize it is not officially supported. Thought I would see if anyone had run into this error before. I did, as you suggested already, and installed the DateTime::TimeZone from cpan but still get the error.

Thanks,
Mark Sears - CISSP-M.S. IA
Principal Information Security Analyst

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062tel:(407)%20541-4062
fax: (407) 380-3823tel:(407)%20380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com

Not sure what you mean by see if that’s in the @INC array

Thanks,
Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png@01CE728F.61780B30]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com/From: lenjaffe@gmail.com [mailto:lenjaffe@gmail.com] On Behalf Of Len Jaffe
Sent: Monday, May 19, 2014 3:09 PM
To: Sears, Mark
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

Now use locate or find to figure out where OlsonDB/Rule.pm lives, and see if that’s in the @INC array.

Here is the full error:

Error during compilation of /opt/rt3/share/html/Elements/SelectTimezone: Can’t locate DateTime/TimeZone/OlsonDB/Rule.pm in @INC (@INC contains: /opt/rt3/bin/…/local/lib /opt/rt3/bin/…/lib /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB.pm line 8, line 1662. BEGIN failed–compilation aborted at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB.pm line 8, line 1662. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/Africa/Abidjan.pm line 16, line 1662. BEGIN failed–compilation aborted at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/Africa/Abidjan.pm line 16, line 1662. Compilation failed in require at (eval 2195) line 3, line 1662. Stack: [/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone.pm:88] [/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DateTime.pm:1958] [/opt/rt3/share/html/Elements/SelectTimezone:60] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:817] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:440] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1127] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1060] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1239] [/opt/rt3/share/html/User/Prefs.html:83] [/opt/rt3/share/html/Widgets/TitleBox:51] [/opt/rt3/share/html/User/Prefs.html:86] [/opt/rt3/bin/…/lib/RT/Interface/Web.pm:320] [/opt/rt3/bin/…/lib/RT/Interface/Web.pm:224] [/opt/rt3/share/html/autohandler:53]

Thanks,
Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png@01CE728F.61780B30]

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062tel:(407)%20541-4062
fax: (407) 380-3823tel:(407)%20380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com/

From: lenjaffe@gmail.commailto:lenjaffe@gmail.com [mailto:lenjaffe@gmail.commailto:lenjaffe@gmail.com] On Behalf Of Len Jaffe
Sent: Monday, May 19, 2014 2:17 PM
To: Sears, Mark
Cc: rt-users@lists.bestpractical.commailto:rt-users@lists.bestpractical.com

Subject: Re: [rt-users] Perl broken?

You left out the best bits. The bits where Perl told you what the INC array looks like, and probably where in the code the call was being made. So you could use that info to determine where on your file system the DateTime modules live, that the OlsonRule files are there, and why they’re not on Perl’s @INC path, because that is what the eror message is saying.

Len.

Sorry I am running V 3.8.7…and I realize it is not officially supported. Thought I would see if anyone had run into this error before. I did, as you suggested already, and installed the DateTime::TimeZone from cpan but still get the error.

Thanks,
Mark Sears - CISSP-M.S. IA
Principal Information Security Analyst

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062tel:(407)%20541-4062
fax: (407) 380-3823tel:(407)%20380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com

Perl has an @INC array which lists all of the directories that Perl will
look in when searching for modules.
It also has %INC which is a hash of modules, and the file paths they were
loaded from.

But Perl listed it’s include path for you. You included it in a previous
email. look through that list and see
if any of the entries are the prefix of either of the two place you found
OlsonDB/Rule.pm.

But also listen to Kevin, restart apache/fcgi and check the ownership and
file permissions of
/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB/Rule.pm and it’s
directory components.

If it’s on the path, then it will be file permissions, ownership etc. Easy
enough to rectify.
Otherwise you have to question why it installed in a place in which Perl
isn’t looking. But /usr/lib/perl5 is the default place that perl looks.

Len.On Mon, May 19, 2014 at 3:30 PM, Sears, Mark Mark.Sears@gdit.com wrote:

Not sure what you mean by see if that’s in the @INC array

Thanks,

Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[image: cid:image001.png@01CE728F.61780B30]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823
mark.sears@gdit.com mark.sears@gdit.com
www.gdit.com

From: lenjaffe@gmail.com [mailto:lenjaffe@gmail.com] *On Behalf Of *Len
Jaffe
Sent: Monday, May 19, 2014 3:09 PM

To: Sears, Mark
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

Now use locate or find to figure out where OlsonDB/Rule.pm lives, and see
if that’s in the @INC array.

On Mon, May 19, 2014 at 2:24 PM, Sears, Mark Mark.Sears@gdit.com wrote:

Here is the full error:

Error during compilation of /opt/rt3/share/html/Elements/SelectTimezone:
Can’t locate DateTime/TimeZone/OlsonDB/Rule.pm in @INC (@INC contains:
/opt/rt3/bin/…/local/lib /opt/rt3/bin/…/lib
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .
/etc/httpd) at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB.pm
line 8, line 1662. BEGIN failed–compilation aborted at
/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB.pm line 8, line
1662. Compilation failed in require at
/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/Africa/Abidjan.pm line 16,
line 1662. BEGIN failed–compilation aborted at
/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/Africa/Abidjan.pm line 16,
line 1662. Compilation failed in require at (eval 2195) line 3, line 1662.
Stack: [/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone.pm:88]
[/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DateTime.pm:1958]
[/opt/rt3/share/html/Elements/SelectTimezone:60]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:817]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:440]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1127]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1060]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1239]
[/opt/rt3/share/html/User/Prefs.html:83]
[/opt/rt3/share/html/Widgets/TitleBox:51]
[/opt/rt3/share/html/User/Prefs.html:86]
[/opt/rt3/bin/…/lib/RT/Interface/Web.pm:320]
[/opt/rt3/bin/…/lib/RT/Interface/Web.pm:224]
[/opt/rt3/share/html/autohandler:53]

Thanks,

Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[image: cid:image001.png@01CE728F.61780B30]

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823

mark.sears@gdit.com mark.sears@gdit.com
www.gdit.com

From: lenjaffe@gmail.com [mailto:lenjaffe@gmail.com] *On Behalf Of *Len
Jaffe
Sent: Monday, May 19, 2014 2:17 PM
To: Sears, Mark
Cc: rt-users@lists.bestpractical.com

Subject: Re: [rt-users] Perl broken?

You left out the best bits. The bits where Perl told you what the INC
array looks like, and probably where in the code the call was being made.
So you could use that info to determine where on your file system the
DateTime modules live, that the OlsonRule files are there, and why they’re
not on Perl’s @INC path, because that is what the eror message is saying.

Len.

On Mon, May 19, 2014 at 1:45 PM, Sears, Mark Mark.Sears@gdit.com wrote:

Sorry I am running V 3.8.7…and I realize it is not officially supported.
Thought I would see if anyone had run into this error before. I did, as
you suggested already, and installed the DateTime::TimeZone from cpan but
still get the error.

Thanks,
Mark Sears - CISSP-M.S. IA
Principal Information Security Analyst

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823
mark.sears@gdit.com
www.gdit.com

-----Original Message-----
From: rt-users [mailto:rt-users-bounces@lists.bestpractical.com] On
Behalf Of Kevin Falcone
Sent: Monday, May 19, 2014 1:40 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

On Mon, May 19, 2014 at 01:07:41PM +0000, Sears, Mark wrote:

I am receiving the following error when I go into Preferences>About
me:
Error during compilation of
/opt/rt3/share/html/Elements/SelectTimezone:Can’t locate
DateTime/TimeZone/OlsonDB/Rule.pm in…

Also mentions issue with TimeZone::Africa::Abidjan.

I have run fix deps; test deps; rt-test-deps script and from cpan>
installed TimeZone module

You forgot to mention your RT version, but since you have /opt/rt3 in your
error patch, I’ll mention that no release of RT3 is currently supported.

RT can optionally use DateTime::TimeZone if installed (it’s not a required
dependency of RT) but something must be wrong in your older version of RT.
You likely need to install DateTime::TimeZone from cpan

-kevin

RT Training - Dallas May 20-21
http://bestpractical.com/training

lenjaffe@jaffesystems.com 614-404-4214 @lenjaffe

Information Technology Smoke Jumper, Host of Columbus Code Jamhttp://www.meetup.com/techlifecolumbus/

www.lenjaffe.com http://www.theycomewithcheese.com

Advent Planet http://www.lenjaffe.com/AdventPlanet/ - An Aggregation of
Online Advent Calendars.

lenjaffe@jaffesystems.com 614-404-4214 @lenjaffe

Information Technology Smoke Jumper, Host of Columbus Code Jamhttp://www.meetup.com/techlifecolumbus/

www.lenjaffe.com http://www.theycomewithcheese.com

Advent Planet http://www.lenjaffe.com/AdventPlanet/ - An Aggregation of
Online Advent Calendars.

lenjaffe@jaffesystems.com 614-404-4214 @lenjaffe
Information Technology Smoke Jumper, Host of Columbus Code
Jamhttp://www.meetup.com/techlifecolumbus/
www.lenjaffe.com http://www.theycomewithcheese.com
Advent Planet http://www.lenjaffe.com/AdventPlanet/ - An Aggregation of
Online Advent Calendars.

Ok –r—r—r—is the permission for the rule.pm file and root owns it and the entire directory
drwxr-xr-x is the permission of the top level perl directory and owner by root.
Are these permissions correct?

Thanks,
Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png@01CE728F.61780B30]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com/From: lenjaffe@gmail.com [mailto:lenjaffe@gmail.com] On Behalf Of Len Jaffe
Sent: Monday, May 19, 2014 4:12 PM
To: Sears, Mark
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

Perl has an @INC array which lists all of the directories that Perl will look in when searching for modules.
It also has %INC which is a hash of modules, and the file paths they were loaded from.

But Perl listed it’s include path for you. You included it in a previous email. look through that list and see
if any of the entries are the prefix of either of the two place you found OlsonDB/Rule.pm.

But also listen to Kevin, restart apache/fcgi and check the ownership and file permissions of
/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB/Rule.pm and it’s directory components.

If it’s on the path, then it will be file permissions, ownership etc. Easy enough to rectify.
Otherwise you have to question why it installed in a place in which Perl isn’t looking. But /usr/lib/perl5 is the default place that perl looks.

Len.

Not sure what you mean by see if that’s in the @INC array

Thanks,
Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png@01CE728F.61780B30]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062tel:(407)%20541-4062
fax: (407) 380-3823tel:(407)%20380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com/

From: lenjaffe@gmail.commailto:lenjaffe@gmail.com [mailto:lenjaffe@gmail.commailto:lenjaffe@gmail.com] On Behalf Of Len Jaffe
Sent: Monday, May 19, 2014 3:09 PM

To: Sears, Mark
Cc: rt-users@lists.bestpractical.commailto:rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

Now use locate or find to figure out where OlsonDB/Rule.pm lives, and see if that’s in the @INC array.

Here is the full error:

Error during compilation of /opt/rt3/share/html/Elements/SelectTimezone: Can’t locate DateTime/TimeZone/OlsonDB/Rule.pm in @INC (@INC contains: /opt/rt3/bin/…/local/lib /opt/rt3/bin/…/lib /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB.pm line 8, line 1662. BEGIN failed–compilation aborted at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB.pm line 8, line 1662. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/Africa/Abidjan.pm line 16, line 1662. BEGIN failed–compilation aborted at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/Africa/Abidjan.pm line 16, line 1662. Compilation failed in require at (eval 2195) line 3, line 1662. Stack: [/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone.pm:88] [/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DateTime.pm:1958] [/opt/rt3/share/html/Elements/SelectTimezone:60] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:817] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:440] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1127] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1060] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1239] [/opt/rt3/share/html/User/Prefs.html:83] [/opt/rt3/share/html/Widgets/TitleBox:51] [/opt/rt3/share/html/User/Prefs.html:86] [/opt/rt3/bin/…/lib/RT/Interface/Web.pm:320] [/opt/rt3/bin/…/lib/RT/Interface/Web.pm:224] [/opt/rt3/share/html/autohandler:53]

Thanks,
Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png@01CE728F.61780B30]

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062tel:(407)%20541-4062
fax: (407) 380-3823tel:(407)%20380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com/

From: lenjaffe@gmail.commailto:lenjaffe@gmail.com [mailto:lenjaffe@gmail.commailto:lenjaffe@gmail.com] On Behalf Of Len Jaffe
Sent: Monday, May 19, 2014 2:17 PM
To: Sears, Mark
Cc: rt-users@lists.bestpractical.commailto:rt-users@lists.bestpractical.com

Subject: Re: [rt-users] Perl broken?

You left out the best bits. The bits where Perl told you what the INC array looks like, and probably where in the code the call was being made. So you could use that info to determine where on your file system the DateTime modules live, that the OlsonRule files are there, and why they’re not on Perl’s @INC path, because that is what the eror message is saying.

Len.

Sorry I am running V 3.8.7…and I realize it is not officially supported. Thought I would see if anyone had run into this error before. I did, as you suggested already, and installed the DateTime::TimeZone from cpan but still get the error.

Thanks,
Mark Sears - CISSP-M.S. IA
Principal Information Security Analyst

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062tel:(407)%20541-4062
fax: (407) 380-3823tel:(407)%20380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com

Looks reasonable on its face.
If it really is ‘rule.pm’ instead of ‘Rule.pm’ that that’s probably one of
your problems, as the file names are case sensitive on Unix.

Do you have a way to interject some logging code into the logic flow?
Because it’s important to know the state of the interpreter… @INC, %INC,
etc. If we insert a couple of calls that dump some of the variables to the
RT log, it could be helpful.

Len.On Tue, May 20, 2014 at 8:51 AM, Sears, Mark Mark.Sears@gdit.com wrote:

Ok –r—r—r—is the permission for the rule.pm file and root owns it and
the entire directory

drwxr-xr-x is the permission of the top level perl directory and owner by
root.

Are these permissions correct?

Thanks,

Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[image: cid:image001.png@01CE728F.61780B30]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823
mark.sears@gdit.com mark.sears@gdit.com
www.gdit.com

From: lenjaffe@gmail.com [mailto:lenjaffe@gmail.com] *On Behalf Of *Len
Jaffe
Sent: Monday, May 19, 2014 4:12 PM

To: Sears, Mark
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

Perl has an @INC array which lists all of the directories that Perl will
look in when searching for modules.

It also has %INC which is a hash of modules, and the file paths they were
loaded from.

But Perl listed it’s include path for you. You included it in a previous
email. look through that list and see

if any of the entries are the prefix of either of the two place you found
OlsonDB/Rule.pm.

But also listen to Kevin, restart apache/fcgi and check the ownership and
file permissions of

/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB/Rule.pm and it’s
directory components.

If it’s on the path, then it will be file permissions, ownership etc.
Easy enough to rectify.

Otherwise you have to question why it installed in a place in which Perl
isn’t looking. But /usr/lib/perl5 is the default place that perl looks.

Len.

On Mon, May 19, 2014 at 3:30 PM, Sears, Mark Mark.Sears@gdit.com wrote:

Not sure what you mean by see if that’s in the @INC array

Thanks,

Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[image: cid:image001.png@01CE728F.61780B30]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823
mark.sears@gdit.com mark.sears@gdit.com
www.gdit.com

From: lenjaffe@gmail.com [mailto:lenjaffe@gmail.com] *On Behalf Of *Len
Jaffe
Sent: Monday, May 19, 2014 3:09 PM

To: Sears, Mark
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

Now use locate or find to figure out where OlsonDB/Rule.pm lives, and see
if that’s in the @INC array.

On Mon, May 19, 2014 at 2:24 PM, Sears, Mark Mark.Sears@gdit.com wrote:

Here is the full error:

Error during compilation of /opt/rt3/share/html/Elements/SelectTimezone:
Can’t locate DateTime/TimeZone/OlsonDB/Rule.pm in @INC (@INC contains:
/opt/rt3/bin/…/local/lib /opt/rt3/bin/…/lib
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .
/etc/httpd) at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB.pm
line 8, line 1662. BEGIN failed–compilation aborted at
/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB.pm line 8, line
1662. Compilation failed in require at
/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/Africa/Abidjan.pm line 16,
line 1662. BEGIN failed–compilation aborted at
/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/Africa/Abidjan.pm line 16,
line 1662. Compilation failed in require at (eval 2195) line 3, line 1662.
Stack: [/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone.pm:88]
[/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DateTime.pm:1958]
[/opt/rt3/share/html/Elements/SelectTimezone:60]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:817]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:440]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1127]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1060]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1239]
[/opt/rt3/share/html/User/Prefs.html:83]
[/opt/rt3/share/html/Widgets/TitleBox:51]
[/opt/rt3/share/html/User/Prefs.html:86]
[/opt/rt3/bin/…/lib/RT/Interface/Web.pm:320]
[/opt/rt3/bin/…/lib/RT/Interface/Web.pm:224]
[/opt/rt3/share/html/autohandler:53]

Thanks,

Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[image: cid:image001.png@01CE728F.61780B30]

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823

mark.sears@gdit.com mark.sears@gdit.com
www.gdit.com

From: lenjaffe@gmail.com [mailto:lenjaffe@gmail.com] *On Behalf Of *Len
Jaffe
Sent: Monday, May 19, 2014 2:17 PM
To: Sears, Mark
Cc: rt-users@lists.bestpractical.com

Subject: Re: [rt-users] Perl broken?

You left out the best bits. The bits where Perl told you what the INC
array looks like, and probably where in the code the call was being made.
So you could use that info to determine where on your file system the
DateTime modules live, that the OlsonRule files are there, and why they’re
not on Perl’s @INC path, because that is what the eror message is saying.

Len.

On Mon, May 19, 2014 at 1:45 PM, Sears, Mark Mark.Sears@gdit.com wrote:

Sorry I am running V 3.8.7…and I realize it is not officially supported.
Thought I would see if anyone had run into this error before. I did, as
you suggested already, and installed the DateTime::TimeZone from cpan but
still get the error.

Thanks,
Mark Sears - CISSP-M.S. IA
Principal Information Security Analyst

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823
mark.sears@gdit.com
www.gdit.com

-----Original Message-----
From: rt-users [mailto:rt-users-bounces@lists.bestpractical.com] On
Behalf Of Kevin Falcone
Sent: Monday, May 19, 2014 1:40 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

On Mon, May 19, 2014 at 01:07:41PM +0000, Sears, Mark wrote:

I am receiving the following error when I go into Preferences>About
me:
Error during compilation of
/opt/rt3/share/html/Elements/SelectTimezone:Can’t locate
DateTime/TimeZone/OlsonDB/Rule.pm in…

Also mentions issue with TimeZone::Africa::Abidjan.

I have run fix deps; test deps; rt-test-deps script and from cpan>
installed TimeZone module

You forgot to mention your RT version, but since you have /opt/rt3 in your
error patch, I’ll mention that no release of RT3 is currently supported.

RT can optionally use DateTime::TimeZone if installed (it’s not a required
dependency of RT) but something must be wrong in your older version of RT.
You likely need to install DateTime::TimeZone from cpan

-kevin

RT Training - Dallas May 20-21
http://bestpractical.com/training

lenjaffe@jaffesystems.com 614-404-4214 @lenjaffe

Information Technology Smoke Jumper, Host of Columbus Code Jamhttp://www.meetup.com/techlifecolumbus/

www.lenjaffe.com http://www.theycomewithcheese.com

Advent Planet http://www.lenjaffe.com/AdventPlanet/ - An Aggregation of
Online Advent Calendars.

lenjaffe@jaffesystems.com 614-404-4214 @lenjaffe

Information Technology Smoke Jumper, Host of Columbus Code Jamhttp://www.meetup.com/techlifecolumbus/

www.lenjaffe.com http://www.theycomewithcheese.com

Advent Planet http://www.lenjaffe.com/AdventPlanet/ - An Aggregation of
Online Advent Calendars.

lenjaffe@jaffesystems.com 614-404-4214 @lenjaffe

Information Technology Smoke Jumper, Host of Columbus Code Jamhttp://www.meetup.com/techlifecolumbus/

www.lenjaffe.com http://www.theycomewithcheese.com

Advent Planet http://www.lenjaffe.com/AdventPlanet/ - An Aggregation of
Online Advent Calendars.

lenjaffe@jaffesystems.com 614-404-4214 @lenjaffe
Information Technology Smoke Jumper, Host of Columbus Code
Jamhttp://www.meetup.com/techlifecolumbus/
www.lenjaffe.com http://www.theycomewithcheese.com
Advent Planet http://www.lenjaffe.com/AdventPlanet/ - An Aggregation of
Online Advent Calendars.

It is actually Rule.pm (sorry for the lower case). I’m not sure what you mean by “interject some logging code into the logic flow”
I have root access to the systems RT runs on via putty ssh.

Thanks,
Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png@01CE728F.61780B30]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com/From: lenjaffe@gmail.com [mailto:lenjaffe@gmail.com] On Behalf Of Len Jaffe
Sent: Tuesday, May 20, 2014 10:56 AM
To: Sears, Mark
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

Looks reasonable on its face.
If it really is ‘rule.pmhttp://rule.pm’ instead of ‘Rule.pm’ that that’s probably one of your problems, as the file names are case sensitive on Unix.

Do you have a way to interject some logging code into the logic flow?
Because it’s important to know the state of the interpreter… @INC, %INC, etc. If we insert a couple of calls that dump some of the variables to the RT log, it could be helpful.

Len.

Ok –r—r—r—is the permission for the rule.pmhttp://rule.pm file and root owns it and the entire directory
drwxr-xr-x is the permission of the top level perl directory and owner by root.
Are these permissions correct?

Thanks,
Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png@01CE728F.61780B30]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062tel:(407)%20541-4062
fax: (407) 380-3823tel:(407)%20380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com/

From: lenjaffe@gmail.commailto:lenjaffe@gmail.com [mailto:lenjaffe@gmail.commailto:lenjaffe@gmail.com] On Behalf Of Len Jaffe
Sent: Monday, May 19, 2014 4:12 PM

To: Sears, Mark
Cc: rt-users@lists.bestpractical.commailto:rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

Perl has an @INC array which lists all of the directories that Perl will look in when searching for modules.
It also has %INC which is a hash of modules, and the file paths they were loaded from.

But Perl listed it’s include path for you. You included it in a previous email. look through that list and see
if any of the entries are the prefix of either of the two place you found OlsonDB/Rule.pm.

But also listen to Kevin, restart apache/fcgi and check the ownership and file permissions of
/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB/Rule.pm and it’s directory components.

If it’s on the path, then it will be file permissions, ownership etc. Easy enough to rectify.
Otherwise you have to question why it installed in a place in which Perl isn’t looking. But /usr/lib/perl5 is the default place that perl looks.

Len.

Not sure what you mean by see if that’s in the @INC array

Thanks,
Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png@01CE728F.61780B30]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062tel:(407)%20541-4062
fax: (407) 380-3823tel:(407)%20380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com/

From: lenjaffe@gmail.commailto:lenjaffe@gmail.com [mailto:lenjaffe@gmail.commailto:lenjaffe@gmail.com] On Behalf Of Len Jaffe
Sent: Monday, May 19, 2014 3:09 PM

To: Sears, Mark
Cc: rt-users@lists.bestpractical.commailto:rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

Now use locate or find to figure out where OlsonDB/Rule.pm lives, and see if that’s in the @INC array.

Here is the full error:

Error during compilation of /opt/rt3/share/html/Elements/SelectTimezone: Can’t locate DateTime/TimeZone/OlsonDB/Rule.pm in @INC (@INC contains: /opt/rt3/bin/…/local/lib /opt/rt3/bin/…/lib /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB.pm line 8, line 1662. BEGIN failed–compilation aborted at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB.pm line 8, line 1662. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/Africa/Abidjan.pm line 16, line 1662. BEGIN failed–compilation aborted at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/Africa/Abidjan.pm line 16, line 1662. Compilation failed in require at (eval 2195) line 3, line 1662. Stack: [/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone.pm:88] [/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DateTime.pm:1958] [/opt/rt3/share/html/Elements/SelectTimezone:60] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:817] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:440] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1127] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1060] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1239] [/opt/rt3/share/html/User/Prefs.html:83] [/opt/rt3/share/html/Widgets/TitleBox:51] [/opt/rt3/share/html/User/Prefs.html:86] [/opt/rt3/bin/…/lib/RT/Interface/Web.pm:320] [/opt/rt3/bin/…/lib/RT/Interface/Web.pm:224] [/opt/rt3/share/html/autohandler:53]

Thanks,
Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png@01CE728F.61780B30]

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062tel:(407)%20541-4062
fax: (407) 380-3823tel:(407)%20380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com/

From: lenjaffe@gmail.commailto:lenjaffe@gmail.com [mailto:lenjaffe@gmail.commailto:lenjaffe@gmail.com] On Behalf Of Len Jaffe
Sent: Monday, May 19, 2014 2:17 PM
To: Sears, Mark
Cc: rt-users@lists.bestpractical.commailto:rt-users@lists.bestpractical.com

Subject: Re: [rt-users] Perl broken?

You left out the best bits. The bits where Perl told you what the INC array looks like, and probably where in the code the call was being made. So you could use that info to determine where on your file system the DateTime modules live, that the OlsonRule files are there, and why they’re not on Perl’s @INC path, because that is what the eror message is saying.

Len.

Sorry I am running V 3.8.7…and I realize it is not officially supported. Thought I would see if anyone had run into this error before. I did, as you suggested already, and installed the DateTime::TimeZone from cpan but still get the error.

Thanks,
Mark Sears - CISSP-M.S. IA
Principal Information Security Analyst

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062tel:(407)%20541-4062
fax: (407) 380-3823tel:(407)%20380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com

Right. So as some point, as close to the place that tries to include that
Rule.pm file, I’d add something similar to::

$RT::Logger->info ( Data::Dumper->Dump([@INC, %INC], [qw/inc_path
inc_hash]));

As far as I know, we’re still trying to figure out why the existing include
paths are not finding your expected version of DateTime::*

Len.On Tue, May 20, 2014 at 11:55 AM, Sears, Mark Mark.Sears@gdit.com wrote:

It is actually Rule.pm (sorry for the lower case). I’m not sure what
you mean by “interject some logging code into the logic flow”

I have root access to the systems RT runs on via putty ssh.

Thanks,

Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[image: cid:image001.png@01CE728F.61780B30]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823
mark.sears@gdit.com mark.sears@gdit.com
www.gdit.com

From: lenjaffe@gmail.com [mailto:lenjaffe@gmail.com] *On Behalf Of *Len
Jaffe
Sent: Tuesday, May 20, 2014 10:56 AM

To: Sears, Mark
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

Looks reasonable on its face.

If it really is ‘rule.pm’ instead of ‘Rule.pm’ that that’s probably one
of your problems, as the file names are case sensitive on Unix.

Do you have a way to interject some logging code into the logic flow?

Because it’s important to know the state of the interpreter… @INC, %INC,
etc. If we insert a couple of calls that dump some of the variables to the
RT log, it could be helpful.

Len.

On Tue, May 20, 2014 at 8:51 AM, Sears, Mark Mark.Sears@gdit.com wrote:

Ok –r—r—r—is the permission for the rule.pm file and root owns it and the
entire directory

drwxr-xr-x is the permission of the top level perl directory and owner by
root.

Are these permissions correct?

Thanks,

Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[image: cid:image001.png@01CE728F.61780B30]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823
mark.sears@gdit.com mark.sears@gdit.com
www.gdit.com

From: lenjaffe@gmail.com [mailto:lenjaffe@gmail.com] *On Behalf Of *Len
Jaffe
Sent: Monday, May 19, 2014 4:12 PM

To: Sears, Mark
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

Perl has an @INC array which lists all of the directories that Perl will
look in when searching for modules.

It also has %INC which is a hash of modules, and the file paths they were
loaded from.

But Perl listed it’s include path for you. You included it in a previous
email. look through that list and see

if any of the entries are the prefix of either of the two place you found
OlsonDB/Rule.pm.

But also listen to Kevin, restart apache/fcgi and check the ownership and
file permissions of

/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB/Rule.pm and it’s
directory components.

If it’s on the path, then it will be file permissions, ownership etc.
Easy enough to rectify.

Otherwise you have to question why it installed in a place in which Perl
isn’t looking. But /usr/lib/perl5 is the default place that perl looks.

Len.

On Mon, May 19, 2014 at 3:30 PM, Sears, Mark Mark.Sears@gdit.com wrote:

Not sure what you mean by see if that’s in the @INC array

Thanks,

Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[image: cid:image001.png@01CE728F.61780B30]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823
mark.sears@gdit.com mark.sears@gdit.com
www.gdit.com

From: lenjaffe@gmail.com [mailto:lenjaffe@gmail.com] *On Behalf Of *Len
Jaffe
Sent: Monday, May 19, 2014 3:09 PM

To: Sears, Mark
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

Now use locate or find to figure out where OlsonDB/Rule.pm lives, and see
if that’s in the @INC array.

On Mon, May 19, 2014 at 2:24 PM, Sears, Mark Mark.Sears@gdit.com wrote:

Here is the full error:

Error during compilation of /opt/rt3/share/html/Elements/SelectTimezone:
Can’t locate DateTime/TimeZone/OlsonDB/Rule.pm in @INC (@INC contains:
/opt/rt3/bin/…/local/lib /opt/rt3/bin/…/lib
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .
/etc/httpd) at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB.pm
line 8, line 1662. BEGIN failed–compilation aborted at
/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB.pm line 8, line
1662. Compilation failed in require at
/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/Africa/Abidjan.pm line 16,
line 1662. BEGIN failed–compilation aborted at
/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/Africa/Abidjan.pm line 16,
line 1662. Compilation failed in require at (eval 2195) line 3, line 1662.
Stack: [/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone.pm:88]
[/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DateTime.pm:1958]
[/opt/rt3/share/html/Elements/SelectTimezone:60]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:817]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:440]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1127]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1060]
[/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1239]
[/opt/rt3/share/html/User/Prefs.html:83]
[/opt/rt3/share/html/Widgets/TitleBox:51]
[/opt/rt3/share/html/User/Prefs.html:86]
[/opt/rt3/bin/…/lib/RT/Interface/Web.pm:320]
[/opt/rt3/bin/…/lib/RT/Interface/Web.pm:224]
[/opt/rt3/share/html/autohandler:53]

Thanks,

Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[image: cid:image001.png@01CE728F.61780B30]

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823

mark.sears@gdit.com mark.sears@gdit.com
www.gdit.com

From: lenjaffe@gmail.com [mailto:lenjaffe@gmail.com] *On Behalf Of *Len
Jaffe
Sent: Monday, May 19, 2014 2:17 PM
To: Sears, Mark
Cc: rt-users@lists.bestpractical.com

Subject: Re: [rt-users] Perl broken?

You left out the best bits. The bits where Perl told you what the INC
array looks like, and probably where in the code the call was being made.
So you could use that info to determine where on your file system the
DateTime modules live, that the OlsonRule files are there, and why they’re
not on Perl’s @INC path, because that is what the eror message is saying.

Len.

On Mon, May 19, 2014 at 1:45 PM, Sears, Mark Mark.Sears@gdit.com wrote:

Sorry I am running V 3.8.7…and I realize it is not officially supported.
Thought I would see if anyone had run into this error before. I did, as
you suggested already, and installed the DateTime::TimeZone from cpan but
still get the error.

Thanks,
Mark Sears - CISSP-M.S. IA
Principal Information Security Analyst

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823
mark.sears@gdit.com
www.gdit.com

-----Original Message-----
From: rt-users [mailto:rt-users-bounces@lists.bestpractical.com] On
Behalf Of Kevin Falcone
Sent: Monday, May 19, 2014 1:40 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

On Mon, May 19, 2014 at 01:07:41PM +0000, Sears, Mark wrote:

I am receiving the following error when I go into Preferences>About
me:
Error during compilation of
/opt/rt3/share/html/Elements/SelectTimezone:Can’t locate
DateTime/TimeZone/OlsonDB/Rule.pm in…

Also mentions issue with TimeZone::Africa::Abidjan.

I have run fix deps; test deps; rt-test-deps script and from cpan>
installed TimeZone module

You forgot to mention your RT version, but since you have /opt/rt3 in your
error patch, I’ll mention that no release of RT3 is currently supported.

RT can optionally use DateTime::TimeZone if installed (it’s not a required
dependency of RT) but something must be wrong in your older version of RT.
You likely need to install DateTime::TimeZone from cpan

-kevin

RT Training - Dallas May 20-21
http://bestpractical.com/training

lenjaffe@jaffesystems.com 614-404-4214 @lenjaffe

Information Technology Smoke Jumper, Host of Columbus Code Jamhttp://www.meetup.com/techlifecolumbus/

www.lenjaffe.com http://www.theycomewithcheese.com

Advent Planet http://www.lenjaffe.com/AdventPlanet/ - An Aggregation of
Online Advent Calendars.

lenjaffe@jaffesystems.com 614-404-4214 @lenjaffe

Information Technology Smoke Jumper, Host of Columbus Code Jamhttp://www.meetup.com/techlifecolumbus/

www.lenjaffe.com http://www.theycomewithcheese.com

Advent Planet http://www.lenjaffe.com/AdventPlanet/ - An Aggregation of
Online Advent Calendars.

lenjaffe@jaffesystems.com 614-404-4214 @lenjaffe

Information Technology Smoke Jumper, Host of Columbus Code Jamhttp://www.meetup.com/techlifecolumbus/

www.lenjaffe.com http://www.theycomewithcheese.com

Advent Planet http://www.lenjaffe.com/AdventPlanet/ - An Aggregation of
Online Advent Calendars.

lenjaffe@jaffesystems.com 614-404-4214 @lenjaffe

Information Technology Smoke Jumper, Host of Columbus Code Jamhttp://www.meetup.com/techlifecolumbus/

www.lenjaffe.com http://www.theycomewithcheese.com

Advent Planet http://www.lenjaffe.com/AdventPlanet/ - An Aggregation of
Online Advent Calendars.

lenjaffe@jaffesystems.com 614-404-4214 @lenjaffe
Information Technology Smoke Jumper, Host of Columbus Code
Jamhttp://www.meetup.com/techlifecolumbus/
www.lenjaffe.com http://www.theycomewithcheese.com
Advent Planet http://www.lenjaffe.com/AdventPlanet/ - An Aggregation of
Online Advent Calendars.

Ok the issue is this is above my head as I am not a programmer. How would I do this?

Thanks,
Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png@01CE728F.61780B30]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com/From: lenjaffe@gmail.com [mailto:lenjaffe@gmail.com] On Behalf Of Len Jaffe
Sent: Tuesday, May 20, 2014 1:12 PM
To: Sears, Mark
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

Right. So as some point, as close to the place that tries to include that Rule.pm file, I’d add something similar to::

$RT::Logger->info ( Data::Dumper->Dump([@INC, %INC], [qw/inc_path inc_hash]));

As far as I know, we’re still trying to figure out why the existing include paths are not finding your expected version of DateTime::*

Len.

It is actually Rule.pm (sorry for the lower case). I’m not sure what you mean by “interject some logging code into the logic flow”
I have root access to the systems RT runs on via putty ssh.

Thanks,
Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png@01CE728F.61780B30]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062tel:(407)%20541-4062
fax: (407) 380-3823tel:(407)%20380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com/

From: lenjaffe@gmail.commailto:lenjaffe@gmail.com [mailto:lenjaffe@gmail.commailto:lenjaffe@gmail.com] On Behalf Of Len Jaffe
Sent: Tuesday, May 20, 2014 10:56 AM

To: Sears, Mark
Cc: rt-users@lists.bestpractical.commailto:rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

Looks reasonable on its face.
If it really is ‘rule.pmhttp://rule.pm’ instead of ‘Rule.pm’ that that’s probably one of your problems, as the file names are case sensitive on Unix.

Do you have a way to interject some logging code into the logic flow?
Because it’s important to know the state of the interpreter… @INC, %INC, etc. If we insert a couple of calls that dump some of the variables to the RT log, it could be helpful.

Len.

Ok –r—r—r—is the permission for the rule.pmhttp://rule.pm file and root owns it and the entire directory
drwxr-xr-x is the permission of the top level perl directory and owner by root.
Are these permissions correct?

Thanks,
Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png@01CE728F.61780B30]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062tel:(407)%20541-4062
fax: (407) 380-3823tel:(407)%20380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com/

From: lenjaffe@gmail.commailto:lenjaffe@gmail.com [mailto:lenjaffe@gmail.commailto:lenjaffe@gmail.com] On Behalf Of Len Jaffe
Sent: Monday, May 19, 2014 4:12 PM

To: Sears, Mark
Cc: rt-users@lists.bestpractical.commailto:rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

Perl has an @INC array which lists all of the directories that Perl will look in when searching for modules.
It also has %INC which is a hash of modules, and the file paths they were loaded from.

But Perl listed it’s include path for you. You included it in a previous email. look through that list and see
if any of the entries are the prefix of either of the two place you found OlsonDB/Rule.pm.

But also listen to Kevin, restart apache/fcgi and check the ownership and file permissions of
/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB/Rule.pm and it’s directory components.

If it’s on the path, then it will be file permissions, ownership etc. Easy enough to rectify.
Otherwise you have to question why it installed in a place in which Perl isn’t looking. But /usr/lib/perl5 is the default place that perl looks.

Len.

Not sure what you mean by see if that’s in the @INC array

Thanks,
Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png@01CE728F.61780B30]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062tel:(407)%20541-4062
fax: (407) 380-3823tel:(407)%20380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com/

From: lenjaffe@gmail.commailto:lenjaffe@gmail.com [mailto:lenjaffe@gmail.commailto:lenjaffe@gmail.com] On Behalf Of Len Jaffe
Sent: Monday, May 19, 2014 3:09 PM

To: Sears, Mark
Cc: rt-users@lists.bestpractical.commailto:rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

Now use locate or find to figure out where OlsonDB/Rule.pm lives, and see if that’s in the @INC array.

Here is the full error:

Error during compilation of /opt/rt3/share/html/Elements/SelectTimezone: Can’t locate DateTime/TimeZone/OlsonDB/Rule.pm in @INC (@INC contains: /opt/rt3/bin/…/local/lib /opt/rt3/bin/…/lib /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB.pm line 8, line 1662. BEGIN failed–compilation aborted at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB.pm line 8, line 1662. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/Africa/Abidjan.pm line 16, line 1662. BEGIN failed–compilation aborted at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/Africa/Abidjan.pm line 16, line 1662. Compilation failed in require at (eval 2195) line 3, line 1662. Stack: [/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone.pm:88] [/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DateTime.pm:1958] [/opt/rt3/share/html/Elements/SelectTimezone:60] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:817] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:440] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1127] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1060] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1239] [/opt/rt3/share/html/User/Prefs.html:83] [/opt/rt3/share/html/Widgets/TitleBox:51] [/opt/rt3/share/html/User/Prefs.html:86] [/opt/rt3/bin/…/lib/RT/Interface/Web.pm:320] [/opt/rt3/bin/…/lib/RT/Interface/Web.pm:224] [/opt/rt3/share/html/autohandler:53]

Thanks,
Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png@01CE728F.61780B30]

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062tel:(407)%20541-4062
fax: (407) 380-3823tel:(407)%20380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com/

From: lenjaffe@gmail.commailto:lenjaffe@gmail.com [mailto:lenjaffe@gmail.commailto:lenjaffe@gmail.com] On Behalf Of Len Jaffe
Sent: Monday, May 19, 2014 2:17 PM
To: Sears, Mark
Cc: rt-users@lists.bestpractical.commailto:rt-users@lists.bestpractical.com

Subject: Re: [rt-users] Perl broken?

You left out the best bits. The bits where Perl told you what the INC array looks like, and probably where in the code the call was being made. So you could use that info to determine where on your file system the DateTime modules live, that the OlsonRule files are there, and why they’re not on Perl’s @INC path, because that is what the eror message is saying.

Len.

Sorry I am running V 3.8.7…and I realize it is not officially supported. Thought I would see if anyone had run into this error before. I did, as you suggested already, and installed the DateTime::TimeZone from cpan but still get the error.

Thanks,
Mark Sears - CISSP-M.S. IA
Principal Information Security Analyst

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062tel:(407)%20541-4062
fax: (407) 380-3823tel:(407)%20380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com

How would I add this?

Thanks,
Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png@01CE728F.61780B30]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com/From: lenjaffe@gmail.com [mailto:lenjaffe@gmail.com] On Behalf Of Len Jaffe
Sent: Tuesday, May 20, 2014 1:12 PM
To: Sears, Mark
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

Right. So as some point, as close to the place that tries to include that Rule.pm file, I’d add something similar to::

$RT::Logger->info ( Data::Dumper->Dump([@INC, %INC], [qw/inc_path inc_hash]));

As far as I know, we’re still trying to figure out why the existing include paths are not finding your expected version of DateTime::*

Len.

It is actually Rule.pm (sorry for the lower case). I’m not sure what you mean by “interject some logging code into the logic flow”
I have root access to the systems RT runs on via putty ssh.

Thanks,
Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png@01CE728F.61780B30]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062tel:(407)%20541-4062
fax: (407) 380-3823tel:(407)%20380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com/

From: lenjaffe@gmail.commailto:lenjaffe@gmail.com [mailto:lenjaffe@gmail.commailto:lenjaffe@gmail.com] On Behalf Of Len Jaffe
Sent: Tuesday, May 20, 2014 10:56 AM

To: Sears, Mark
Cc: rt-users@lists.bestpractical.commailto:rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

Looks reasonable on its face.
If it really is ‘rule.pmhttp://rule.pm’ instead of ‘Rule.pm’ that that’s probably one of your problems, as the file names are case sensitive on Unix.

Do you have a way to interject some logging code into the logic flow?
Because it’s important to know the state of the interpreter… @INC, %INC, etc. If we insert a couple of calls that dump some of the variables to the RT log, it could be helpful.

Len.

Ok –r—r—r—is the permission for the rule.pmhttp://rule.pm file and root owns it and the entire directory
drwxr-xr-x is the permission of the top level perl directory and owner by root.
Are these permissions correct?

Thanks,
Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png@01CE728F.61780B30]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062tel:(407)%20541-4062
fax: (407) 380-3823tel:(407)%20380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com/

From: lenjaffe@gmail.commailto:lenjaffe@gmail.com [mailto:lenjaffe@gmail.commailto:lenjaffe@gmail.com] On Behalf Of Len Jaffe
Sent: Monday, May 19, 2014 4:12 PM

To: Sears, Mark
Cc: rt-users@lists.bestpractical.commailto:rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

Perl has an @INC array which lists all of the directories that Perl will look in when searching for modules.
It also has %INC which is a hash of modules, and the file paths they were loaded from.

But Perl listed it’s include path for you. You included it in a previous email. look through that list and see
if any of the entries are the prefix of either of the two place you found OlsonDB/Rule.pm.

But also listen to Kevin, restart apache/fcgi and check the ownership and file permissions of
/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB/Rule.pm and it’s directory components.

If it’s on the path, then it will be file permissions, ownership etc. Easy enough to rectify.
Otherwise you have to question why it installed in a place in which Perl isn’t looking. But /usr/lib/perl5 is the default place that perl looks.

Len.

Not sure what you mean by see if that’s in the @INC array

Thanks,
Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png@01CE728F.61780B30]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062tel:(407)%20541-4062
fax: (407) 380-3823tel:(407)%20380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com/

From: lenjaffe@gmail.commailto:lenjaffe@gmail.com [mailto:lenjaffe@gmail.commailto:lenjaffe@gmail.com] On Behalf Of Len Jaffe
Sent: Monday, May 19, 2014 3:09 PM

To: Sears, Mark
Cc: rt-users@lists.bestpractical.commailto:rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Perl broken?

Now use locate or find to figure out where OlsonDB/Rule.pm lives, and see if that’s in the @INC array.

Here is the full error:

Error during compilation of /opt/rt3/share/html/Elements/SelectTimezone: Can’t locate DateTime/TimeZone/OlsonDB/Rule.pm in @INC (@INC contains: /opt/rt3/bin/…/local/lib /opt/rt3/bin/…/lib /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 . /etc/httpd) at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB.pm line 8, line 1662. BEGIN failed–compilation aborted at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/OlsonDB.pm line 8, line 1662. Compilation failed in require at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/Africa/Abidjan.pm line 16, line 1662. BEGIN failed–compilation aborted at /usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone/Africa/Abidjan.pm line 16, line 1662. Compilation failed in require at (eval 2195) line 3, line 1662. Stack: [/usr/lib/perl5/site_perl/5.8.8/DateTime/TimeZone.pm:88] [/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/DateTime.pm:1958] [/opt/rt3/share/html/Elements/SelectTimezone:60] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:817] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Interp.pm:440] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1127] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1060] [/usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm:1239] [/opt/rt3/share/html/User/Prefs.html:83] [/opt/rt3/share/html/Widgets/TitleBox:51] [/opt/rt3/share/html/User/Prefs.html:86] [/opt/rt3/bin/…/lib/RT/Interface/Web.pm:320] [/opt/rt3/bin/…/lib/RT/Interface/Web.pm:224] [/opt/rt3/share/html/autohandler:53]

Thanks,
Mark Sears – CISSP-M.S. IA
Principal Information Security Analyst
[cid:image001.png@01CE728F.61780B30]

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062tel:(407)%20541-4062
fax: (407) 380-3823tel:(407)%20380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com/

From: lenjaffe@gmail.commailto:lenjaffe@gmail.com [mailto:lenjaffe@gmail.commailto:lenjaffe@gmail.com] On Behalf Of Len Jaffe
Sent: Monday, May 19, 2014 2:17 PM
To: Sears, Mark
Cc: rt-users@lists.bestpractical.commailto:rt-users@lists.bestpractical.com

Subject: Re: [rt-users] Perl broken?

You left out the best bits. The bits where Perl told you what the INC array looks like, and probably where in the code the call was being made. So you could use that info to determine where on your file system the DateTime modules live, that the OlsonRule files are there, and why they’re not on Perl’s @INC path, because that is what the eror message is saying.

Len.

Sorry I am running V 3.8.7…and I realize it is not officially supported. Thought I would see if anyone had run into this error before. I did, as you suggested already, and installed the DateTime::TimeZone from cpan but still get the error.

Thanks,
Mark Sears - CISSP-M.S. IA
Principal Information Security Analyst

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062tel:(407)%20541-4062
fax: (407) 380-3823tel:(407)%20380-3823
mark.sears@gdit.commailto:mark.sears@gdit.com
www.gdit.comhttp://www.gdit.com

Ok –r—r—r—is the permission for the rule.pm file and root owns it and the entire
directory

drwxr-xr-x is the permission of the top level perl directory and owner by root.

Are these permissions correct?

Permissions on the top level directory and file are insufficient to
determine permission correctness.

sudo or su to the user apache runs as

attempt to cat the Rule.pm file

attempt to execute perl -MDateTime::Timezone\ 5 as the web user

These will further identify permission problems

-kevin