- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: NTP - how to force synchronization without an ...
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
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
тАО12-10-2009 05:27 AM
тАО12-10-2009 05:27 AM
the HP-UX troubleshooting NTP documentation says that:
"
Every NTP time hierarchy must have at least one stratum-1 server,
with an external time source configured, either an attached radio clock
or the local system clock. If there is no stratum-1 server in the hierarchy,
no associations will be formed.
"
Is it possible to force NTP client to synchronize its time with a local (LAN)
NTP server despite the fact there is no stratum-1 server in the hierarchy?
I have a local (LAN) NTP server. When I type ntpq -p, it shows this:
remote refid st t when poll reach delay offset jitter
==============================================================================
ixi26.internetd .INIT. 16 u - 1024 0 0.000 0.000 0.000
ntp.ipartners.p .INIT. 16 u - 1024 0 0.000 0.000 0.000
vega.cbk.poznan .INIT. 16 u - 1024 0 0.000 0.000 0.000
smtp.certum.pl .INIT. 16 u - 1024 0 0.000 0.000 0.000
europium.canoni .INIT. 16 u - 1024 0 0.000 0.000 0.000
There is no '*' in the remote column, meaning there is no associacion.
When I type ntpq -p from my HP-UX client, it shows this:
remote refid st t when poll reach delay offset disp
==============================================================================
repepwd 0.0.0.0 16 u 5 64 0 0.00 0.000 16000.0
where repepwd is the local NTP server I want to synchronize with. There is
also no '*' in the remote column.
When I stop xntpd on the HP-UX client, and try sync the time by typing
"ntpdate repepwd", it shows this error message:
10 Dec 14:19:51 ntpdate[5250]: no server suitable for synchronization found
Do I understand correctly that it's because of the missing association?
If so, can I force NTP client to ignore the fact there is no stratum-1
server in the hierarchy?
Thanks in advance for any help.
Greetings,
Tomek.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2009 05:36 AM
тАО12-10-2009 05:36 AM
Re: NTP - how to force synchronization without an association?
ntpdate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2009 05:37 AM
тАО12-10-2009 05:37 AM
Re: NTP - how to force synchronization without an association?
Synchronization will fail if your server's time is more than ~ 1000 seconds wrong. Verify that your server's time is correct with:
# date -u
If not, adjust it. If you need to set the server's time backwards, either reboot or stop time-sensitive processes like databases. Moving time forward is usually not a problem.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2009 05:41 AM
тАО12-10-2009 05:41 AM
Re: NTP - how to force synchronization without an association?
ntpdate -b -t 4 -p 4
-t 4 sets the timeout to 4 seconds (from 1, "suitable for LAN applicatons") and -p 8 sets the number of averaged samples back to the default, After the initial ntpdate config, everything will sync up with ntpq which defaults to 5000 msec
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2009 06:04 AM
тАО12-10-2009 06:04 AM
Re: NTP - how to force synchronization without an association?
Trying ntpdate
10 Dec 15:03:33 ntpdate[5559]: no server suitable for synchronization found
The same error message appears when I try:
ntpdate -b -t 4 -p 4 repepwd
or
ntpdate -b -t 4 -p 4
Am I wrong thinking that it's a problem with a missing associacion?
Tomek.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2009 06:07 AM
тАО12-10-2009 06:07 AM
Re: NTP - how to force synchronization without an association?
PING repepwd: 64 byte packets
64 bytes from 172.26.0.100: icmp_seq=0. time=0. ms
64 bytes from 172.26.0.100: icmp_seq=1. time=0. ms
64 bytes from 172.26.0.100: icmp_seq=2. time=0. ms
...
Tomek.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2009 06:12 AM
тАО12-10-2009 06:12 AM
Re: NTP - how to force synchronization without an association?
# telnet
tks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2009 06:45 AM
тАО12-10-2009 06:45 AM
Re: NTP - how to force synchronization without an association?
telnet repepwd 123
Trying...
telnet: Unable to connect to remote host: Connection refused
On repepwd in ntp.conf there is a line:
restrict 172.27.0.0 mask 255.255.255.128 nomodify notrap
but apparently it's not enough or there is some error I can't see. 255.255.255.128 is the netmask of the HP-UX
client.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2009 07:17 AM
тАО12-10-2009 07:17 AM
Re: NTP - how to force synchronization without an association?
Saludos
JEA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2009 07:35 AM
тАО12-10-2009 07:35 AM
Re: NTP - how to force synchronization without an association?
There is no firewall on repepwd, and netstat shows
that port 123 is open:
udp 0 0 172.26.0.100:123 0.0.0.0:*
udp 0 0 127.0.0.1:123 0.0.0.0:*
udp 0 0 0.0.0.0:123 0.0.0.0:*
udp6 0 0 fe80::21d:7dff:fe0d:123 :::*
udp6 0 0 ::1:123 :::*
udp6 0 0 :::123 :::*
When I try ntpdate repepwd, it gives me the same error:
# ntpdate -b -t 4 -p 4 172.26.0.100
10 Dec 16:37:05 ntpdate[6320]: no server suitable for synchronization found