We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

NTP

naufal
naufal asked
on
Medium Priority
616 Views
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
Comment
Watch Question

Commented:
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.
Top Expert 2005

Commented:
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

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

Mon Apr  5 00:01:21 PKST 2004
CERTIFIED EXPERT
Top Expert 2007

Commented:
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.
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
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

Commented:
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

Regards

Commented:
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

Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.