NTP Client
Hi Guys
I am using NTP Client base on Solaris 10 vs NTP server base on windows XP.
My NTP server configured to GMT+3
when i am running the following command /etc/rc2.d/S74xntpd start
the time is changed but incorrect it is GMT +5 and not GMT +3
where is the GMT configuration. ?
Thanks for your help.
# 1
> Hi Guys
>
> I am using NTP Client base on Solaris 10 vs NTP
> server base on windows XP.
>
> My NTP server configured to GMT+3
#1 NTP doesn't care about timezones. It syncs UTC.
#2 GMT+3 isn't a good way to define a timezone and causes confusing output. You should be selecting your correct region.Are you in South America or Eastern Canada? What city are you in?
> when i am running the following command
> /etc/rc2.d/S74xntpd start
> the time is changed but incorrect it is GMT +5 and
> not GMT +3
> where is the GMT configuration. ?
Timezone information is stored in /usr/share/lib/zoneinfo and is selected by the TZ variable, with a system default set in /etc/TIMEZONE.
Tell us where you are located, and show the output of the following commands:
date
date -u
echo $TZ
cat /etc/TIMEZONE
--
Darren
# 2
Hi,
I have the same problem, this is what i have
in TIMEZONE file
TZ=America/Caracas
#date
lunes, 4 de septiembre de 2006, 02:24:35 GMT-4
#more ntp.conf
server servidorntp
statsdir /var/ntp/ntpstats/
filegen peerstats file peerstats type day enable
filegen loopstats file loopstats type day enable
filegen clockstats file clockstats type day enable
Please, what im doing wrong?
# 3
> Hi,
> I have the same problem, this is what i have
You didn't supply all the information. Please run *ALL* the commands shown.
> in TIMEZONE file
>
> TZ=America/Caracas
>
> #date
> lunes, 4 de septiembre de 2006, 02:24:35 GMT-4
These two things are in conflict. You should have a timezone of something like 'VET', not 'GMT-4'.I assume that either you have not rebooted since modifying /etc/TIMEZONE (the file is only read at boot), or something is overriding the timezone in your shell. The 'echo $TZ' would point that out.
--
Darren