[rt-users] Mason Cache clear

Dunbar, Brian Brian.Dunbar at von.ca
Mon Oct 31 13:49:50 EDT 2016


I was installing RT-Extension-ActivityReports into RT 4.4.0 after the install I ran 
rm -rf /opt/rt4/var/mason_data/obj
then service apache2 restart

Apache restarted ok but RT will not load. I found this error in syslog but not sure what to fix.
[40707] mkdir /opt/rt4/var/mason_data/obj/3407077840: Permission denied at /usr/share/perl5/HTML/Mason/Compiler/ToObject.pm line 115.#012#012Stack:#012 
[/usr/share/perl/5.20/Carp.pm:166]#012  [/usr/share/perl/5.20/File/Path.pm:156]#012  
[/usr/share/perl/5.20/File/Path.pm:133]#012  
[/usr/share/perl/5.20/File/Path.pm:114]#012  
[/usr/share/perl5/HTML/Mason/Compiler/ToObject.pm:115]#012  
[/usr/share/perl5/HTML/Mason/Interp.pm:440]#012  
[/usr/share/perl5/HTML/Mason/Interp.pm:776]#012  
[/usr/share/perl5/HTML/Mason/Request.pm:259]#012  
[/usr/share/perl5/HTML/Mason/Request.pm:215]#012  
[/opt/rt4/sbin/../lib/RT/Interface/Web/Request.pm:61]#012  
[/usr/share/perl5/Class/Container.pm:275]#012  
[/usr/share/perl5/Class/Container.pm:353]#012  
[/usr/share/perl5/HTML/Mason/Interp.pm:351]#012  
[/usr/share/perl5/HTML/Mason/Interp.pm:345]#012  
[/usr/share/perl5/HTML/Mason/PSGIHandler.pm:59]#012  
[/usr/share/perl5/HTML/Mason/PSGIHandler/Streamy.pm:52]#012  
[/usr/share/perl5/Plack/Util.pm:301]#012  [/usr/share/perl5/

Then I google clearing mason cache and it shows 
rm -Rf /usr/local/rt4/var/mason_data/obj/*
Not usre if the asterisk at end makes difference I tried that after still no luck.

Anyone see what is wrong and how to fix?  Greatly appreciated.



More information about the rt-users mailing list