- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- ntp issue on linux server, time goes ahead
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2010 12:45 PM
тАО07-20-2010 12:45 PM
ntp issue on linux server, time goes ahead
I am using a BL 460c blade for a linux (rhel 5.3 64bit)host and an oracle dbase runs in. I am facing an issue with the timing now. If I am restarting the ntpd service, time sync with the server but slowly it goes ahead upto 10 min in two weeks which makes my database screwed. All other server connected to my time server is working well. I have given few outputs below. Please help me in this.
[root@prodsrvr log]# dig timesrv.dc
; <<>> DiG 9.3.4-P1 <<>> timesrv.dc
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 20578
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;timesrv.dc. IN A
;; AUTHORITY SECTION:
. 10759 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2010072001 1800 900 604800 859
;; Query time: 0 msec
;; SERVER: 192.168.0.20#53(192.168.0.20)
;; WHEN: Tue Jul 20 23:38:40 2010
;; MSG SIZE rcvd: 108
[root@prodsrvr log]# nslookup timesrv.dc.com
Server: 192.168.0.20
Address: 192.168.0.20#53
Name: timesrv.dc.com
Address: 192.168.0.20
[root@prodsrvr log]#
[root@prodsrvr log]# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
timesrv.dc .LOCL. 1 u 20 64 377 0.248 -268.90 136.550
[root@prodsrvr log]#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2010 12:51 PM
тАО07-20-2010 12:51 PM
Re: ntp issue on linux server, time goes ahead
service ntpd status
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2010 01:08 PM
тАО07-20-2010 01:08 PM
Re: ntp issue on linux server, time goes ahead
ntpd is running. I have confirmed that first.
#service ntpd status
ntpd (pid 11107) is running...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2010 01:21 PM
тАО07-20-2010 01:21 PM
Re: ntp issue on linux server, time goes ahead
Try change your ntp to use a public NTP server nearest to your machine from this url:
http://support.ntp.org/bin/view/Servers/NTPPoolServers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2010 03:29 PM
тАО07-20-2010 03:29 PM
Re: ntp issue on linux server, time goes ahead
Your offset value (estimated difference of the time value between your ntpd and the NTP server) is -268.90 ms: this is currently too much. For successful synchronization, the offset would have to be smaller than 128 ms (positive or negative).
The root cause for non-synchronization is probably the high jitter: if the round-trip delay in the communication between ntpd and the NTP server has more than about 100 ms of jitter, ntpd will drop out of sync so often that it will be almost useless. (The NTP documentation says the jitter value is an exponentially weighted root-mean-square average deviation from the average delay.)
In practice, the large jitter value means that the travel time of the NTP time message from the NTP server to your ntpd is not predictable enough. Jitter usually becomes high when you're trying to synchronize time over a very congested/overloaded network connection.
If you have other servers connected to the same switch as this BL460c blade, the congested connection might be the one between the blade and the switch. If possible, you should take a look at the switch port statistics and find out how busy the blade's network interfaces are.
If you have only one active network interface, consider setting up bonding to get more network bandwidth to your blade.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2010 11:55 PM
тАО07-20-2010 11:55 PM
Re: ntp issue on linux server, time goes ahead
It's a VM?
If so, please login to your VC console and check the time at your VC console
It might help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2010 02:57 AM
тАО07-21-2010 02:57 AM
Re: ntp issue on linux server, time goes ahead
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2010 10:07 AM
тАО08-04-2010 10:07 AM
Re: ntp issue on linux server, time goes ahead
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2010 01:33 AM
тАО08-11-2010 01:33 AM
Re: ntp issue on linux server, time goes ahead
Just add /usr/sbin/ntpdate -s
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2010 03:30 AM
тАО08-11-2010 03:30 AM
Re: ntp issue on linux server, time goes ahead
Also have you own local clock in the ntp.conf (server 127.127.1.1).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-11-2010 03:43 AM
тАО08-11-2010 03:43 AM
Re: ntp issue on linux server, time goes ahead
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-12-2010 08:51 PM
тАО08-12-2010 08:51 PM
Re: ntp issue on linux server, time goes ahead
for reference:
[root@oclab50 ~]# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
153.16.4.137 .INIT. 16 u - 64 0 0.000 0.000 0.000
ns1.your-site.c .INIT. 16 u - 64 0 0.000 0.000 0.000
c-68-51-42-35.h .INIT. 16 u - 64 0 0.000 0.000 0.002
LOCAL(0) .LOCL. 10 l - 64 0 0.000 0.000 0.002
[root@oclab50 ~]# cat /etc/sysconfig/ntpd
# Drop root to id 'ntp:ntp' by default.
OPTIONS="-x -u ntp:ntp -p /var/run/ntpd.pid"
# Set to 'yes' to sync hw clock after successful ntpdate
SYNC_HWCLOCK=no
# Additional options for ntpdate
NTPDATE_OPTIONS=""
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2011 10:46 PM
тАО01-04-2011 10:46 PM