[lug] ntp problem..

Andrew Gilmore agilmore at uc.usbr.gov
Tue May 6 13:16:42 MDT 2003


Sounds like a timezone problem. NTP sets your clock, which is UTC/GMT.

What is the value of your TZ variable, if it exists. What is the whole 
output of `date` ?

Andrew

Joseph P. Crotty wrote:
> I have an external (i.e. PAN) openBSD 3.2 firewall box that also serves as my
> LAN ntp server running ntp v4.1.72p1.  ntp on the PAN firewall polls a few
> stratum 2 servers (ntp1.tummy.com, etc...) and is available to be polled by my
> LAN network .
> 
> What I don't get is this.  The time on my PAN firewall box is exactly 1 hour
> slower then say the official time posted at
> http://www.time.gov/timezone.cgi?Mountain/d/-7/java
> 
> I just got on my PAN firewall box and shut off ntpd and manually ran:
> 
> openBSDbox# ntpdate ntp1.tummy.com 6 May 11:55:34 ntpdate[11788]: adjust time
> server 198.49.126.4 offset 0.004777 sec
> 
> But, when I run the date command and compare to the link above I am exactly one
> hour slow to the second.  What simple idiot trap have I fallen into?
> 
> Joe
> 
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
> 




More information about the LUG mailing list