- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Setting up NTP
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
Forums
Discussions
Discussions
Discussions
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
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
08-28-2002 10:56 AM
08-28-2002 10:56 AM
I have a small HP-UX network, about 10 machines. I use /etc/hosts resolution rather than DNS.
I'm trying to turn on xntpd to use the internal clock of one of my machines as a server, and the rest as clients.
I edited the /etc/ntp.conf file with the lines:
server 127.127.1.1
and drift file set to:
/var/adm/ntp.drift
I start the xntpd and get the error message:
"ntpdate[10610]: no server suitable for synchronization found"
I grep out the daemon, and find it, but the ntp.drift log never updates.
What am I doing wrong?
- Allan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 11:02 AM
08-28-2002 11:02 AM
Solution# ntpq -p
This should show your ntp server's name at the client system.
Check and make sure that your systems resolves the name properly. Check the file /etc/rc.config.d/netdaemons and see if everything is enabled and set properly.
gl,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 11:08 AM
08-28-2002 11:08 AM
Re: Setting up NTP
If the difference in time between your source and the servers that are attempting to synchronize to it is more than 1000 seconds, xntpd will die without synchronization. In this case you will need to manually adjust the date on the server first to minimize the delta and then restart xntpd.
The drift file will not appear to update for sometime so this is not a very reliable measure of xntp activity.
Rather, use 'ntpq -p' to query the status of the xntpd daemon.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 11:09 AM
08-28-2002 11:09 AM
Re: Setting up NTP
First glance would indicate that you are not going outside to a stratum 1 server to get correct time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 11:17 AM
08-28-2002 11:17 AM
Re: Setting up NTP
Here's a doc regarding the output of ntpq -p
http://support4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000048175248
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 12:20 PM
08-28-2002 12:20 PM
Re: Setting up NTP
http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000047992570
Doc ID - KBRC00000415
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 12:21 PM
08-28-2002 12:21 PM
Re: Setting up NTP
This document will tell you the steps for setting up a NTP server and client:
http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000053307950
Doc ID - 1100390400
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 12:36 PM
08-28-2002 12:36 PM
Re: Setting up NTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 01:44 PM
08-28-2002 01:44 PM
Re: Setting up NTP
I ran ntpq -p on my client, looks good. But when I run "date" on my server and "date" on my client, my clocks are 6 minutes apart and have been for the last 15 minutes.
I thought my client would sync with my server.
Something is still not right.
Can someone interpret the output of the NTP for me? I went through the man pages quickly, and there's a lot of stuff.
Thanks!
- Allan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 02:00 PM
08-28-2002 02:00 PM
Re: Setting up NTP
You can update time manually using command:
ntpdate
Thanks,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 02:06 PM
08-28-2002 02:06 PM
Re: Setting up NTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 03:51 PM
08-28-2002 03:51 PM
Re: Setting up NTP
6 minutes difference will take a minimum of 3 hours to adjust. Be sure you monitor syslog for any errors. Do NOT use ntpdate unless you aren't running anything--it is as bad as simply changing the time using the Unix date command.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 06:41 PM
08-28-2002 06:41 PM
Re: Setting up NTP
you can give multiple ntp servers in the config file, if you need the ntp to sync to an accurate time value. You may have to wait for some time after you have configured the ntp clients, depend up on the network traffic. Apply all patches, check the log files and if needed add entry for ntpdate in the crontab file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2002 07:10 PM
08-28-2002 07:10 PM
Re: Setting up NTP
http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000049138043
Doc ID - S3100006003
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2002 04:50 AM
08-29-2002 04:50 AM
Re: Setting up NTP
Thanks everyone. I came into work this morning, and sure enough, my first client was in sync with my server. So the "slew" comment was entirely accurate (10pts!).
My systems are all for semiconductor test equipment, not database driven, so the timestamp is less important, +/-10 minutes, but there have been times where the date was completely wrong. This will help.
I did use the ntpdate command (after stopping xntpd) and it sync'd the client just as expected.
This is a really strong newsgroup!!!
- Allan