Hello again
Still fighting with setting up RT4. I have now deleted the previous RT
installation and started again.
I have put all command outputs in pastebin.com so that my email is small
as much as possible and hopefully easy to read. When you can please see
below the steps I have taken.
-
Run ./configure with no parameters, so all defaults are set.
Output: ./configure Output - Pastebin.com -
‘make testdeps’ outputs: All dependencies have been found
-
‘make install’ outputs: Congratulations. RT is now installed.
-
RT_SiteConfig.pm here: http://pastebin.com/NseuCusS
-
Run ‘make initialize-database’ with error: ERROR: Can’t create
database ‘rt4db’; database exists -
I went with mod_fcgid and added ‘FcgidMaxRequestLen 1073741824’ to:
/usr/lib/tmpfiles.d/mod_fcgid.conf -
Added these lines in my httpd.conf. (Apache version: 2.4.6)
Listen 8000
<VirtualHost *:8000>
### Optional apache logs for RT
# Ensure that your log rotation scripts know about these files
# ErrorLog /opt/rt4/var/log/apache2.error
# TransferLog /opt/rt4/var/log/apache2.access
# LogLevel debugAddDefaultCharset UTF-8 ScriptAlias / /opt/rt4/sbin/rt-server.fcgi/ DocumentRoot "/opt/rt4/share/html" <Location /> Require all granted Options +ExecCGI AddHandler fcgid-script fcgi </Location>
-
Visited http://jimmy.ad.biosci.ac.uk:8000 but I get: 500 Internal
Server Error -
Apache Error_log file says:
RT couldn’t load RT config file /opt/rt4/etc/RT_Config.pm as:
user: apache
group: apache
The file is owned by user root and group rt. -
chown apache:apache RT_Config.pm
chown apache:apache RT_SiteConfig.pm -
Visited http://jimmy.ad.biosci.ac.uk:8000 but I get: 500 Internal
Server Error -
Apache Error_log file says: http://pastebin.com/9xUwHNDZ
-
SELINUX and firewall are disabled
Any help/suggestions please let me know.
Many thanks