- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: NTP won't synch to remote time source.
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
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
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
тАО02-16-2005 01:31 AM
тАО02-16-2005 01:31 AM
NTP won't synch to remote time source.
Trying to get this node to synch with a W2003 Server over NTP.
tcpip$ntp.conf file configured with:
server ntp-clock version 3
(ntp-clock is defined in hosts database and can be pinged etc - have tried raw ip address in conf file)
I can force a reset of the local VMS clock using ntpdate to the w2k3 server, but NTP will not set the time (it has drifted out by 10 secs since the last ntpdate).
ntpdc - peer command shows the remote server name, and the correct details in terms of time differences etc.
ntpq - associations command shows remote clock as reachable, but advises that the condition is "reject"
ntptrace - returns:
LOCALHOST: Stratum 16
0.0.0.0: *not synchronised*
Forced full logging for NTP, logs say time is being rejected but not why! Analysed network traffic and NTP requests are being received and returned by server.
DTSS is not running and NTP is enabled in TCPIP services. Have tried disabling auth in conf file as well.
I am sure its something small I have missed in the config, but I can't seem to spot it.
Any ideas as to why NTP will not synch?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2005 02:12 AM
тАО02-16-2005 02:12 AM
Re: NTP won't synch to remote time source.
On my system (VMS 7.3-2 TCPIP V5.4 - ECO 2, NTP 4.1.047) works fine. The only two (not commented) lines in TCPIP$NTP.CONF are:
server x.x.x.x
driftfile SYS$SPECIFIC:[TCPIP$NTP]TCPIP$NTP.DRIFT
In my case the ntp server is a linux machine. Maybe you have to set something on the w2k3 server. Try to bypass the w2k3 server and go directly to the external ntp server. Also note that the first Synchronizing time can be very long.
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2005 02:15 AM
тАО02-16-2005 02:15 AM
Re: NTP won't synch to remote time source.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2005 03:26 AM
тАО02-16-2005 03:26 AM
Re: NTP won't synch to remote time source.
Any clues in the TCPIP$NTP_RUN.LOG (sp?) file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2005 03:29 AM
тАО02-16-2005 03:29 AM
Re: NTP won't synch to remote time source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2005 03:37 AM
тАО02-16-2005 03:37 AM
Re: NTP won't synch to remote time source.
An ntpq peers displays a blank (space) before the remote host name. Docs advise that this "indicates that the peer was discarded, because of high stratum or failed sanity checks"
I need to now investigate why this is. The w2k3 server has a radio (rugby) clock directly connected to it. The w2k3 server NTP software has set itself to stratum 1, which I would accept as being correct?
Rgds,
Trevor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2005 08:24 AM
тАО02-16-2005 08:24 AM
Re: NTP won't synch to remote time source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2005 11:38 PM
тАО02-16-2005 11:38 PM
Re: NTP won't synch to remote time source.
ntpq -peers displays
remote refid st
ntp-clock .LOCL. 1
I am trying to investigate what sanity checks would cause it to reject the time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2005 11:12 AM
тАО02-17-2005 11:12 AM
Re: NTP won't synch to remote time source.
You could also try
ntpq> assoc
ntpq> readvar ### flash where ### is the associd of the ntp server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-17-2005 11:34 PM
тАО02-17-2005 11:34 PM
Re: NTP won't synch to remote time source.
readvar flash returns:
status=9014 reach, conf, 1 event, event_reach, flash=00 ok
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2005 06:41 AM
тАО02-18-2005 06:41 AM
Re: NTP won't synch to remote time source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2005 03:39 AM
тАО02-21-2005 03:39 AM
Re: NTP won't synch to remote time source.
We are a couple of TCPIP ECOs behind on the Alpha system, which I will try and get installed to rule them out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2005 08:29 AM
тАО02-21-2005 08:29 AM
Re: NTP won't synch to remote time source.
On one system I had this problem. As soon as I properly configured the TDF, NTP started synchronizing within a few minutes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2005 01:56 AM
тАО02-22-2005 01:56 AM
Re: NTP won't synch to remote time source.
UTC$TIME_SETUP SHOW produced the following:
.
AUTO_DLIGHT_SAV is set to "0"
The Logical name SYS$TIMEZONE_RULE is not defined
The Logical name SYS$TIMEZONE_NAME is not defined
The Logical name SYS$TIMEZONE_DAYLIGHTSAVING is not defined
LOCAL TIME ZONE = GB_EIRE - STANDARD TIME
LOCAL TIME = 22-FEB-05
DIFFERENTIAL FACTOR 0.00
TIMEZONE RULE
.
.
I ran UTC$TIME_SETUP to reset the time zone settings and create the logicals (btw UTC$TIME_SETUP has several entries for GB-EIRE in the main menu - is this a feature?).
Anyway, I played about with setting the timezone and TDF. So far NTP will still not synch. I ran an ntpdate to bring the clock back into line (as it is an operational system and was now 15 secs fast) which worked as expected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2005 06:08 AM
тАО02-22-2005 06:08 AM
Re: NTP won't synch to remote time source.
4.3 Managing Timezones, Timekeeping, UTC, and Daylight Savings?
You will want to use the command procedure:
* SYS$MANAGER:UTC$TIME_SETUP.COM
to configure the OpenVMS Timezone Differential Factor (TDF) on OpenVMS V6.0 and later. Select the BOTH option. This configures the OpenVMS TDF settings, though it may or may not configure the TDF and the timezone rules needed or used by other software packages. Please do NOT directly invoke the following command procedures:
* SYS$MANAGER:UTC$CONFIGURE_TDF.COM ! do not directly use
* SYS$MANAGER:UTC$TIMEZONE_SETUP.COM ! do not directly use
TCP/IP Services V5.0 and later use the OpenVMS TDF, UTC, and timezone support. Earlier versions use a TDF mechanism and timezone database that is internal to the TCP/IP Services package. Also on the earlier versions, the TDF must be manually configured within TCP/IP Services, in addition to the OpenVMS configuration of the TDF.
DECnet-Plus in V7.3 and later uses the OpenVMS TDF, UTC, and timezone support, and displays its timezone prompts using UTC$TIME_SETUP.COM. Earlier versions use a TDF TDF mechanism, timezone database, and automatic switch-over that is internal to the DECnet-Plus package. Also on earlier versions, the TDF must be configured within the DECnet-Plus DECdtss package, in addition to the OpenVMS configuration of the TDF.
Application code using HP C (formerly Compaq C, formerly DEC C) will use the OpenVMS UTC and TDF mechanisms when the C code is compiled on OpenVMS V7.0 and later (and when the macro _VMS_V6_SOURCE is NOT defined). HP C does NOT use the OpenVMS UTC and TDF mechanisms when the C code is compiled on OpenVMS releases prior to V7.0, or when the preprocessor declaration _VMS_V6_SOURCE is declared.
DCE DTS TDF details TDB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2005 10:30 PM
тАО02-23-2005 10:30 PM
Re: NTP won't synch to remote time source.
The time is being rejected due to sanity checks - but I am struggling to find out why. I have configured NTP to produce full logs (as to the default basic logs) after making the timezone changes, and will review the results today (and post any interesting points from them).
Any other advice always welcome!
Thanks, Trevor.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2005 03:51 AM
тАО02-25-2005 03:51 AM
Re: NTP won't synch to remote time source.
http://www.eecis.udel.edu/%7emills/database/status/arpa/arpa95c.pdf
Search for the word Sanity in the following:
http://www.lo0.com/ntp/ntpq.htm
This one explains the flash variable.
Could you attach the full output of the pstatus command?
Also, it would be interesting to see
mc tcpip$ntpq
host w2k3
peers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-27-2005 11:22 PM
тАО02-27-2005 11:22 PM
Re: NTP won't synch to remote time source.
I am reviewing the documents referenced - thanks!.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2005 03:33 PM
тАО02-28-2005 03:33 PM
Re: NTP won't synch to remote time source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2005 08:51 PM
тАО03-21-2005 08:51 PM
Re: NTP won't synch to remote time source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2005 10:26 PM
тАО10-03-2005 10:26 PM