[rt-users] RT4 Install on Centos7+Internal Server Error

Yanni y.goudetsidis at mail.cryst.bbk.ac.uk
Tue May 10 05:04:32 EDT 2016


Yes I've got 'mod_fcgid-2.3.9-4.el7.x86_64' installed.

I had added 'LoadModule fcgid_module modules/mod_fcgid.so' in 
'httpd.conf', restarted service and checked apache config with 
'apachectl configtest'. The output was:

  [so:warn] [pid 27506] AH01574: module fcgid_module is already loaded, 
skipping
Syntax OK

It looks like the module is already loaded and there is no need to add 
anything in httpd.conf. I then found out that is inside: conf.modules.d

Thanks for the link, I had followed this steps in this blog in the past 
with success. However that was Centos6. Centos7 is giving me problems.


On 09/05/16 17:09, Duncan Morgan wrote:
> Do you have mod_fcgid installed and is the module loading?
> For the database issue you can drop the database from MySQL and start 
> again.
> I found this guide quite good
> http://binarynature.blogspot.ca/2013/05/install-request-tracker-4.html
> *Sent:* Monday, May 09, 2016 at 8:36 AM
> *From:* Yanni <y.goudetsidis at mail.cryst.bbk.ac.uk>
> *To:* "rt-users at lists.bestpractical.com" 
> <rt-users at lists.bestpractical.com>
> *Subject:* [rt-users] RT4 Install on Centos7+Internal Server Error
> 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.
>
> 1. Run ./configure with no parameters, so all defaults are set.
> Output: http://pastebin.com/enH70WCS
>
> 2. 'make testdeps' outputs: All dependencies have been found
>
> 3. 'make install' outputs: Congratulations. RT is now installed.
>
> 4. RT_SiteConfig.pm here: http://pastebin.com/NseuCusS
>
> 5. Run 'make initialize-database' with error: ERROR: Can't create
> database 'rt4db'; database exists
>
> 6. I went with mod_fcgid and added 'FcgidMaxRequestLen 1073741824' to:
> /usr/lib/tmpfiles.d/mod_fcgid.conf
>
> 7. 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 debug
>
> AddDefaultCharset 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>
> </VirtualHost>
>
> 8. Visited http://jimmy.ad.biosci.ac.uk:8000 but I get: 500 Internal
> Server Error
>
> 9. 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.
>
> 10. chown apache:apache RT_Config.pm
> chown apache:apache RT_SiteConfig.pm
>
> 11. Visited http://jimmy.ad.biosci.ac.uk:8000 but I get: 500 Internal
> Server Error
>
> 12. Apache Error_log file says: http://pastebin.com/9xUwHNDZ
>
> 13. SELINUX and firewall are disabled
>
>
> Any help/suggestions please let me know.
> Many thanks
>
>
>
> ---------
> RT 4.4 and RTIR Training Sessions https://bestpractical.com/training
> * Washington DC - May 23 & 24, 2016

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20160510/f05d8491/attachment.html>


More information about the rt-users mailing list