Has anyone gotten RT working under FC as installed from yum?

A while ago, I wasted a huge amount of time trying to get RT working
from source. I got an endless string of unresolved, and unresolvable,
dependencies, and I have no wish to revisit that hell.

Since RT is available from the Fedora Core Extras, I have to assume that
means that it can be made to work with items installed from RPMs via
yum. The InstallGuides on the wiki just aren’t close to being
complete, and I’m trying to get a working install and document the
process so that the next poor bastard who just wants a working RT
install doesn’t need to get an advanced degree in atomic rocket surgery
to do it :slight_smile:

If anyone has gotten RT working with fedora Core via the RPMs, I could
really, really use some help.

John Oliver wrote:

A while ago, I wasted a huge amount of time trying to get RT working
from source. I got an endless string of unresolved, and unresolvable,
dependencies, and I have no wish to revisit that hell.

Since RT is available from the Fedora Core Extras, I have to assume that
means that it can be made to work with items installed from RPMs via
yum. The InstallGuides on the wiki just aren’t close to being
complete, and I’m trying to get a working install and document the
process so that the next poor bastard who just wants a working RT
install doesn’t need to get an advanced degree in atomic rocket surgery
to do it :slight_smile:

If anyone has gotten RT working with fedora Core via the RPMs, I could
really, really use some help.

Have you tried to install the source package yet? It might be easier.

Mathew
Keep up with my goings on at http://theillien.blogspot.com

We have a couple of RT installs from RPM, 3.6.3 (upgrading tonight to
3.6.4) under FC6, and a 3.4.5 under CentOS 5. I don’t recall doing
anything particular that needed to be done in either case, save for a
modification in the 3.6.x code that I’ve posted on this list a few
times, but I think that might have more to do with my particular Apache
setup than anything else*.

What type of difficulty are you experiencing? Could you break what
isn’t working down into some categories such as Apache, database, perl,
and configuration?

.r’

  • didn’t need this tweak when I installed from source on CentOS 5, so
    not really sure what that’s all about…

John Oliver wrote:

John Oliver wrote:

A while ago, I wasted a huge amount of time trying to get RT working
from source. I got an endless string of unresolved, and unresolvable,
dependencies, and I have no wish to revisit that hell.

Since RT is available from the Fedora Core Extras, I have to assume that
means that it can be made to work with items installed from RPMs via
yum. The InstallGuides on the wiki just aren’t close to being
complete, and I’m trying to get a working install and document the
process so that the next poor bastard who just wants a working RT
install doesn’t need to get an advanced degree in atomic rocket surgery
to do it :slight_smile:

If anyone has gotten RT working with fedora Core via the RPMs, I could
really, really use some help.

Have you tried to install the source package yet? It might be easier.

Yes, I have, and no, it isn’t :slight_smile:

We have a couple of RT installs from RPM, 3.6.3 (upgrading tonight to
3.6.4) under FC6, and a 3.4.5 under CentOS 5. I don’t recall doing
anything particular that needed to be done in either case, save for a
modification in the 3.6.x code that I’ve posted on this list a few
times, but I think that might have more to do with my particular Apache
setup than anything else*.

What type of difficulty are you experiencing? Could you break what
isn’t working down into some categories such as Apache, database, perl,
and configuration?

I started by following the InstallGuide at
FedoraCore5InstallGuide - Request Tracker Wiki I did ‘yum
install rt3’ and that was successful. I then symlinked /var/www/html to
the RT3 html folder. When I access that web server, I get:

You’re almost there!
You haven’t yet configured your webserver to run RT. You appear to have
installed RT’s web interface correctly, but haven’t yet configured your
web server to “run” the RT server which powers the web interface. The
next step is to edit your webserver’s configuration file to instruct it
to use RT’s mod_perl, FastCGI or SpeedyCGI handler. If you need
commercial support, please contact us at sales@bestpractical.com.

I’m trying to find out just how I make Apache use FastCGI or something
similar. The page
FastCGIConfiguration - Request Tracker Wiki doesn’t help…
the section that seems to address httpd 2.X gets me an Apache that fails
to start, but doesn’t log anything to /var/log/httpd/error_log Same
with the one suggestion I’ve received from the list so far… I was
given:

LoadModule mod_fcgid.so

Use FastCGI to process .fcg .fcgi & .fpl scripts

Don’t do this if mod_fastcgi is present, as it will try to do the same

thing
<IfModule !mod_fastcgi.c>
AddHandler fcgid-script fcg fcgi fpl

Sane place to put sockets and shared memory file

SocketPath run/mod_fcgid
SharememPath run/fcgid_shm

Main instance

Alias /rt/NoAuth/images/ /usr/share/rt3/html/NoAuth/images/
ScriptAlias /rt /opt/rt3/bin/mason_handler.fcgi/

But the LoadModule line (yes, after mod_fcgid is installed from yum)
causes Apache to fail to start with no logged message.

I don’t see any way that you could have done ‘yum install rt3’, accessed
the web server, and had a working install ready to go. I’m trying to
find out what steps are required to make this go so I can document them
in the wiki pages.

Thanks!

One problem is that you did not provide Apache with the name of the module
and then the path to the module. You need:

LoadModule fcgid_module modules/mod_fcgid.so

not just LoadModule fcgid_module…

Secondly, look at the paths in your config below:

Alias /rt/NoAuth/images/ /usr/share/rt3/html/NoAuth/images/
ScriptAlias /rt /opt/rt3/bin/mason_handler.fcgi/

If yum installed RT3 in /usr/share/rt3, you need to change the path in the
‘ScriptAlias’ part of the Apache config. Unless you have created a link
that points /opt/rt3 → /usr/share/rt3.

James Moseley

         John Oliver                                                   
         <joliver@john-oli                                             
         ver.net>                                                   To 
         Sent by:                  Robert Long <rlong@bluegecko.net>   
         rt-users-bounces@                                          cc 
         lists.bestpractic         rt-users@lists.bestpractical.com    
         al.com                                                Subject 
                                   Re: [rt-users] Has anyone gotten RT 
                                   working under FC as installed       
         07/18/2007 01:02          from  yum?                          
         PMOn Tue, Jul 17, 2007 at 08:09:55PM -0700, Robert Long wrote:

We have a couple of RT installs from RPM, 3.6.3 (upgrading tonight to
3.6.4) under FC6, and a 3.4.5 under CentOS 5. I don’t recall doing
anything particular that needed to be done in either case, save for a
modification in the 3.6.x code that I’ve posted on this list a few
times, but I think that might have more to do with my particular Apache
setup than anything else*.

What type of difficulty are you experiencing? Could you break what
isn’t working down into some categories such as Apache, database, perl,
and configuration?

I started by following the InstallGuide at
FedoraCore5InstallGuide - Request Tracker Wiki I did ‘yum
install rt3’ and that was successful. I then symlinked /var/www/html to
the RT3 html folder. When I access that web server, I get:

You’re almost there!
You haven’t yet configured your webserver to run RT. You appear to have
installed RT’s web interface correctly, but haven’t yet configured your
web server to “run” the RT server which powers the web interface. The
next step is to edit your webserver’s configuration file to instruct it
to use RT’s mod_perl, FastCGI or SpeedyCGI handler. If you need
commercial support, please contact us at sales@bestpractical.com.

I’m trying to find out just how I make Apache use FastCGI or something
similar. The page
FastCGIConfiguration - Request Tracker Wiki doesn’t help…
the section that seems to address httpd 2.X gets me an Apache that fails
to start, but doesn’t log anything to /var/log/httpd/error_log Same
with the one suggestion I’ve received from the list so far… I was
given:

LoadModule mod_fcgid.so

Use FastCGI to process .fcg .fcgi & .fpl scripts

Don’t do this if mod_fastcgi is present, as it will try to do the same

thing
<IfModule !mod_fastcgi.c>
AddHandler fcgid-script fcg fcgi fpl

Sane place to put sockets and shared memory file

SocketPath run/mod_fcgid
SharememPath run/fcgid_shm

Main instance

Alias /rt/NoAuth/images/ /usr/share/rt3/html/NoAuth/images/
ScriptAlias /rt /opt/rt3/bin/mason_handler.fcgi/

But the LoadModule line (yes, after mod_fcgid is installed from yum)
causes Apache to fail to start with no logged message.

I don’t see any way that you could have done ‘yum install rt3’, accessed
the web server, and had a working install ready to go. I’m trying to
find out what steps are required to make this go so I can document them
in the wiki pages.

Thanks!

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

One problem is that you did not provide Apache with the name of the module
and then the path to the module. You need:

LoadModule fcgid_module modules/mod_fcgid.so

not just LoadModule fcgid_module…

Ahh thanks, that is helping me to proceed.

Isn’t fcgid supposed to be instead of FastCGI? I’m getting:

Can’t locate FCGI.pm in @INC (@INC contains: /usr/local/lib/rt3/lib
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at
/usr/lib/perl5/5.8.8/CGI/Fast.pm line 22.
BEGIN failed–compilation aborted at /usr/lib/perl5/5.8.8/CGI/Fast.pm
line 22.
Compilation failed in require at /usr/sbin/mason_handler.fcgi line 55.
[Wed Jul 18 11:28:08 2007] [warn] (104)Connection reset by peer:
mod_fcgid: read data from fastcgi server error.
[Wed Jul 18 11:28:08 2007] [error] [client 192.168.2.231] Premature end
of script headers: mason_handler.fcgi
[Wed Jul 18 11:28:10 2007] [notice] mod_fcgid: process
/usr/sbin/mason_handler.fcgi(14882) exit(communication error),
terminated by calling exit(), return code: 2

And FCGI.pm seems to be part of FastCGI. Do I still need to install
FastCGI?

One problem is that you did not provide Apache with the name of
the module
and then the path to the module. You need:

LoadModule fcgid_module modules/mod_fcgid.so

not just LoadModule fcgid_module…

Ahh thanks, that is helping me to proceed.

Isn’t fcgid supposed to be instead of FastCGI? I’m getting:

Can’t locate FCGI.pm in @INC (@INC contains: /usr/local/lib/rt3/lib

That’s a missing perl module that ‘make testdeps’ should have told
you about.

perl -MCPAN -e’install FCGI’

should fix it right up

PGP.sig (186 Bytes)

As stated by several different folks, FCGID is a completely different
alternativie to Apache’s mod_fastcgi. You use one or the other.

No, fcgi.pm is not part of mod_fastcgi, etc. It’s one of many perl modules
that are required by RT. From the error, it looks like this particular
perl module is not installed, or otherwise can’t be found.

You really need to download the RT source and do a ‘make testdeps’ to see
if you have all the required perl modules installed.

James Moseley

         John Oliver                                                   
         <joliver@john-oli                                             
         ver.net>                                                   To 
         Sent by:                  rt-users@lists.bestpractical.com    
         rt-users-bounces@                                          cc 
         lists.bestpractic                                             
         al.com                                                Subject 
                                   Re: [rt-users] Has anyone gotten RT 
                                   working under FC as     installed   
         07/18/2007 01:42          from  yum?                          
         PM                                                            

One problem is that you did not provide Apache with the name of the
module
and then the path to the module. You need:

LoadModule fcgid_module modules/mod_fcgid.so

not just LoadModule fcgid_module…

Ahh thanks, that is helping me to proceed.

Isn’t fcgid supposed to be instead of FastCGI? I’m getting:

Can’t locate FCGI.pm in @INC (@INC contains: /usr/local/lib/rt3/lib
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6
/usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at
/usr/lib/perl5/5.8.8/CGI/Fast.pm line 22.
BEGIN failed–compilation aborted at /usr/lib/perl5/5.8.8/CGI/Fast.pm
line 22.
Compilation failed in require at /usr/sbin/mason_handler.fcgi line 55.
[Wed Jul 18 11:28:08 2007] [warn] (104)Connection reset by peer:
mod_fcgid: read data from fastcgi server error.
[Wed Jul 18 11:28:08 2007] [error] [client 192.168.2.231] Premature end
of script headers: mason_handler.fcgi
[Wed Jul 18 11:28:10 2007] [notice] mod_fcgid: process
/usr/sbin/mason_handler.fcgi(14882) exit(communication error),
terminated by calling exit(), return code: 2

And FCGI.pm seems to be part of FastCGI. Do I still need to install
FastCGI?

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

jmoseley@corp.xanadoo.com wrote:

As stated by several different folks, FCGID is a completely different
alternativie to Apache’s mod_fastcgi. You use one or the other.

No, fcgi.pm is not part of mod_fastcgi, etc. It’s one of many perl modules
that are required by RT. From the error, it looks like this particular
perl module is not installed, or otherwise can’t be found.

You really need to download the RT source and do a ‘make testdeps’ to see
if you have all the required perl modules installed.

But the point of having things in a yum repository is supposed to be
that someone has already packaged all the parts you need for the Linux
distribution in question and configured them as rpm dependencies. If
this has been done, yum should automatically install everything. I
haven’t looked at the fedora package, though. Maybe it wants to use
mod_perl.

Les Mikesell
lesmikesell@gmail.com

Les Mikesell wrote:

jmoseley@corp.xanadoo.com wrote:

As stated by several different folks, FCGID is a completely different
alternativie to Apache’s mod_fastcgi. You use one or the other.

No, fcgi.pm is not part of mod_fastcgi, etc. It’s one of many perl
modules
that are required by RT. From the error, it looks like this particular
perl module is not installed, or otherwise can’t be found.

You really need to download the RT source and do a ‘make testdeps’
to see
if you have all the required perl modules installed.

But the point of having things in a yum repository is supposed to be
that someone has already packaged all the parts you need for the Linux
distribution in question and configured them as rpm dependencies. If
this has been done, yum should automatically install everything. I
haven’t looked at the fedora package, though. Maybe it wants to use
mod_perl.

We use mod_perl over here, and I suspect that’s what made the RPM
install easy on FC6. Looking at the SPEC file I see:

Requires: perl(mod_perl2)

I’d say if you’re going to use RT out of the yum repository you should
probably use it with the mod_perl if you want it all to ‘just work’.

Though I’m not sure that RT is being maintained in the Extras category,
its been a few weeks since 3.6.4 and no update for FC6. I just rolled
my own packages…

.r’