Hello, I have been struggling with attempts to install RT3.8 via RPMs.
I know it is perfectly possible to install RT3.8 using the BP install
scripts and docs, but I’d prefer to do it through yum for system
sustainability, ease of updates and upgrades, etc.
These instructions show how to set up a local repo and install RT from a
bundle, but for version 3.6.
*Installing RT 3.6.6 on Redhat Enterprise 5.x (using yum to install
from a bundle)*
http://wiki.bestpractical.com/view/Rhel5InstallGuide
(keep this link, because it is hard to find and all of the sometimes
contradictory RT docs look the same)
However there is a similar bundle for 3.8.7, so maybe that would work.
According to the install doc, we install a host of services first:
[root@testbench1]# yum -y update
[root@testbench1]# yum -y install httpd
[root@testbench1]# yum -y install mysql mysql-server sendmail-cf
Start these services:
[root@testbench1]# service mysqld start
Starting MySQL: [ OK ]
[root@testbench1]# service httpd start
Starting httpd: [ OK ]
[root@testbench1]# chkconfig httpd on
[root@testbench1]# chkconfig mysqld on
The docs call for downloading this bundle:
http://www.jwhite3.com/files/rt/rt-3.6.6-bundle.tar.gz
but we are going to be downloading the 3.8.7 bundle
[root@testbench1]# cd
[root@testbench1]# pwd
/root
[root@testbench1]# mkdir rt3
[root@testbench1]# cd rt3
[root@testbench1]# wget http://www.jwhite3.com/files/rt/rt_3.8.7_bundle.zip
–2010-10-29 16:18:39-- http://www.jwhite3.com/files/rt/rt_3.8.7_bundle.zip
Resolving www.jwhite3.com http://www.jwhite3.com… 97.74.144.177
Connecting to www.jwhite3.com|97.74.144.177|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 38577186 (37M) [application/zip]
Saving to: `rt_3.8.7_bundle.zip’
100%[============================================>] 38,577,186 4.87M/s in 7.8s
2010-10-29 16:18:47 (4.72 MB/s) - `rt_3.8.7_bundle.zip’ saved [38577186/38577186]
Unpack:
[root@testbench1]# unzip rt_3.8.7_bundle.zip
Archive: rt_3.8.7_bundle.zip
inflating: install.sh
inflating: Modules.tar.gz
inflating: rt-3.8.7.tar.gz
inflating: rt.repo
inflating: rt_repo.tar.gz
set up yum repo file:
[root@testbench1]# ls
install.sh rt_3.8.7_bundle.zip rt.repo
Modules.tar.gz rt-3.8.7.tar.gz rt_repo.tar.gz
[root@testbench1]# cp rt.repo /etc/yum.repos.d/
[root@testbench1]# vi /etc/yum.repos.d/rt.repo
[rt-387-local]
name=Request Tracker - $basearch
baseurl=file://opt/rt_repo/$basearch/
enabled=1
gpgcheck=0
[rt-387-noarch-local]
name=Request Tracker - noarch
baseurl=file://opt/rt_repo/noarch/
enabled=1
gpgcheck=0
Unpack the distro part and move it over to /opt where the yum file
expected it:
[root@testbench1]# tar xfz rt_repo.tar.gz
[root@testbench1]# mv rt_repo /opt
[root@testbench1]# ls /opt/rt_repo/
i386 noarch x86_64
Okay, let’s see if that works:
[root@testbench1]# yum clean all
Loaded plugins: rhnplugin, security
Cleaning up Everything
[root@testbench1]# yum list rt3
Loaded plugins: rhnplugin, security
adobe-linux-i386 | 951 B 00:00
adobe-linux-i386/primary | 12 kB 00:00
adobe-linux-i386 18/18
rhel-i386-server-5 | 1.4 kB 00:00
rhel-i386-server-5/primary | 3.0 MB 00:00
rhel-i386-server-5 7696/7696
rhel-i386-server-vt-5 | 1.4 kB 00:00
rhel-i386-server-vt-5/primary | 41 kB 00:00
rhel-i386-server-vt-5 198/198
rhn-tools-rhel-i386-server-5 | 1.3 kB 00:00
rhn-tools-rhel-i386-server-5/primary | 38 kB 00:00
rhn-tools-rhel-i386-server-5 457/457
file://opt/rt_repo/i386/repodata/repomd.xml: http://opt/rt_repo/i386/repodata/repomd.xml: [Errno 5] OSError: [Errno 2] No such file or directory: ‘/rt_repo/i386/repodata/repomd.xml’
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rt-387-local. Please verify its path and try again
No clue what this means. I checked the yum locations. I checked the
xml metadata. Couldn’t see where this bad path was coming from.
Any suggestions for resolving this?
If I can’t resolve this, I will just forget about RT3.8 and stick with
RT3.6 of which there is a well-behaved RPM already in the EPEL repo.
Wes