ntpdate and Israel local time

ntpdate and Israel local time

geoffrey mendelson geoffreymendelson at gmail.com
Thu May 27 21:50:12 IDT 2010


On May 27, 2010, at 9:37 PM, Dan Shimshoni wrote:

> Hello,
>  On my desktop at home, when I want to to update the local time (I
> live in israel) I run:
> ntpdate -s ntpserver.huji.ac.il
> And it work OK.
> However, there is a server at my work place which I am responsible
> for. When I run:
> ntpdate -s ntpserver.huji.ac.il
> it sets the time to 7 hours earlier (I mean, instead 19:00, it is  
> 12:00).
> I assume this has something to do with Time zones, but this machine
> has no X windows installed at all so I don't have a GUI for setting  
> time zones.
> What causes this error ?
> What should I do ? any advice ?


/etc/localtime is set to EST/EDT (US east coast)

ln -s /usr/share/zoneinfo/Asia/Jerusalem /etc/localtime

Note that UBUNTU (and possibly debian) use a hard link or a copy of  
the file instead of symlink.

Geoff.

-- 
geoffrey mendelson N3OWJ/4X1GM
Jerusalem Israel geoffreymendelson at gmail.com
New word I coined 12/13/09, "Sub-Wikipedia" adj, describing knowledge  
or understanding, as in he has a sub-wikipedia understanding of the  
situation. i.e possessing less facts or information than can be found  
in the Wikipedia.









More information about the Linux-il mailing list