<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi All,<br>
<br>
Set it up as Piotr pointed out but now getting an Internal error:<br>
<br>
<div class="moz-text-plain" wrap="true" graphical-quote="true"
style="font-family: -moz-fixed; font-size: 12px;" lang="x-western">
<pre wrap="">
[Sun Feb 21 16:51:48.198523 2016] [mpm_prefork:notice] [pid 32464]
AH00163: Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips mod_fcgid/2.3.9
PHP/5.4.16 mod_perl/2.0.9dev Perl/v5.16.3 configured -- resuming normal
operations
Can't locate UNIVERSAL/require.pm in @INC (@INC contains:
<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
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) 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.
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.
Compilation failed in require at /opt/rt4/sbin/rt-server.fcgi line 86.
From browser:
500 Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator at <our email> 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.
</pre>
</div>
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
--with-web-handler=fcgid instead of --with-web-handler=fastcgi ?<br>
<br>
Thanks,<br>
Brad<br>
<br>
<div class="moz-cite-prefix">On 02/19/2016 01:47 PM, Brad wrote:<br>
</div>
<blockquote cite="mid:56C76341.30306@comcast.net" type="cite">Hi
Piotr,
<br>
<br>
Ahhh
<br>
<br>
did a yum search for fastcgi and thats what was available, didnt
even look that closely at the mod name.
<br>
<br>
Thanks,
<br>
Brad
<br>
<br>
On 02/19/2016 01:25 PM, Piotr Szymborski wrote:
<br>
<blockquote type="cite">Hi Brad,
<br>
<br>
for starters mod_fastcgi is not the same as mod_fcgid, you need
to configure it differently.
<br>
Look on
<a class="moz-txt-link-freetext" href="https://www.bestpractical.com/docs/rt/4.4/web_deployment.html#mod_fcgid">https://www.bestpractical.com/docs/rt/4.4/web_deployment.html#mod_fcgid</a>
vs
<a class="moz-txt-link-freetext" href="https://www.bestpractical.com/docs/rt/4.4/web_deployment.html#mod_fastcgi">https://www.bestpractical.com/docs/rt/4.4/web_deployment.html#mod_fastcgi</a><br>
Just ctrl+c,ctrl+v that code to your apache config, modify
directory to rt if it differs and it should work using
mod_fcgid.
<br>
<br>
Best regards,
<br>
Piotr Szymborski
<br>
<br>
On 2016-02-19 18:49, Brad wrote:
<br>
<blockquote type="cite">Hi Matt,
<br>
<br>
yum install mod_fcgid
<br>
Loaded plugins: fastestmirror, rhnplugin
<br>
This system is receiving updates from RHN Classic or Red Hat
Satellite.
<br>
Loading mirror speeds from cached hostfile
<br>
Package mod_fcgid-2.3.9-4.el7.x86_64 already installed and
latest version
<br>
Nothing to do
<br>
<br>
<br>
added to siteconf:
<br>
<br>
FastCgiServer /opt/rt4/sbin/rt-server.fcgi -processes 5
-idle-timeout 300
<br>
<br>
<br>
restarted httpd and it errors:
<br>
<br>
<br>
Invalid command 'FastCgiServer', perhaps misspelled or defined
by a
<br>
module not included in the server configuration
<br>
<br>
<br>
<br>
Now I dont see any reference for where yum puts this but a
locate pulls:
<br>
/usr/lib/tmpfiles.d/mod_fcgid.conf
<br>
/usr/lib64/httpd/modules/mod_fcgid.so
<br>
/usr/share/doc/mod_fcgid-2.3.9
<br>
/usr/share/doc/mod_fcgid-2.3.9/CHANGES-FCGID
<br>
/usr/share/doc/mod_fcgid-2.3.9/ChangeLog
<br>
/usr/share/doc/mod_fcgid-2.3.9/LICENSE-FCGID
<br>
/usr/share/doc/mod_fcgid-2.3.9/NOTICE-FCGID
<br>
/usr/share/doc/mod_fcgid-2.3.9/README-FCGID
<br>
/usr/share/doc/mod_fcgid-2.3.9/STATUS-FCGID
<br>
/usr/share/doc/mod_fcgid-2.3.9/fixconf.sed
<br>
/usr/share/doc/mod_fcgid-2.3.9/mod_fcgid.html.en
<br>
<br>
<br>
I do see some directions
fromwww.fastcgi.com/mod_fastcgi/INSTALL for a
<br>
binary build but nothing in reference to a package install but
this does
<br>
look correct, doesn't it?
<br>
<br>
/usr/lib64/httpd/modules/mod_fcgid.so
<br>
<br>
and the new httpd grabs these on start...?
<br>
<br>
<br>
<br>
Thanks,
<br>
Brad
<br>
<br>
<br>
<br>
On 02/19/2016 12:23 PM, Matt Zagrabelny wrote:
<br>
<blockquote type="cite">On Fri, Feb 19, 2016 at 11:18 AM, Brad
<a class="moz-txt-link-rfc2396E" href="mailto:bradzynda42@comcast.net"><bradzynda42@comcast.net></a> wrote:
<br>
<blockquote type="cite">Hi Matt,
<br>
<br>
I did follow a guide not sure if it was the most recent or
the one required
<br>
by RT though, used apache.org I think.
<br>
</blockquote>
<a class="moz-txt-link-freetext" href="https://www.bestpractical.com/docs/rt/4.4/web_deployment.html#mod_fastcgi">https://www.bestpractical.com/docs/rt/4.4/web_deployment.html#mod_fastcgi</a>
<br>
<br>
<blockquote type="cite">Here is the siteconf, the httpd.conf
and ssl.conf are base (not edited,
<br>
except for servername and cipher suite)
<br>
</blockquote>
The docs have a line like:
<br>
<br>
FastCgiServer /opt/rt4/sbin/rt-server.fcgi -processes 5
-idle-timeout 300
<br>
<br>
<blockquote type="cite"><VirtualHost
xxx.xxx.xxx.xxx:443>
<br>
ServerName <our FQDN>
<br>
<br>
LoadModule fcgid_module modules/mod_fcgid.so
<br>
<br>
SSLCertificateFile /etc/pki/tls/certs/ca.crt
<br>
SSLCertificateKeyFile /etc/pki/tls/private/ca.key
<br>
<br>
AddDefaultCharset UTF-8
<br>
<br>
ScriptAlias /rt /opt/rt4/sbin/rt-server.fcgi
<br>
</blockquote>
The docs have a trailing slash on rt-server.fcgi. Not sure
if that matters.
<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">http://bestpractical.com/services/training.html</a>)
<br>
* Hamburg Germany - March 14 & 15, 2016
<br>
* Washington DC - May 23 & 24, 2016
<br>
<br>
</blockquote>
<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">http://bestpractical.com/services/training.html</a>)
<br>
* Hamburg Germany - March 14 & 15, 2016
<br>
* Washington DC - May 23 & 24, 2016
<br>
<br>
</blockquote>
<br>
</body>
</html>