<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic NTP Configuration and Use in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/ntp-configuration-and-use/m-p/5230270#M98991</link>
    <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;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:&lt;BR /&gt;&lt;BR /&gt;1) Configure Host&lt;BR /&gt;&lt;BR /&gt;TCPIP&amp;gt; SET HOST GPS_TEST /ADD=140.0.194.15/ALIAS="gps_test"&lt;BR /&gt;&lt;BR /&gt;2) Configure TCPIP$NTP.CONF&lt;BR /&gt;&lt;BR /&gt;driftfile SYS$SPECIFIC:[TCPIP$NTP]TCPIP$NTP.DRIFT&lt;BR /&gt;server gps_test&lt;BR /&gt;&lt;BR /&gt;3) Run @sys$startup:TCPIP$NTP_STARTUP&lt;BR /&gt;&lt;BR /&gt;The process is running, but nothing happens... I tried following:&lt;BR /&gt;&lt;BR /&gt;A) $  ntpdate -q 140.0.194.15&lt;BR /&gt;Socket bind error.&lt;BR /&gt;Verify that the NTP server (TCPIP$NTP) is not running on this host.&lt;BR /&gt;%SYSTEM-F-DUPLNAM, duplicate name&lt;BR /&gt;&lt;BR /&gt;B) $ ntptrace gps_test&lt;BR /&gt;GPS_TEST:       *Timeout*&lt;BR /&gt;&lt;BR /&gt;C) $ ntpq -n&lt;BR /&gt;&lt;BR /&gt;ntpq&amp;gt; peer&lt;BR /&gt;     remote           refid      st t when poll reach   delay   offset    disp&lt;BR /&gt;==============================================================================&lt;BR /&gt; 140.0.194.15    0.0.0.0         16 u    -   64    0     0.00    0.000 16000.0&lt;BR /&gt;ntpq&amp;gt;&lt;BR /&gt;ntpq&amp;gt; associations&lt;BR /&gt;ind assID status  conf reach auth condition  last_event cnt&lt;BR /&gt;===========================================================&lt;BR /&gt;  1 13028  8000   yes    no&lt;BR /&gt;&lt;BR /&gt;I don´t know what is happening. Actually the gps synchronize other two Windows machines. Can anyone help to solve this problem?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance, Fabio</description>
    <pubDate>Mon, 15 Mar 2010 18:45:13 GMT</pubDate>
    <dc:creator>fabiomacabu</dc:creator>
    <dc:date>2010-03-15T18:45:13Z</dc:date>
    <item>
      <title>NTP Configuration and Use</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ntp-configuration-and-use/m-p/5230270#M98991</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;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:&lt;BR /&gt;&lt;BR /&gt;1) Configure Host&lt;BR /&gt;&lt;BR /&gt;TCPIP&amp;gt; SET HOST GPS_TEST /ADD=140.0.194.15/ALIAS="gps_test"&lt;BR /&gt;&lt;BR /&gt;2) Configure TCPIP$NTP.CONF&lt;BR /&gt;&lt;BR /&gt;driftfile SYS$SPECIFIC:[TCPIP$NTP]TCPIP$NTP.DRIFT&lt;BR /&gt;server gps_test&lt;BR /&gt;&lt;BR /&gt;3) Run @sys$startup:TCPIP$NTP_STARTUP&lt;BR /&gt;&lt;BR /&gt;The process is running, but nothing happens... I tried following:&lt;BR /&gt;&lt;BR /&gt;A) $  ntpdate -q 140.0.194.15&lt;BR /&gt;Socket bind error.&lt;BR /&gt;Verify that the NTP server (TCPIP$NTP) is not running on this host.&lt;BR /&gt;%SYSTEM-F-DUPLNAM, duplicate name&lt;BR /&gt;&lt;BR /&gt;B) $ ntptrace gps_test&lt;BR /&gt;GPS_TEST:       *Timeout*&lt;BR /&gt;&lt;BR /&gt;C) $ ntpq -n&lt;BR /&gt;&lt;BR /&gt;ntpq&amp;gt; peer&lt;BR /&gt;     remote           refid      st t when poll reach   delay   offset    disp&lt;BR /&gt;==============================================================================&lt;BR /&gt; 140.0.194.15    0.0.0.0         16 u    -   64    0     0.00    0.000 16000.0&lt;BR /&gt;ntpq&amp;gt;&lt;BR /&gt;ntpq&amp;gt; associations&lt;BR /&gt;ind assID status  conf reach auth condition  last_event cnt&lt;BR /&gt;===========================================================&lt;BR /&gt;  1 13028  8000   yes    no&lt;BR /&gt;&lt;BR /&gt;I don´t know what is happening. Actually the gps synchronize other two Windows machines. Can anyone help to solve this problem?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance, Fabio</description>
      <pubDate>Mon, 15 Mar 2010 18:45:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ntp-configuration-and-use/m-p/5230270#M98991</guid>
      <dc:creator>fabiomacabu</dc:creator>
      <dc:date>2010-03-15T18:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: NTP Configuration and Use</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ntp-configuration-and-use/m-p/5230271#M98992</link>
      <description>Is TCPIP$NTP.CONF configured and correct?&lt;BR /&gt;&lt;BR /&gt;AskHL: Configuring NTP On OpenVMS:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://labs.hoffmanlabs.com/node/1280" target="_blank"&gt;http://labs.hoffmanlabs.com/node/1280&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Restrictions and details on ntpdate are there, too.&lt;BR /&gt;&lt;BR /&gt;Also get and load the "current" TCP/IP Services patch for V5.1, too.&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Mar 2010 18:56:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ntp-configuration-and-use/m-p/5230271#M98992</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2010-03-15T18:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: NTP Configuration and Use</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ntp-configuration-and-use/m-p/5230272#M98993</link>
      <description>You're using an older out of date version of the operating system and TCPIP.  I'm sure you know that and there are reasons.&lt;BR /&gt;&lt;BR /&gt;I believe you need to shut down ntp services (@sys$startup:tcpip$ntp_shutdown) to use the ntpq utility.  Your error message:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;Verify that the NTP server (TCPIP$NTP) is not running on this host.&lt;BR /&gt;&lt;BR /&gt;points to this as well.  &lt;BR /&gt;&lt;BR /&gt;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.</description>
      <pubDate>Mon, 15 Mar 2010 19:42:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ntp-configuration-and-use/m-p/5230272#M98993</guid>
      <dc:creator>Andy Bustamante</dc:creator>
      <dc:date>2010-03-15T19:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: NTP Configuration and Use</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ntp-configuration-and-use/m-p/5230273#M98994</link>
      <description>And of course use&lt;BR /&gt;&lt;BR /&gt;  @sys$startup:tcpip$ntp_startup&lt;BR /&gt;&lt;BR /&gt;to restart ntp when you've completed your debugging.  &lt;BR /&gt;&lt;BR /&gt;You should confirm your time zone settings as well.  Hoff may have a more current entry but start with &lt;A href="http://labs.hoffmanlabs.com/node/72" target="_blank"&gt;http://labs.hoffmanlabs.com/node/72&lt;/A&gt;</description>
      <pubDate>Mon, 15 Mar 2010 19:56:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ntp-configuration-and-use/m-p/5230273#M98994</guid>
      <dc:creator>Andy Bustamante</dc:creator>
      <dc:date>2010-03-15T19:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: NTP Configuration and Use</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ntp-configuration-and-use/m-p/5230274#M98995</link>
      <description>You have to have TCPIP$NTP.CONF setup properly.  There are examples in the template in SYS$SYSPECIFIC:[TCPIP$NTP].  Add your GPS NTP server into the list as those examples show and it's always good to have some backup sources just in case your local source goes away for some reason.  Once you have your local server properly added to the file you should stop and restart NTP to connect to your source(s).  The logfile, usually either TCPIP$NTP_RUN.LOG or TCPIP$NTP.LOG may not show "immediate" activity, you might have to wait fifteen or so minutes for the first log entries to accumulate.&lt;BR /&gt;&lt;BR /&gt;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.</description>
      <pubDate>Tue, 16 Mar 2010 02:58:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ntp-configuration-and-use/m-p/5230274#M98995</guid>
      <dc:creator>Bob Blunt</dc:creator>
      <dc:date>2010-03-16T02:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: NTP Configuration and Use</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ntp-configuration-and-use/m-p/5230275#M98996</link>
      <description>Andy said:&lt;BR /&gt;&lt;BR /&gt;"I believe you need to shut down ntp services (@sys$startup:tcpip$ntp_shutdown) to use the ntpq utility."&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Fri, 26 Mar 2010 20:42:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ntp-configuration-and-use/m-p/5230275#M98996</guid>
      <dc:creator>Aaron Sakovich</dc:creator>
      <dc:date>2010-03-26T20:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: NTP Configuration and Use</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ntp-configuration-and-use/m-p/5230276#M98997</link>
      <description>Thanks for all!!</description>
      <pubDate>Thu, 10 Jun 2010 11:35:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ntp-configuration-and-use/m-p/5230276#M98997</guid>
      <dc:creator>fabiomacabu</dc:creator>
      <dc:date>2010-06-10T11:35:29Z</dc:date>
    </item>
  </channel>
</rss>

