i recently installed RT4
with apt-get install request-tracker4
apt-get install rt4*
i did the apache configuration manually , i’m using fastcgid mod
when i log into x.x.x.x/rt
login and password done , it gives me this output
An internal RT error has occurred. Your administrator can find more details in RT’s log files.
why ??? need help
craig
June 18, 2019, 6:56pm
2
What do the Apache logs say?
[2901] [Wed Jun 19 09:54:08 2019] [error]: Couldn’t create object file /var/cache/request-tracker4/mason_data/obj/3501187538/standard/Elements/Tabs.obj: Permission denied
Stack:
Sounds like either what ever user your web server runs as doesn’t have permission to read/write the Mason cache files under /var/cache/request-tracker4/mason_data
or if you have SELinux turned on its interfering with the process.
Easiest to check the first one: find out what user your web server is running as (usually something like www-data
, apache
or www
) and then as root do:
chown -R webserver_username /var/cache/request-tracker4/mason_data
where webserver_username
is whatever user name you found from the web server config.
If that doesn’t fix it, and you do have SELinux installed, try as a test:
setenforce 0
as root. If things then start working its an SELinux rights problem.
1 Like
proto$ ps aux | egrep ‘(apache|httpd)’
this is the output :
root 15908 0.0 0.0 74800 5600 ? Ss 10:25 0:00 /usr/sbin/apache2 -k start
www-data 15909 0.0 0.0 74532 1284 ? S 10:25 0:00 /usr/sbin/apache2 -k start
www-data 15910 0.0 0.0 363960 2176 ? Sl 10:25 0:00 /usr/sbin/apache2 -k start
www-data 15911 0.0 0.0 363960 2176 ? Sl 10:25 0:00 /usr/sbin/apache2 -k start
proto 15969 0.0 0.0 12716 976 pts/0 R+ 10:26 0:00 grep -E (apache|httpd)
what does that mean ., there is 3 instances of www-data !!
chown -R www-data /var/cache/request-tracker4/mason_data
that fixed the problem , thank you
Web servers usually fire off multiple processes so that they can handle multiple incoming requests. Perfectly normal.
1 Like