- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: NTP Configuration and Use
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
тАО03-15-2010 11:45 AM
тАО03-15-2010 11:45 AM
I have an Alphaserver running OpenVMS 7.2-2 and TCPIP Services v 5.1. I┬┤m trying to do a time synchronization with a GPS with a builtin NTP server. So I execute following steps:
1) Configure Host
TCPIP> SET HOST GPS_TEST /ADD=140.0.194.15/ALIAS="gps_test"
2) Configure TCPIP$NTP.CONF
driftfile SYS$SPECIFIC:[TCPIP$NTP]TCPIP$NTP.DRIFT
server gps_test
3) Run @sys$startup:TCPIP$NTP_STARTUP
The process is running, but nothing happens... I tried following:
A) $ ntpdate -q 140.0.194.15
Socket bind error.
Verify that the NTP server (TCPIP$NTP) is not running on this host.
%SYSTEM-F-DUPLNAM, duplicate name
B) $ ntptrace gps_test
GPS_TEST: *Timeout*
C) $ ntpq -n
ntpq> peer
remote refid st t when poll reach delay offset disp
==============================================================================
140.0.194.15 0.0.0.0 16 u - 64 0 0.00 0.000 16000.0
ntpq>
ntpq> associations
ind assID status conf reach auth condition last_event cnt
===========================================================
1 13028 8000 yes no
I don┬┤t know what is happening. Actually the gps synchronize other two Windows machines. Can anyone help to solve this problem?
Thanks in advance, Fabio
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2010 11:56 AM
тАО03-15-2010 11:56 AM
SolutionAskHL: Configuring NTP On OpenVMS:
http://labs.hoffmanlabs.com/node/1280
Restrictions and details on ntpdate are there, too.
Also get and load the "current" TCP/IP Services patch for V5.1, too.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2010 12:42 PM
тАО03-15-2010 12:42 PM
Re: NTP Configuration and Use
I believe you need to shut down ntp services (@sys$startup:tcpip$ntp_shutdown) to use the ntpq utility. Your error message:
>>>Verify that the NTP server (TCPIP$NTP) is not running on this host.
points to this as well.
The logs for ntp are in SYS$SPECIFIC:[TCPIP$NTP], the name of the log changed between versions. Also, there is an issue with older releases where the log file when ntp is started remains open. This can be a problem with purging. I believe this was first corrrected in an ECO for TCPIP 5.4.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2010 12:56 PM
тАО03-15-2010 12:56 PM
Re: NTP Configuration and Use
@sys$startup:tcpip$ntp_startup
to restart ntp when you've completed your debugging.
You should confirm your time zone settings as well. Hoff may have a more current entry but start with http://labs.hoffmanlabs.com/node/72
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-15-2010 07:58 PM
тАО03-15-2010 07:58 PM
Re: NTP Configuration and Use
There are several information sources on the Internet for NTP, most seem to be (I think) at the University of Delaware. You should be able to find troubleshooting information for the various NTP tools and utilities there. Some of those should give you a better idea what the output means. The real key for NTP on OpenVMS (even for the antique versions) is getting the .CONF file setup properly and starting the NTP service using that file. Unless, of course, you have reachability problems between the OpenVMS system and the GPS source.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2010 01:42 PM
тАО03-26-2010 01:42 PM
Re: NTP Configuration and Use
"I believe you need to shut down ntp services (@sys$startup:tcpip$ntp_shutdown) to use the ntpq utility."
Actually, it's when you use ntpdate that the NTP server must be shutdown, because ntpdate can be used to "manually" set the system time. ntpq is just for querying.
Just because an NTP server or client works with a Windows system does not mean that it will work with other systems that adhere to industry standards. Microsoft decided in their infinite wisdom NOT to adhere to the RFC spec, and used TCP instead of UDP for NTP traffic. I've seen several firewall appliances that do not take this into account, and must have custom rules crafted to allow Windows NTP traffic to pass. If there's a firewall or even a router in between you and the GPS or Windows systems, there is a distinct possibility that you may not be able to see it.
Do check your logs as Bob suggested; these should have some good clues. If necessary, you can set the logical TCPIP$NTP_LOG_LEVEL/System anywheres from 1 to 6 to increase the verbosity in the logs. Restart NTP after changing this logical.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-10-2010 04:35 AM
тАО06-10-2010 04:35 AM