Almost a HOWTO: RHASv3 and RT3.0.8

These isn’t meant to be a thorough HOWTO, I just wanted to give you
enough info to hang yourself next to me :slight_smile:

RedHat Advanced Server v3 (apache 2.0.46, perl 5.8.0)
RT 3.0.8
FastCGI 2.4.2
MySQL 4.0.17

MySQL:
I upgraded to MySQL v4. RedHat Advanced Server v3 comes with version 3,
so get version 4 rpms from mysql.com. If this is a new install, make
sure you configure and secure this first.

FastCGI:
fastcgi requires some apache include files that are not installed with
RPMS to build. Grabbed httpd.SRPM and did ‘rpmbuild -bp httpd.spec’.
Copied mpm_common.h from there and put in /usr/include/httpd. Linked
ap_mpm.h to mpm.h. **

Then just follow the build instructions.

suid-perl:
RHASv3 doesn’t ship with suid-perl. so grab the SRPM, build with
‘rpmbuild -bb SPEC’ and install suid-perl. **

Configure RT:
Work in the insane world of CPAN for a few hours to get all
modules installed.
./configure -with-web-user=apache --with-web-group=apache
make
make install
make initialize-database
configured RT_SiteConfig.pm

rt2-to-rt3 migration of data:
modified 2 lines in rt-2.0-to-dumpfile, two path changes.
mkdir somedir
./rt-2.0-to-dumpfile somedir
modified 1 line in dumpfile-to-rt-3.0, one path change.
added RT::Scrip to same file.
./dumpfile-to-rt-3.0 somedir

created /etc/httpd/conf.d/fastcgi.conf
modified /etc/postfix/aliases
restarted httpd

Installed RTFM and Statistics.

Done.

I do have a couple quirks I need to iron out when I get time:
/var/run/fastcgi is 777.
fastcgi seems to run as uid -1 initially.
RT doesnt seem to be logging.
RT e.g. cant do upper right box search on a ticket ##. It
crashes fastcgi.

-jeff

** these have been reported to RH bugzilla.

At 02:03 PM 1/14/2004, Jeff Minelli wrote:

FastCGI:
fastcgi requires some apache include files that are not installed with
RPMS to build. Grabbed httpd.SRPM and did ‘rpmbuild -bp httpd.spec’.
Copied mpm_common.h from there and put in /usr/include/httpd. Linked
ap_mpm.h to mpm.h. **

This problem has been fixed in Fedora in httpd-2.0.48-1.2. It’s Redhat bug
#108080. They were nuking a bunch of devel files they didn’t think anyone
actually needed. Little did they know… :slight_smile:

Michael

Michael S. Liebman m-liebman@northwestern.edu
http://msl521.freeshell.org/
“I have vision and the rest of the world wears bifocals.”
-Paul Newman in “Butch Cassidy & the Sundance Kid”