[ILUG] Weird date issue

Brian O'Mahony brian.omahony at curamsoftware.com
Thu Nov 13 16:09:47 GMT 2008


They are VOB servers based in Bangalore. If I change the time, the clearcase views get mangled. Learned this the hard way.

I think I have found the issue though. Basically someone over in BLR realized they were starting with Dublin time, which they were then changing with the date command. When ntp then runs, it complains about the fact that the time is out by -19741 seconds - ie the 5 ½ hour time difference between Dublin and BLR.

Nov  6 00:05:25 ccvob01_blrpr ntpd[26817]: time correction of -19741 seconds exceeds sanity limit (1000); set clock manually to the correct UTC time. However in the ntp.conf file the setting are set to point at the local server in BLR, Scooby. Is there anywhere ellse NTP might look (

The daemon stopped, but didn't shut down gracefully, as the ntpd.pid file was left in /var/run. The time server IS available (it's the windows domain controller in the BLR office).

I want to run a query or update, but that involves organizing downtime for one of the vob servers so I can mess with the settings....

From: Conor Wynne [mailto:mariconor at gmail.com]
Sent: 13 November 2008 15:53
To: Brian O'Mahony
Cc: ilug at linux.ie
Subject: Re: [ILUG] Weird date issue

On Thu, Nov 13, 2008 at 3:43 PM, Brian O'Mahony <brian.omahony at curamsoftware.com<mailto:brian.omahony at curamsoftware.com>> wrote:
Hey guys

I got a weird issue here on a server running rhel4u6. Well a couple of issues involving a few of them and date / ntp.

Three servers. NTP stopped running for some reason between now and nov 5th (last update in messages.1)

One of the servers shows the right time when I run date as the root user. However if I log in with a NIS or local account to that machine, the time is 5 1/2 fast.

Any suggestions where to look for clues?

Is the daemon still running?
Where is the NTP server located --> on t'interwebs or internal?
Is it still accessible -- betcha it's not.

Will need to see some logs to say any more.

Unfortunately they are all production systems, so I need to be careful with what im doing....

Databases or what? If just normal common or garden fileserver, then you can happily update em with say
"ntpdate -u your_ntp_server"

I would also "hwclock --systohc" too for the craic.



B

Conor.


The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorized. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. If you are not the intended
addressee please contact the sender and dispose of this e-mail. Thank you.



More information about the ILUG mailing list