Solaris 9 Time is wrong

I have a solaris 9 server that seems to think its in the CST time zone but its giving me time -6 hours off.

an example would be if the CDE display says its 10:30 AM Jan 10 2007 then the date command in a terminal window will say its 04:30. on Jan 10 2007

I have used the date command to force it to change to the right time but after a few minutes it just switches back to being -6 hours off.

I have tried setting it using the date command and ntpdate and neither one seems to work. I thought my time zone was set wrong but it comes up as CST

[567 byte] By [arctjga] at [2007-11-26 14:43:13]
# 1
are you in by rootor by root previliages
javeedabdula at 2007-7-8 8:30:51 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 2
do yo u have ntp server setup .what kind of machine is it?model?
javeedabdula at 2007-7-8 8:30:51 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 3

> I have a solaris 9 server that seems to think its in

> the CST time zone but its giving me time -6 hours

> off.

>

> an example would be if the CDE display says its 10:30

> AM Jan 10 2007 then the date command in a terminal

> window will say its 04:30. on Jan 10 2007

Need more details.

#1 CST isn't a unique time zone. I assume you're talking about the Central time zone in the US, though, correct?

#2 Run these commands and show the output:

echo $TZ

date

date -u

TZ=US/Central date

/usr/sbin/ntpq -p

> I have used the date command to force it to change to

> the right time but after a few minutes it just

> switches back to being -6 hours off.

Have you looked through the root crontab to see if there's anything running periodically that would attempt to reset the time?

> I have tried setting it using the date command and

> ntpdate and neither one seems to work. I thought my

> time zone was set wrong but it comes up as CST

The commands above will verify the the timezone configuration.

--

Darren

Darren_Dunhama at 2007-7-8 8:30:51 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...
# 4
We've got to patch our mail server with the DST patch. We have a Sun 240 running iPLanet 5.2 & it's over 25 patches behind. I recently heard of a "cluster patch". Does this work o.k.? We're concerned it may break something on this old software!
jst601a at 2007-7-8 8:30:51 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...