<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Yanni,<br>
<br>
Yes it is still the same error as back in February that I posted to
the Best Pratical Bug and also brought up in this mail group.<br>
<br>
Here is what I was getting with specific errors in the require.pm
and RT.pm:<br>
<br>
Just an FYI that I have never gotten it to load past the 500
error... and the RT bug webpage seems to have been taken down...<br>
<br>
<br>
<div class="moz-text-flowed" style="font-family: -moz-fixed;
font-size: 12px;" lang="x-western">Hi Matt,
<br>
<br>
For configuring fcgid I do not see a configure web-handler choice
for fcgid in configure --help.
<br>
<br>
It has fastcgi (default) modperl1 modperl2 and standalone. What is
the correct configure to use with fcgid?
<br>
<br>
Currently I am using fastcgi which has produced the below errors.
<br>
<br>
Thanks,
<br>
Brad
<br>
<br>
On 02/21/2016 01:59 PM, Matt Zagrabelny wrote:
<br>
<blockquote type="cite" style="color: #000000;">On Sun, Feb 21,
2016 at 11:20 AM, Brad <a class="moz-txt-link-rfc2396E"
href="mailto:bradzynda42@comcast.net"><bradzynda42@comcast.net></a>
wrote:
<br>
<blockquote type="cite" style="color: #000000;">Hi All,
<br>
<br>
Set it up as Piotr pointed out but now getting an Internal
error:
<br>
<br>
[Sun Feb 21 16:51:48.198523 2016] [mpm_prefork:notice] [pid
32464]
<br>
AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips
mod_fcgid/2.3.9
<br>
PHP/5.4.16 mod_perl/2.0.9dev Perl/v5.16.3 configured --
resuming normal
<br>
operations
<br>
<br>
<br>
Can't locate UNIVERSAL/require.pm in @INC (@INC contains:
<br>
<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>opt/rt4/sbin<span
class="moz-txt-tag">/</span></i>..<i class="moz-txt-slash"><span
class="moz-txt-tag">/</span>local/lib /opt/rt4/sbin<span
class="moz-txt-tag">/</span></i>../lib
/usr/local/lib64/perl5
<br>
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
<br>
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5
.) at
<br>
<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>opt/rt4/sbin<span
class="moz-txt-tag">/</span></i>../lib/RT.pm line 60.
<br>
BEGIN failed--compilation aborted at <i class="moz-txt-slash"><span
class="moz-txt-tag">/</span>opt/rt4/sbin<span
class="moz-txt-tag">/</span></i>../lib/RT.pm line 60.
<br>
Compilation failed in require at /opt/rt4/sbin/rt-server.fcgi
line 86.
<br>
<br>
<br>
From browser:
<br>
500 Internal Server Error
<br>
<br>
The server encountered an internal error or misconfiguration
and was
<br>
unable to complete your request.
<br>
<br>
Please contact the server administrator at <our email>
to
<br>
inform them of the time this error occurred, and the actions
you
<br>
performed just before this error.
<br>
<br>
More information about this error may be available in the
server error log.
<br>
<br>
Then I see the at the bottom of the logs:
<br>
<br>
mod_fcgid: error reading data from FastCGI server
<br>
<br>
core:error End of script output before headers: rt-server.fcgi
<br>
<br>
<br>
At this point do I need to re-install with a different
configure
<br>
--with-web-handler=fcgid instead of --with-web-handler=fastcgi
?
<br>
</blockquote>
If you use with fcgid then use the right configs for that
handler. If
<br>
you use fastcgi, then use the right configs for that handler.
<br>
<br>
<a class="moz-txt-link-freetext"
href="https://www.bestpractical.com/docs/rt/4.4.0/web_deployment.html">https://www.bestpractical.com/docs/rt/4.4.0/web_deployment.html</a>
<br>
<br>
-m
<br>
<br>
</blockquote>
<br>
---------
<br>
RT 4.4 and RTIR Training Sessions (<a
class="moz-txt-link-freetext"
href="http://bestpractical.com/services/training.html"><a class="moz-txt-link-freetext" href="http://bestpractical.com/services/training.html">http://bestpractical.com/services/training.html</a></a>)
<br>
* Hamburg Germany - March 14 & 15, 2016
<br>
* Washington DC - May 23 & 24, 2016
<br>
<br>
</div>
<br>
<br>
<div class="moz-cite-prefix">On 05/09/2016 11:36 AM, Yanni wrote:<br>
</div>
<blockquote cite="mid:5730AE72.7060009@mail.cryst.bbk.ac.uk"
type="cite">Hello again
<br>
<br>
Still fighting with setting up RT4. I have now deleted the
previous RT installation and started again.
<br>
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.
<br>
<br>
1. Run ./configure with no parameters, so all defaults are set.
<br>
Output: <a class="moz-txt-link-freetext" href="http://pastebin.com/enH70WCS">http://pastebin.com/enH70WCS</a>
<br>
<br>
2. 'make testdeps' outputs: All dependencies have been found
<br>
<br>
3. 'make install' outputs: Congratulations. RT is now installed.
<br>
<br>
4. RT_SiteConfig.pm here: <a class="moz-txt-link-freetext" href="http://pastebin.com/NseuCusS">http://pastebin.com/NseuCusS</a>
<br>
<br>
5. Run 'make initialize-database' with error: ERROR: Can't create
database 'rt4db'; database exists
<br>
<br>
6. I went with mod_fcgid and added 'FcgidMaxRequestLen 1073741824'
to: /usr/lib/tmpfiles.d/mod_fcgid.conf
<br>
<br>
7. Added these lines in my httpd.conf. (Apache version: 2.4.6)
<br>
<br>
Listen 8000
<br>
<br>
<VirtualHost *:8000>
<br>
### Optional apache logs for RT
<br>
# Ensure that your log rotation scripts know about these
files
<br>
# ErrorLog /opt/rt4/var/log/apache2.error
<br>
# TransferLog /opt/rt4/var/log/apache2.access
<br>
# LogLevel debug
<br>
<br>
AddDefaultCharset UTF-8
<br>
<br>
ScriptAlias / /opt/rt4/sbin/rt-server.fcgi/
<br>
<br>
DocumentRoot "/opt/rt4/share/html"
<br>
<Location />
<br>
<br>
Require all granted
<br>
<br>
Options +ExecCGI
<br>
AddHandler fcgid-script fcgi
<br>
</Location>
<br>
</VirtualHost>
<br>
<br>
8. Visited <a class="moz-txt-link-freetext" href="http://jimmy.ad.biosci.ac.uk:8000">http://jimmy.ad.biosci.ac.uk:8000</a> but I get: 500
Internal Server Error
<br>
<br>
9. Apache Error_log file says:
<br>
<br>
RT couldn't load RT config file /opt/rt4/etc/RT_Config.pm as:
<br>
user: apache
<br>
group: apache
<br>
The file is owned by user root and group rt.
<br>
<br>
10. chown apache:apache RT_Config.pm
<br>
chown apache:apache RT_SiteConfig.pm
<br>
<br>
11. Visited <a class="moz-txt-link-freetext" href="http://jimmy.ad.biosci.ac.uk:8000">http://jimmy.ad.biosci.ac.uk:8000</a> but I get: 500
Internal Server Error
<br>
<br>
12. Apache Error_log file says: <a class="moz-txt-link-freetext" href="http://pastebin.com/9xUwHNDZ">http://pastebin.com/9xUwHNDZ</a>
<br>
<br>
13. SELINUX and firewall are disabled
<br>
<br>
<br>
Any help/suggestions please let me know.
<br>
Many thanks
<br>
<br>
<br>
<br>
---------
<br>
RT 4.4 and RTIR Training Sessions
<a class="moz-txt-link-freetext" href="https://bestpractical.com/training">https://bestpractical.com/training</a>
<br>
* Washington DC - May 23 & 24, 2016
<br>
<br>
</blockquote>
<br>
</body>
</html>