The short answer is yes. SELinux is already disabled. I have checked the permissions as well. I had already changed RT_Config.pm & RT_SiteConfig.pm to apache:apache. However, the rest were owned by root:rt. I ran chown -R apache:apache /opt/rt5/etc with no change. The error persists and I cannot load any web pages.
[deoneill@rt ~] $ sestatus
SELinux status: disabled
[deoneill@rt ~] $ ls /opt/rt5/etc/* -ld
-r-xr-xr-- 1 apache apache 141764 Dec 19 23:07 /opt/rt5/etc/RT_Config.pm
drw-rw-r-- 2 apache apache 6 Jul 13 13:17 /opt/rt5/etc/RT_SiteConfig.d
-r-xr-xr-- 1 apache apache 1618 Dec 20 09:48 /opt/rt5/etc/RT_SiteConfig.pm
-r-----r-- 1 apache apache 27 Dec 19 22:34 /opt/rt5/etc/acl.Oracle
-r-----r-- 1 apache apache 2411 Dec 19 22:34 /opt/rt5/etc/acl.Pg
-r-----r-- 1 apache apache 708 Dec 19 22:34 /opt/rt5/etc/acl.mysql
-r-----r-- 1 apache apache 5918 Dec 19 22:34 /opt/rt5/etc/cpanfile
-r-----r-- 1 apache apache 37429 Dec 19 22:34 /opt/rt5/etc/initialdata
-r-----r-- 1 apache apache 21388 Dec 19 22:34 /opt/rt5/etc/schema.Oracle
-r-----r-- 1 apache apache 19263 Dec 19 22:34 /opt/rt5/etc/schema.Pg
-r-----r-- 1 apache apache 18344 Dec 19 22:34 /opt/rt5/etc/schema.SQLite
-r-----r-- 1 apache apache 20223 Dec 19 22:34 /opt/rt5/etc/schema.mysql
drwxr-xr-x 99 apache apache 4096 Dec 19 22:34 /opt/rt5/etc/upgrade
The long answer is more complicated. I am trying to migrate & upgrade from RHEL4 RT 3.6.4 to RHEL8 RT 5.0.1. I have run the configure and makes multiple times fixings error along the way.
Early in the process I saw in invalid user and group messages. RT was trying to install as either www or www-data I do not recall exactly but RHEL8 runs as apache:apache. I found this command fixes most of the early errors
./configure -with-web-user=apache --with-web-group=apache
Later I saw erros about permissions on RT_Config.pm, RT_SiteConfig.pm and mason_data. I found the following command fixed those errors:
chmod 554 /opt/rt5/etc/RT_SiteConfig.pm
chmod 554 /opt/rt5/etc/RT_Config.pm
chown apache:apache /opt/rt5/etc/RT_Config.pm
chown apache:apache /opt/rt5/etc/RT_SiteConfig.pm
chown apache:apache /opt/rt5/var/mason_data
I’ve also had to tweak some on the MySQL configurations to get the import and upgrade commands to work.
The final step is getting the webserver to work. This is were I am currently stuck… webpage won’t load
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
[deoneill@rt ~] $ sudo tail /var/log/httpd/error_log
RT since version 3.8 has new schema for MySQL versions after 4.1.0
Follow instructions in the UPGRADING.mysql file.
[Tue Dec 21 00:30:23.779497 2021] [fcgid:warn] [pid 41246] (104)Connection reset by peer: [client 10.23.165.77:52512] mod_fcgid: error reading data from FastCGI server
[Tue Dec 21 00:30:23.779551 2021] [core:error] [pid 41246] [client 10.23.165.77:52512] End of script output before headers: rt-server.fcgi
RT since version 3.8 has new schema for MySQL versions after 4.1.0
Follow instructions in the UPGRADING.mysql file.
[Tue Dec 21 00:30:25.472311 2021] [fcgid:warn] [pid 39522] (104)Connection reset by peer: [client 10.23.165.77:52511] mod_fcgid: error reading data from FastCGI server, referer: http://rt.cos.is.keysight.com/index.html
[Tue Dec 21 00:30:25.472384 2021] [core:error] [pid 39522] [client 10.23.165.77:52511] End of script output before headers: rt-server.fcgi, referer: http://rt.cos.is.keysight.com/index.html