Posted on 2004-04-04
Last Modified: 2013-12-27
Well my ntp server is getting me time wrong from the remote server because of daylight saving configured on the remote machine how do  i solve te problem
Question by:naufal
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 10752405
It should not :-)

This probably means that your timezone (or the NTP server's timezone) is not configured properly.

You could try another NTP server, or check your timezone config.

Check your /etc/TIMEZONE file.
LVL 40

Expert Comment

ID: 10752678
This is almost certainly a problem with the timezone setting on your machine. NTP uses GMT to allow it to work across timezones. My guess is that your system is set for a timezone that uses Daylight Savings time.

Author Comment

ID: 10752706
i am using pakistan standard time the output of the date command on my machine is

Mon Apr  5 00:01:21 PKST 2004
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 48

Expert Comment

ID: 10753502
What version of Solaris are you running?

Has PKST changed dates in the last few years?

Sun regularly update the timezone files when daylight savings dates change.

Accepted Solution

Alf666 earned 125 total points
ID: 10753802
jlevie : yes. But what if the remote server (if it's a master server) stupidly changes it's time manually to respect DST ??

naufal, I suggest you try the following :

zdump (or maybe zic, I don't remember on Solaris) :

zdump -v PKST

It should show 4 lines. 2 in 1901 (epoch) and 2 in 2038.

If it's right, thern I strongly suggest you switch to another NTP server.

Author Comment

ID: 10753862
ok there is a rule in a file /usr/lib/share/src/asia which says that daylight saving becomes active on first of april and i have checked my XP machine with the same ntp server it works fine so probabaly i wll have to comment the line ..... lets see i can't get hold of the system right now so may be after couple of hours:)

Author Comment

ID: 10756513
ok yes guys that does the job but now the same problem is coming on my linux machine and i don't find any kind of file on that


Expert Comment

ID: 10758773
Now, on Linux, you can try the zdump trick :

First, do a date, and check for the timezone name.

Then, dump it's rules (e.g: PKST) :

zdump -v PKST


Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

FreeBSD on EC2 FreeBSD ( is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question