- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NTP keeps losing synchronisation
Operating System - HP-UX
1823062
Members
3460
Online
109645
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО12-04-2006 09:23 AM
тАО12-04-2006 09:23 AM
I'm trying to sync an 11.11 server to an external time source but it keeps losing its synchronisation. Here's an excerpt from syslog:
Dec 4 10:01:09 rep2 xntpd[27557]: synchronized to 132.163.4.102, stratum=1
Dec 4 10:20:59 rep2 xntpd[27557]: time reset (step) -0.276097 s
Dec 4 10:20:59 rep2 xntpd[27557]: synchronisation lost
Dec 4 10:26:19 rep2 xntpd[27557]: synchronized to 132.163.4.102, stratum=1
Dec 4 12:42:22 rep2 xntpd[27557]: time reset (step) -0.279892 s
Dec 4 12:42:22 rep2 xntpd[27557]: synchronisation lost
I've just configured NTP through SAM so the only line in /etc/ntp.conf is "server 132.163.4.102 version 3" I know there's a whole bunch of other manual options. Do I need those to correct this problem?
Thanks.
Dec 4 10:01:09 rep2 xntpd[27557]: synchronized to 132.163.4.102, stratum=1
Dec 4 10:20:59 rep2 xntpd[27557]: time reset (step) -0.276097 s
Dec 4 10:20:59 rep2 xntpd[27557]: synchronisation lost
Dec 4 10:26:19 rep2 xntpd[27557]: synchronized to 132.163.4.102, stratum=1
Dec 4 12:42:22 rep2 xntpd[27557]: time reset (step) -0.279892 s
Dec 4 12:42:22 rep2 xntpd[27557]: synchronisation lost
I've just configured NTP through SAM so the only line in /etc/ntp.conf is "server 132.163.4.102 version 3" I know there's a whole bunch of other manual options. Do I need those to correct this problem?
Thanks.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2006 09:33 AM
тАО12-04-2006 09:33 AM
Solution
One of the most important tasks is to choose your NTP servers wisely. Note that I used the plural. You really need a minimum of about 3 so the the NTP daemon can perform statistical analysis and choose which server is best for the moment. You probably have a less than robust network and with only one time server, poor xntpd is left with very limited options. Have a look at /usr/share/doc/NTP_Primer.txt; it's an excellent starting point.
One of the easist methods is to use the NTP pool of public servers; just add lines similar to this to /etc/ntp.conf.
server 0.us.pool.ntp.org
server 1.us.pool.ntp.org
server 2.us.pool.ntp.org
These are round-robin DNS replies so that you get a new set of servers each time xntpd is started. It also wise to add a localhost fallback entry:
server 127.127.1.1 stratum 10
One of the easist methods is to use the NTP pool of public servers; just add lines similar to this to /etc/ntp.conf.
server 0.us.pool.ntp.org
server 1.us.pool.ntp.org
server 2.us.pool.ntp.org
These are round-robin DNS replies so that you get a new set of servers each time xntpd is started. It also wise to add a localhost fallback entry:
server 127.127.1.1 stratum 10
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2006 09:38 AM
тАО12-04-2006 09:38 AM
Re: NTP keeps losing synchronisation
Thanks. So, do you recommend restarting XNTPD on a regular basis?
Mark
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-04-2006 01:26 PM
тАО12-04-2006 01:26 PM
Re: NTP keeps losing synchronisation
No. If you have reliable time sources, xntpd should essentially never lose synchronization. Fix your network and choose multiple time servers and you will almost never have to think about NTP any more and you time will be accurate to within a few tens of milliseconds at all times. If you have to restart xnptd, you are fixing the symptoms rather than the problem.
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP