[rt-users] Mason Cache clear
lstewart at internap.com
Mon Oct 31 14:01:53 EDT 2016
Check what user apache2 runs as (probably www-data but depends on what distro you use). Then make sure that user can write to the /opt/rt4/var/mason_data/obj directory (chown -R www-data:www-data /opt/rt4/var/mason_data/obj).
To make sure apache2 runs as www-data (or to find out what it does run as) check the output of "ps aux | grep apache2". There will be one process running as root but the others will run as a different user; that is the one you want.
On Oct 31, 2016, at 10:49 AM, Dunbar, Brian <Brian.Dunbar at von.ca<mailto:Brian.Dunbar at von.ca>> wrote:
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.
 mkdir /opt/rt4/var/mason_data/obj/3407077840: Permission denied at /usr/share/perl5/HTML/Mason/Compiler/ToObject.pm line 115.#012#012Stack:#012
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.
RT 4.4 and RTIR training sessions, and a new workshop day! https://bestpractical.com/training
* Los Angeles - Q1 2017
Lead Analyst - Abuse and Security Management
📧 lstewart at internap.com<mailto:lstewart at internap.com>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rt-users