RT 3.0.6 on RedHat 9.0 RH9 installation steps

Hi All:

//Please Provide any corrections

//Comments

//Maybe The rt-test-dependencies script (or it subsequent scripts) should
verify for DB_File.

//rt-test-dependencies install needs to be run a second time to pick up
Log::Dispatch, must be missing dependencies

//Still getting the Assertion flags == 0 failed: file “Storable.xs”, line
2336… but seems to go way after a while… Is there a fix for this one?

//Any step inputs that ommited, ust the detaults

//Any step that includes a specific version number should probably be
changed to the most current version at the time of installation

Install RH9 (English, US English, Custom, Static IP, No Firewall,
ENglish(US), EST, Minimal)

cd /tmp/

wget
http://ftp.freshrpms.net/pub/freshrpms/redhat/9/apt/apt-0.5.5cnc6-fr1.i386.r
pm

rpm -U apt-0.5.5cnc6-fr1.i386.rpm

apt-get update

apt-get dist-upgrade

apt-get install gcc

apt-get install httpd

apt-get install mod_perl

apt-get install mysql

apt-get install mysql-server

apt-get install perl-CPAN

apt-get install db4-devel //db4-devel required for DB_File

apt-get install ncftp //for CPAN

apt-get install kernel#2.4.20-20.9

chkconfig --level 345 mysqld on

chkconfig --level 0126 mysqld off

chkconfig --level 345 httpd on

chkconfig --level 0126 httpd off

//Boot with new Kernel at boot or by changing /boot/grub/grub.conf

reboot

cd /tmp/

wget http://fsck.com/pub/rt/release/rt-3-0-6.tar.gz

tar -zxvf rt-3-0-6.tar.gz

cd rt-3-0-6

./configure --with-web-user=apache --with-web-group=apache //RedHat 9.0
Defaults

export LANG=C; export LC_ALL=C //To prevent some problems

perl -MCPAN -e shell //Initialize and Configure

//The script would need additional checking/installation of DB_File

//Do this in “perl -MCPAN -e shell”

install DB_File

exit

perl sbin/rt-test-dependencies --with-mysql --with-modperl2 --install

perl sbin/rt-test-dependencies --with-mysql --with-modperl2 --install //Run
a second time to pick up Log::Dispatch, must be missing dependencies

perl sbin/rt-test-dependencies --with-mysql --with-modperl2 //Verification

groupadd rt

make install

make initialize-database

//Add the following to httpd.conf

ServerName your.rt.server.hostname

DocumentRoot /opt/rt3/share/html

AddDefaultCharset UTF-8



# these four lines applies to Apache2+mod_perl2 only: {{{

PerlSetVar MasonArgsMethod CGI

PerlModule Apache2 Apache::compat

RewriteEngine On

RewriteRule ^(.*)/$ $1/index.html

# }}}



PerlModule Apache::DBI

PerlRequire /opt/rt3/bin/webmux.pl



<Location />

    SetHandler perl-script

    PerlHandler RT::Mason

</Location>

/etc/init.d/httpd restart

//Still have a storable issue.

error: Assertion flags == 0 failed: file “Storable.xs”, line 2336 at
…/…/lib/Storable.pm (autosplit into …/…/lib/auto/Storable/_freeze.al)
line 282.

//Please Provide any corrections

apt-get update

Thanks! I was hoping someone would post instructions
with exactly this approach.

apt-get install mysql-server

This should get you mysql-3.23. Shouldn’t you
apt-get remove mysql (assuming no other databases…)
then download the rpms from
http://www.mysql.com/downloads/mysql-4.0.html
and install instead? (currently 4.0.15a).

Les Mikesell
les@futuresource.com

//Still have a storable issue.

error: Assertion flags == 0 failed: file “Storable.xs”, line 2336 at
…/…/lib/Storable.pm (autosplit into …/…/lib/auto/Storable/_freeze.al)
line 282.

Make sure you’ve got Storable 2.08 after all of that.
Make sure that mod_perl >= 1.99_09, too.

Mick

Thanks Mick,

perl -MCPAN -e shell
install Storable

Corrects the following error:
error: Assertion flags == 0 failed: file “Storable.xs”, line 2336 at
…/…/lib/Storable.pm (autosplit into …/…/lib/auto/Storable/_freeze.al)
line 282

RealFrom: rt-users-admin@lists.fsck.com [mailto:rt-users-admin@lists.fsck.com]
On Behalf Of Mick Szucs
Sent: Tuesday, October 07, 2003 2:53 PM
To: Real Carbonneau; rt-users@lists.fsck.com
Subject: Re: [rt-users] RT 3.0.6 on RedHat 9.0 RH9 installation steps

//Still have a storable issue.

error: Assertion flags == 0 failed: file “Storable.xs”, line 2336 at
…/…/lib/Storable.pm (autosplit into …/…/lib/auto/Storable/_freeze.al)
line 282.

Make sure you’ve got Storable 2.08 after all of that.
Make sure that mod_perl >= 1.99_09, too.

Mick

rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

This is very helpful, thanks.

What changes to these steps would be needed if I am using FastCGI instead of
mod_perl and multiple virtual hosts? Does RT support multiple instances
(virtual hosts) on the same box under FastCGI or mod_perl?

Thanks,
Dan-----Original Message-----
From: rt-users-admin@lists.fsck.com [mailto:rt-users-admin@lists.fsck.com]
On Behalf Of Real Carbonneau
Sent: Tuesday, October 07, 2003 10:33 AM
To: rt-users@lists.fsck.com
Subject: [rt-users] RT 3.0.6 on RedHat 9.0 RH9 installation steps

Hi All:

//Please Provide any corrections

//Comments

//Maybe The rt-test-dependencies script (or it subsequent scripts) should
verify for DB_File.

//rt-test-dependencies install needs to be run a second time to pick up
Log::Dispatch, must be missing dependencies

//Still getting the Assertion flags == 0 failed: file “Storable.xs”, line
2336… but seems to go way after a while… Is there a fix for this one?

//Any step inputs that ommited, ust the detaults

//Any step that includes a specific version number should probably be
changed to the most current version at the time of installation

Install RH9 (English, US English, Custom, Static IP, No Firewall,
ENglish(US), EST, Minimal)

cd /tmp/

wget
http://ftp.freshrpms.net/pub/freshrpms/redhat/9/apt/apt-0.5.5cnc6-fr1.i386.r
pm

rpm -U apt-0.5.5cnc6-fr1.i386.rpm

apt-get update

apt-get dist-upgrade

apt-get install gcc

apt-get install httpd

apt-get install mod_perl

apt-get install mysql

apt-get install mysql-server

apt-get install perl-CPAN

apt-get install db4-devel //db4-devel required for DB_File

apt-get install ncftp //for CPAN

apt-get install kernel#2.4.20-20.9

chkconfig --level 345 mysqld on

chkconfig --level 0126 mysqld off

chkconfig --level 345 httpd on

chkconfig --level 0126 httpd off

//Boot with new Kernel at boot or by changing /boot/grub/grub.conf

reboot

cd /tmp/

wget http://fsck.com/pub/rt/release/rt-3-0-6.tar.gz

tar -zxvf rt-3-0-6.tar.gz

cd rt-3-0-6

./configure --with-web-user=apache --with-web-group=apache //RedHat 9.0
Defaults

export LANG=C; export LC_ALL=C //To prevent some problems

perl -MCPAN -e shell //Initialize and Configure

//The script would need additional checking/installation of DB_File

//Do this in “perl -MCPAN -e shell”

install DB_File

exit

perl sbin/rt-test-dependencies --with-mysql --with-modperl2 --install

perl sbin/rt-test-dependencies --with-mysql --with-modperl2 --install //Run
a second time to pick up Log::Dispatch, must be missing dependencies

perl sbin/rt-test-dependencies --with-mysql --with-modperl2 //Verification

groupadd rt

make install

make initialize-database

//Add the following to httpd.conf

ServerName your.rt.server.hostname

DocumentRoot /opt/rt3/share/html

AddDefaultCharset UTF-8



# these four lines applies to Apache2+mod_perl2 only: {{{

PerlSetVar MasonArgsMethod CGI

PerlModule Apache2 Apache::compat

RewriteEngine On

RewriteRule ^(.*)/$ $1/index.html

# }}}



PerlModule Apache::DBI

PerlRequire /opt/rt3/bin/webmux.pl



<Location />

    SetHandler perl-script

    PerlHandler RT::Mason

</Location>

/etc/init.d/httpd restart

//Still have a storable issue.

error: Assertion flags == 0 failed: file “Storable.xs”, line 2336 at
…/…/lib/Storable.pm (autosplit into …/…/lib/auto/Storable/_freeze.al)
line 282.

Has someone installed RT 3.x with FastCGI and Apache 1.3.x, MySQL 3.x and
Perl 5.8.0?

If so, could you please provide a sample httpd conf for this configuration?

Also, has anyone implemented multiple virtual hosts on the same server box
using RT and FastCGI?

Thanks in advance,

Dan

wdanielevans@cox.net wrote:

Has someone installed RT 3.x with FastCGI and Apache 1.3.x, MySQL 3.x
and Perl 5.8.0?

If so, could you please provide a sample httpd conf for this configuration?

Also, has anyone implemented multiple virtual hosts on the same server
box using RT and FastCGI?

========In httpd.conf ==============================
LoadModule fastcgi_module libexec/mod_fastcgi.so
[…]
AddModule mod_fastcgi.c
[…]
Include conf/fastcgi.conf

[…]

ServerAlias support.example.com
ServerAdmin webmaster@support.example.com
ServerName www.support.example.com
User support
Group support
DocumentRoot /usr/local/rt/share/html
AddDefaultCharset UTF-8
Include conf/support.conf

root@master [~]# cat /etc/httpd/conf/fastcgi.conf
AddHandler fastcgi-script fcgi
FastCgiServer /usr/local/rt3/bin/mason_handler.fcgi

root@master [~]# cat /etc/httpd/conf/support.conf
Alias /NoAuth/images/ /usr/local/rt3/share/html/NoAuth/images/
ScriptAlias / /usr/local/rt3/bin/mason_handler.fcgi/

  • Sandip

Sandip Bhattacharya http://www.sandipb.net
sandip at puroga.com
Puroga Technologies Pvt. Ltd.
http://www.puroga.com