I have the RT server time set to EDT and it displays the correct time and
date. RT, however, is registering times about 6 hours ahead. Has anyone else
seen this problem? Is there a way to force RT to use the system clock? I am
using RT version 2.0.12.
Steve Rawls
- Steve Rawls srawls@net-magic.net [2002-04-10 16:18]:
I have the RT server time set to EDT and it displays the correct time
and date. RT, however, is registering times about 6 hours ahead. Has
anyone else seen this problem? Is there a way to force RT to use the
system clock? I am using RT version 2.0.12.
Is $ENV{‘TZ’} set to GMT? Look in $RT/etc/config.pm.
(darren)
“The first rule of magic is simple. Don’t waste your time waving
your hands and hoping when a rock or a club will do.”
– McCloctnik the Lucid
I have the following set in config.pm:
$Timezone = ‘US/Eastern’;
$ENV(‘TZ’) = $Timezone;
Steve Rawls----- Original Message -----
From: “darren chamberlain” darren@boston.com
To: rt-users@lists.fsck.com
Sent: Wednesday, April 10, 2002 4:21 PM
Subject: Re: [rt-users] Problem w/ time in RT
- Steve Rawls srawls@net-magic.net [2002-04-10 16:18]:
I have the RT server time set to EDT and it displays the correct time
and date. RT, however, is registering times about 6 hours ahead. Has
anyone else seen this problem? Is there a way to force RT to use the
system clock? I am using RT version 2.0.12.Is $ENV{‘TZ’} set to GMT? Look in $RT/etc/config.pm.
(darren)
–
“The first rule of magic is simple. Don’t waste your time waving
your hands and hoping when a rock or a club will do.”
– McCloctnik the Lucid
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users
What operating system are you using?
-----Original Message-----
From: rt-users-admin@lists.fsck.com
[mailto:rt-users-admin@lists.fsck.com]On Behalf Of Steve Rawls
Sent: April 10, 2002 1:39 PM
To: rt-users@lists.fsck.com
Subject: Re: [rt-users] Problem w/ time in RTI have the following set in config.pm:
$Timezone = ‘US/Eastern’;
$ENV(‘TZ’) = $Timezone;
Shouldn’t this be “$ENV{‘TZ’}” with curly-braces?
/Oli
Olafur Osvaldsson
Systems Administrator
Internet a Islandi hf.
Tel: +354 525-5291
Email: oli@isnic.is
I have the following set in config.pm:
$Timezone = ‘US/Eastern’;
$ENV(‘TZ’) = $Timezone;
If the ‘US/Eastern’ timezone does not exist on your system, then RT will
default to storing times in GMT (a mere 4 hours ahead of you). In
addition, your ‘(’ and ‘)’ characters in the above need to be ‘{’ and ‘}’
respectively.
Bruce Campbell RIPE
Systems/Network Engineer NCC
www.ripe.net - PGP562C8B1B Operations
thanks to everyone that answered my question. I am running RT on FreeBSD
4.5. I double checked and I do have curley brackets, not parenthesis. If I
don’t have US/Eastern as an available timezone can I just change
$ENV{‘TZ’}=$Timezone to something like $ENV{‘TZ’}=EDT?
Steve RawlsFrom: “Bruce Campbell” bruce_campbell@ripe.net
To: “Steve Rawls” srawls@net-magic.net
Cc: rt-users@lists.fsck.com
Sent: Thursday, April 11, 2002 3:23 AM
Subject: Re: [rt-users] Problem w/ time in RT
I have the following set in config.pm:
$Timezone = ‘US/Eastern’;
$ENV(‘TZ’) = $Timezone;If the ‘US/Eastern’ timezone does not exist on your system, then RT will
default to storing times in GMT (a mere 4 hours ahead of you). In
addition, your ‘(’ and ‘)’ characters in the above need to be ‘{’ and ‘}’
respectively.–
Bruce Campbell
RIPE
Systems/Network Engineer
NCC
www.ripe.net - PGP562C8B1B
Operations
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users
It should be a FreeBSD native timezone in there,
they do differ from the linux ones -
the one you pick with /stand/sysinstall is what you should use.
/JE
Sorry, I haven’t been following the thread closely so if this has been
suggested, please ignore.
IIRC when I had problems w/RT (and other apps on the Web server) using GMT,
I added the following to my Apache config and stopped/started Apache and all
was well:
SetEnv TZ EST
BTW, my RT config.pm has:
$Timezone = 'US/Eastern';
Hope this helps,
Chris
“SR” == Steve Rawls srawls@net-magic.net writes:
SR> thanks to everyone that answered my question. I am running RT on FreeBSD
SR> 4.5. I double checked and I do have curley brackets, not parenthesis. If I
SR> don’t have US/Eastern as an available timezone can I just change
SR> $ENV{‘TZ’}=$Timezone to something like $ENV{‘TZ’}=EDT?
SR> Steve Rawls
In FreeBSD 4.5, you cannot use the ‘US/Eastern’ timezone: use the
‘EST5EDT’ timezone. All valid zones are listed in
/usr/share/zoneinfo. The $Timezone variable is just a file name
relative to this directory, so use whatever zone you like from there.
You should be able to use ‘America/New_York’.
MichaelFrom: rt-users-admin@lists.fsck.com
[mailto:rt-users-admin@lists.fsck.com]On Behalf Of Vivek Khera
Sent: Thursday, April 11, 2002 9:26 AM
To: rt-users@lists.fsck.com
Subject: Re: [rt-users] Problem w/ time in RT
“SR” == Steve Rawls srawls@net-magic.net writes:
SR> thanks to everyone that answered my question. I am running RT on FreeBSD
SR> 4.5. I double checked and I do have curley brackets, not parenthesis.
If I
SR> don’t have US/Eastern as an available timezone can I just change
SR> $ENV{‘TZ’}=$Timezone to something like $ENV{‘TZ’}=EDT?
SR> Steve Rawls
In FreeBSD 4.5, you cannot use the ‘US/Eastern’ timezone: use the
‘EST5EDT’ timezone. All valid zones are listed in
/usr/share/zoneinfo. The $Timezone variable is just a file name
relative to this directory, so use whatever zone you like from there.
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users
That took care of it. Thanks everyone.
Steve RawlsFrom: “Vivek Khera” khera@kcilink.com
To: rt-users@lists.fsck.com
Sent: Thursday, April 11, 2002 12:26 PM
Subject: Re: [rt-users] Problem w/ time in RT
“SR” == Steve Rawls srawls@net-magic.net writes:
SR> thanks to everyone that answered my question. I am running RT on
FreeBSD
SR> 4.5. I double checked and I do have curley brackets, not parenthesis.
If I
SR> don’t have US/Eastern as an available timezone can I just change
SR> $ENV{‘TZ’}=$Timezone to something like $ENV{‘TZ’}=EDT?
SR> Steve RawlsIn FreeBSD 4.5, you cannot use the ‘US/Eastern’ timezone: use the
‘EST5EDT’ timezone. All valid zones are listed in
/usr/share/zoneinfo. The $Timezone variable is just a file name
relative to this directory, so use whatever zone you like from there.
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users