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:[email protected]]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062
fax: (407) 380-3823
[email protected]<mailto:[email protected]>
www.gdit.com<http://www.gdit.com/>

From: [email protected] [mailto:[email protected]] On Behalf Of Len Jaffe
Sent: Monday, May 19, 2014 4:12 PM
To: Sears, Mark
Cc: [email protected]
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 
<[email protected]<mailto:[email protected]>> 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
[cid:[email protected]]
12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062<tel:%28407%29%20541-4062>
fax: (407) 380-3823<tel:%28407%29%20380-3823>
[email protected]<mailto:[email protected]>
www.gdit.com<http://www.gdit.com/>

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]<mailto:[email protected]>] On Behalf Of Len Jaffe
Sent: Monday, May 19, 2014 3:09 PM

To: Sears, Mark
Cc: [email protected]<mailto:[email protected]>
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 
<[email protected]<mailto:[email protected]>> 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
[cid:[email protected]]

12249 Science Drive Suite 160
Orlando, FL 32826
office: (407) 541-4062<tel:%28407%29%20541-4062>
fax: (407) 380-3823<tel:%28407%29%20380-3823>
[email protected]<mailto:[email protected]>
www.gdit.com<http://www.gdit.com/>

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]<mailto:[email protected]>] On Behalf Of Len Jaffe
Sent: Monday, May 19, 2014 2:17 PM
To: Sears, Mark
Cc: [email protected]<mailto:[email protected]>

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 
<[email protected]<mailto:[email protected]>> 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<tel:%28407%29%20541-4062>
fax: (407) 380-3823<tel:%28407%29%20380-3823>
[email protected]<mailto:[email protected]>
www.gdit.com<http://www.gdit.com>


-----Original Message-----
From: rt-users 
[mailto:[email protected]<mailto:[email protected]>]
 On Behalf Of Kevin Falcone
Sent: Monday, May 19, 2014 1:40 PM
To: [email protected]<mailto:[email protected]>
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



--
[email protected]<mailto:[email protected]>   
614-404-4214<tel:614-404-4214>    @lenjaffe
Information Technology Smoke Jumper, Host of Columbus Code 
Jam<http://www.meetup.com/techlifecolumbus/>
www.lenjaffe.com<http://www.lenjaffe.com/>     
http://www.theycomewithcheese.com<http://www.theycomewithcheese.com/>
Advent Planet<http://www.lenjaffe.com/AdventPlanet/> - An Aggregation of Online 
Advent Calendars.




--
[email protected]<mailto:[email protected]>   
614-404-4214<tel:614-404-4214>    @lenjaffe
Information Technology Smoke Jumper, Host of Columbus Code 
Jam<http://www.meetup.com/techlifecolumbus/>
www.lenjaffe.com<http://www.lenjaffe.com/>     
http://www.theycomewithcheese.com<http://www.theycomewithcheese.com/>
Advent Planet<http://www.lenjaffe.com/AdventPlanet/> - An Aggregation of Online 
Advent Calendars.




--
[email protected]<mailto:[email protected]>   614-404-4214    
@lenjaffe
Information Technology Smoke Jumper, Host of Columbus Code 
Jam<http://www.meetup.com/techlifecolumbus/>
www.lenjaffe.com<http://www.lenjaffe.com/>     
http://www.theycomewithcheese.com<http://www.theycomewithcheese.com/>
Advent Planet<http://www.lenjaffe.com/AdventPlanet/> - An Aggregation of Online 
Advent Calendars.

-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training

Reply via email to