- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NTP not working.
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
10-28-2009 02:49 AM
10-28-2009 02:49 AM
NTP not working.
My server is not getting synchronized with the ntp server. The configuration is exactly same as of a working server. The connectivity to the ntp server also Okay.
But in ntpq -p the server is not in sync with any ntp server.
root@aucom1:(root)> ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
brwgwn03.melosd 0.0.0.0 16 u 12 64 0 0.00 0.000 16000.0
192.170.84.15 0.0.0.0 16 u 11 64 0 0.00 0.000 16000.0
omsmeodns2.melo 0.0.0.0 16 - - 64 0 0.00 0.000 16000.0
omcmeodns1.melo 0.0.0.0 16 - - 64 0 0.00 0.000 16000.0
Ntp port is opened and Okay,
root@aucom1:(root)> lsof -i :123
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
xntpd 3608 root 4u inet 0x4867a868 0t0 UDP *:ntp (Idle)
xntpd 3608 root 5u inet 0x41dd8468 0t0 UDP ar-aucom.melosdbb.aus.hp.com:ntp (Idle)
xntpd 3608 root 6u inet 0x5af54e68 0t0 UDP aucom1:ntp (Idle)
xntpd 3608 root 7u inet 0x432a5868 0t0 UDP aucom1:ntp (Idle)
xntpd 3608 root 8u inet 0x55601868 0t0 UDP localhost:ntp (Idle)
But, When I try to do the update with ntp server,
root@aucom1:(root)> ntpdate -d 192.170.84.233
28 Oct 18:36:23 ntpdate[4560]: ntpdate version 3.5f: Fri Dec 10 18:32:44 GMT 1999 PHNE_19711
transmit(192.170.84.233)
transmit(192.170.84.233)
transmit(192.170.84.233)
transmit(192.170.84.233)
transmit(192.170.84.233)
server 192.170.84.233, port 123
stratum 0, precision 0, leap 00, trust 000
refid [0.0.0.0], delay 0.00000, dispersion 64.00000
transmitted 4, in filter 4
reference time: 00000000.00000000 Thu, Feb 7 2036 17:28:16.000
originate timestamp: 00000000.00000000 Thu, Feb 7 2036 17:28:16.000
transmit timestamp: ce9272fa.94d6f000 Wed, Oct 28 2009 18:36:26.581
filter delay: 0.00000 0.00000 0.00000 0.00000
0.00000 0.00000 0.00000 0.00000
filter offset: 0.000000 0.000000 0.000000 0.000000
0.000000 0.000000 0.000000 0.000000
delay 0.00000, dispersion 64.00000
offset 0.000000
28 Oct 18:36:27 ntpdate[4560]: no server suitable for synchronization found
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2009 07:02 AM
10-28-2009 07:02 AM
Re: NTP not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2009 04:52 AM
11-02-2009 04:52 AM
Re: NTP not working.
Since you are not getting a response from any of your time servers do check that you have a reversible route to each of them .
I hope this idea is of some use
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2009 05:31 AM
11-02-2009 05:31 AM
Re: NTP not working.
I am able to ping to the configured NTP servers and getting the reply. Also, network team has confirmed that there is no firewall or block between the NTP servers and the client servers.
More over, there are many servers working with this NTP server in same n/w.
Thanks,
Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2009 05:37 AM
11-02-2009 05:37 AM
Re: NTP not working.
telnet servername 123
Lets run diagnosis and see if the port is open.
Most corporate networks do not permit connections to outside ntp servers.
Windows NTP, may not be good enough for Unix.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2009 06:18 AM
11-02-2009 06:18 AM
Re: NTP not working.
ntpq -p
That will verify that your server can talk to an unrestricted NTP server. As mentioned before, your company may have setup NTP restrictions. For the working systems, cat the ntp.conf file without the comments:
grep -v "^#" /eetc/ntp.conf
That may reveal specialized settings needed for your NTP servers.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2009 06:53 AM
11-02-2009 06:53 AM
Re: NTP not working.
Only TCP-based protocols can be tested with telnet. Attempting to test NTP with telneting to port 123 will lead to incorrect conclusions.
With NTP it's important that each NTP packet reaches its destination as fast as possible.
If some packets are lost, NTP can still use the rest. The TCP protocol would the hold the rest of packets and wait for re-transmission of missing packets. This is counter-productive for NTP, as any delay makes it harder to achieve a time synchronization.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2009 07:07 AM
11-02-2009 07:07 AM
Re: NTP not working.
checking the connectivity by telnet is not possible here...
Any other ideas?..
Thanks,
Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2009 08:35 AM
11-02-2009 08:35 AM
Re: NTP not working.
telnet ntp_server 123 --> should be fine,
not meaning need to telnet direct to ntp_server
if telnet doesn't show's up connected --> ntp port seems to open
if telnet turns with trying.....
I suspect we need check with "Network Team" to open the ntp port
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2009 12:24 PM
11-02-2009 12:24 PM
Re: NTP not working.
Since you are sure the network link is open from your client to your server.
you may want to try these.
- As suggested by TTr checking that the restrict statements in the server and client are correct may help.
- On the server use the : xntpdc -c monlist command to see if the sever tried to respond to your client's request ( assumes NTP v3 running on unix/linux for an NTP v4 server use ntpdc )
If there is an entry in there then the packet arrived at the server and can't find its way back. If there is no entry, then the packet either never arrived or has been rejected at the server end. You should review the log files of the NTP server.
- unlikely but you never know : Your NTP client patch is a bit out of date , It used to be possible to start a second ntp daemon before the old one stopped completely.
Just check that you do not have two copies of xntpd or something like an ntpdate -B running on your client (meaning adjust by slew only which may take days to finish) if so kill them all off and try again.
- The latest patch which supercedes PHNE_19711 is PHNE_31821
Mike