Changing Hostname on RT Host

I have RT installed a RH7.2 box. Since I installed RT, I have changed the
host/domain on that machine but the RT installation still refers to the old
host/domain ie. Originally installed when the machine was french.fries.com
but the host is now tossed.salad.com however when you go to log into RT, for
example, it still says “RT/french.fries.com Login:” on the login page.

Any ideas. Thx. Greg

Greg Elisara wrote:

I have RT installed a RH7.2 box. Since I installed RT, I have changed the
host/domain on that machine but the RT installation still refers to the old
host/domain ie. Originally installed when the machine was french.fries.com
but the host is now tossed.salad.com however when you go to log into RT, for
example, it still says “RT/french.fries.com Login:” on the login page.

That’s $rtname from your config.pm. Note carefully the
warning in that file about changing this value.
Phil Homewood, Systems Janitor, www.SnapGear.com
pdh@snapgear.com Ph: +61 7 3435 2810 Fx: +61 7 3891 3630
SnapGear - Custom Embedded Solutions and Security Appliances

I have RT installed a RH7.2 box. Since I installed RT, I have changed the
host/domain on that machine but the RT installation still refers to the old
host/domain ie. Originally installed when the machine was french.fries.com
but the host is now tossed.salad.com however when you go to log into RT, for
example, it still says “RT/french.fries.com Login:” on the login page.

Sounds like you have to edit <PATH_TO_RT>/etc/config.pm
and change 2 lines

from
$rtname =“french.fries.com”;
$Organization = “french.fries.com”;
to
$rtname =“tossed.salad.com”;
$Organization = “tossed.salad.com”;

Tony Aiuto

Greg Elisara wrote:

I have RT installed a RH7.2 box. Since I installed RT, I have
changed the host/domain on that machine but the RT
installation still refers to the old host/domain ie.
Originally installed when the machine was french.fries.com
but the host is now tossed.salad.com however when you go to
log into RT, for example, it still says “RT/french.fries.com
Login:” on the login page.

Any ideas. Thx. Greg

Have you edited $rtdir/etc/config.pm and changed the “rtname” ?

-GS

I looked at that. But what I didn’t do, but now has it going, was stop/start
the server. All better now.

on 11/10/02 3:58 PM, Tony Aiuto at tony@ics.com wrote:

Greg,

Make sure that you’ve changed $rtname [I’m now sure if there are any
uppercase letters in that variable - but it’s one of the first things
you need to edit in /path/to/rt/etc/config.pm

The value that you set this to is what appears on the login screen just
after the ‘RT/’ & it’s what every ticket id on your machine is
referenced to.

Email from your RT box will have [tossed.salad.com #523] in the subject
line once you’ve made this change AND stopped / started your apache
instance.

Recall from the README and the RTFM that changes to config.pm do NOT get
parsed until you STOP then START apache. A ‘restart’ or ‘kill -HUP’ is
not enough to trigger this action. On my box, I do this with:

apachectl stop

.
.
.

apachectl start

HTH,

Drew M. Mooney
RT User since 12 September, 2002

Message: 9Date: Fri, 11 Oct 2002 15:46:11 +1300
From: Greg Elisara greg@dreamlabs.co.nz
To: rt-users@lists.fsck.com
Subject: [rt-users] Changing Hostname on RT Host

I have RT installed a RH7.2 box. Since I installed RT, I have changed
the host/domain on that machine but the RT installation still refers to
the old host/domain ie. Originally installed when the machine was
french.fries.com but the host is now tossed.salad.com however when you
go to log into RT, for example, it still says “RT/french.fries.com
Login:” on the login page.

Any ideas. Thx. Greg

Drew M. Mooney Motorola Professional Services
817-245-7489 desk 5555 North Beach Street - Mailstop 6a
817-245-7522 fax Fort Worth, TX 76137