tested stand alone server with no errors on 8080, see login, logged in and
everything is there and running (dashboard, queues, etc.)
stopped stand alone and started apache and see the
/opt/rt4/sbin/rt-server.fcgi file in the browser. (literally the text of the
file)
Did you follow the install guide for configuring Apache for FastCGI?
What does your Apache configs look like?
Tried changing the scriptalias path to /opt/rt4/sbin/rt-server but that just
gave a 500 error.
What is in your Apache errors log?
yum install mod_fcgid
Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Loading mirror speeds from cached hostfile
Package mod_fcgid-2.3.9-4.el7.x86_64 already installed and latest version
Nothing to do
Invalid command ‘FastCgiServer’, perhaps misspelled or defined by a
module not included in the server configuration
Now I dont see any reference for where yum puts this but a locate pulls:
/usr/lib/tmpfiles.d/mod_fcgid.conf
/usr/lib64/httpd/modules/mod_fcgid.so
/usr/share/doc/mod_fcgid-2.3.9
/usr/share/doc/mod_fcgid-2.3.9/CHANGES-FCGID
/usr/share/doc/mod_fcgid-2.3.9/ChangeLog
/usr/share/doc/mod_fcgid-2.3.9/LICENSE-FCGID
/usr/share/doc/mod_fcgid-2.3.9/NOTICE-FCGID
/usr/share/doc/mod_fcgid-2.3.9/README-FCGID
/usr/share/doc/mod_fcgid-2.3.9/STATUS-FCGID
/usr/share/doc/mod_fcgid-2.3.9/fixconf.sed
/usr/share/doc/mod_fcgid-2.3.9/mod_fcgid.html.en
I do see some directions fromwww.fastcgi.com/mod_fastcgi/INSTALL for a
binary build but nothing in reference to a package install but this does
look correct, doesn’t it?
/usr/lib64/httpd/modules/mod_fcgid.so
and the new httpd grabs these on start…?
Thanks,
BradOn 02/19/2016 12:23 PM, Matt Zagrabelny wrote:
Best regards,
Piotr SzymborskiOn 2016-02-19 18:49, Brad wrote:
Hi Matt,
yum install mod_fcgid
Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Loading mirror speeds from cached hostfile
Package mod_fcgid-2.3.9-4.el7.x86_64 already installed and latest version
Nothing to do
Invalid command ‘FastCgiServer’, perhaps misspelled or defined by a
module not included in the server configuration
Now I dont see any reference for where yum puts this but a locate pulls:
/usr/lib/tmpfiles.d/mod_fcgid.conf
/usr/lib64/httpd/modules/mod_fcgid.so
/usr/share/doc/mod_fcgid-2.3.9
/usr/share/doc/mod_fcgid-2.3.9/CHANGES-FCGID
/usr/share/doc/mod_fcgid-2.3.9/ChangeLog
/usr/share/doc/mod_fcgid-2.3.9/LICENSE-FCGID
/usr/share/doc/mod_fcgid-2.3.9/NOTICE-FCGID
/usr/share/doc/mod_fcgid-2.3.9/README-FCGID
/usr/share/doc/mod_fcgid-2.3.9/STATUS-FCGID
/usr/share/doc/mod_fcgid-2.3.9/fixconf.sed
/usr/share/doc/mod_fcgid-2.3.9/mod_fcgid.html.en
I do see some directions fromwww.fastcgi.com/mod_fastcgi/INSTALL for a
binary build but nothing in reference to a package install but this does
look correct, doesn’t it?
yum install mod_fcgid
Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Loading mirror speeds from cached hostfile
Package mod_fcgid-2.3.9-4.el7.x86_64 already installed and latest
version
Nothing to do
Invalid command ‘FastCgiServer’, perhaps misspelled or defined by a
module not included in the server configuration
Now I dont see any reference for where yum puts this but a locate pulls:
/usr/lib/tmpfiles.d/mod_fcgid.conf
/usr/lib64/httpd/modules/mod_fcgid.so
/usr/share/doc/mod_fcgid-2.3.9
/usr/share/doc/mod_fcgid-2.3.9/CHANGES-FCGID
/usr/share/doc/mod_fcgid-2.3.9/ChangeLog
/usr/share/doc/mod_fcgid-2.3.9/LICENSE-FCGID
/usr/share/doc/mod_fcgid-2.3.9/NOTICE-FCGID
/usr/share/doc/mod_fcgid-2.3.9/README-FCGID
/usr/share/doc/mod_fcgid-2.3.9/STATUS-FCGID
/usr/share/doc/mod_fcgid-2.3.9/fixconf.sed
/usr/share/doc/mod_fcgid-2.3.9/mod_fcgid.html.en
I do see some directions fromwww.fastcgi.com/mod_fastcgi/INSTALL for a
binary build but nothing in reference to a package install but this does
look correct, doesn’t it?
Can’t locate UNIVERSAL/require.pm in @INC (@INC contains:
/opt/rt4/sbin/…/local/lib /opt/rt4/sbin/…/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
/opt/rt4/sbin/…/lib/RT.pm line 60.
BEGIN failed–compilation aborted at/opt/rt4/sbin/…/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 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.
Then I see the at the bottom of the logs:
mod_fcgid: error reading data from FastCGI server
core:error End of script output before headers: rt-server.fcgi
At this point do I need to re-install with a different configure
–with-web-handler=fcgid instead of --with-web-handler=fastcgi ?
Thanks,
BradOn 02/19/2016 01:47 PM, Brad wrote:
Hi Piotr,
Ahhh
did a yum search for fastcgi and thats what was available, didnt even
look that closely at the mod name.
yum install mod_fcgid
Loaded plugins: fastestmirror, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Loading mirror speeds from cached hostfile
Package mod_fcgid-2.3.9-4.el7.x86_64 already installed and latest
version
Nothing to do
Invalid command ‘FastCgiServer’, perhaps misspelled or defined by a
module not included in the server configuration
Now I dont see any reference for where yum puts this but a locate
pulls:
/usr/lib/tmpfiles.d/mod_fcgid.conf
/usr/lib64/httpd/modules/mod_fcgid.so
/usr/share/doc/mod_fcgid-2.3.9
/usr/share/doc/mod_fcgid-2.3.9/CHANGES-FCGID
/usr/share/doc/mod_fcgid-2.3.9/ChangeLog
/usr/share/doc/mod_fcgid-2.3.9/LICENSE-FCGID
/usr/share/doc/mod_fcgid-2.3.9/NOTICE-FCGID
/usr/share/doc/mod_fcgid-2.3.9/README-FCGID
/usr/share/doc/mod_fcgid-2.3.9/STATUS-FCGID
/usr/share/doc/mod_fcgid-2.3.9/fixconf.sed
/usr/share/doc/mod_fcgid-2.3.9/mod_fcgid.html.en
I do see some directions fromwww.fastcgi.com/mod_fastcgi/INSTALL for a
binary build but nothing in reference to a package install but this
does
look correct, doesn’t it?
Can’t locate UNIVERSAL/require.pm in @INC (@INC contains:
/opt/rt4/sbin/…/local/lib /opt/rt4/sbin/…/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
/opt/rt4/sbin/…/lib/RT.pm line 60.
BEGIN failed–compilation aborted at /opt/rt4/sbin/…/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 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.
Then I see the at the bottom of the logs:
mod_fcgid: error reading data from FastCGI server
core:error End of script output before headers: rt-server.fcgi
At this point do I need to re-install with a different configure
–with-web-handler=fcgid instead of --with-web-handler=fastcgi ?
If you use with fcgid then use the right configs for that handler. If
you use fastcgi, then use the right configs for that handler.
Can’t locate UNIVERSAL/require.pm in @INC (@INC contains:
/opt/rt4/sbin/…/local/lib /opt/rt4/sbin/…/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
/opt/rt4/sbin/…/lib/RT.pm line 60.
BEGIN failed–compilation aborted at /opt/rt4/sbin/…/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 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.
Then I see the at the bottom of the logs:
mod_fcgid: error reading data from FastCGI server
core:error End of script output before headers: rt-server.fcgi
At this point do I need to re-install with a different configure
–with-web-handler=fcgid instead of --with-web-handler=fastcgi ?
If you use with fcgid then use the right configs for that handler. If
you use fastcgi, then use the right configs for that handler.