<?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 Re: NTP Issue with 10.20 System in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-issue-with-10-20-system/m-p/3941037#M545183</link>
    <description>Hi Andrew:&lt;BR /&gt;&lt;BR /&gt;I do these things via command line, not SAM.&lt;BR /&gt;&lt;BR /&gt;That said, if your '/etc/ntp.conf' file has the correct time sources, stop and start the 'xntpd' daemon and then monitor with 'ntpq -pn'.  Of course, it will take a few minutes to synchronize.&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/xntpd stop&lt;BR /&gt;# /sbin/init.d/xntpd start&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Thu, 08 Feb 2007 10:05:02 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2007-02-08T10:05:02Z</dc:date>
    <item>
      <title>NTP Issue with 10.20 System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-issue-with-10-20-system/m-p/3941036#M545182</link>
      <description>I am trying to reconfigure ntp on a 10.20 system to synchronize with two time servers as opposed to the current ones. The current time sources are the LOCAL system and another 10.20 system that is being retired. &lt;BR /&gt;&lt;BR /&gt;I have gone into SAM and have added the two servers, made sure the protocol version is 3, and even marked both as preferred servers. I am not completely positive, but I believe both new time servers are Windows 200x systems. Once that was done, I restarted NTP.&lt;BR /&gt;&lt;BR /&gt;The problem that I am seeing is that even though the changes are apparent in SAM as well as the /etc/ntp.conf file, whenever I run ntpq -p I still have the original servers in the output as opposed to the new ones. I verified that DNS is working by running nslookup on both new servers as well as various other domainnames. &lt;BR /&gt;&lt;BR /&gt;Does anyone have any ideas as to why this is happening, and how I can correct it? Thanks.</description>
      <pubDate>Thu, 08 Feb 2007 09:58:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-issue-with-10-20-system/m-p/3941036#M545182</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2007-02-08T09:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: NTP Issue with 10.20 System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-issue-with-10-20-system/m-p/3941037#M545183</link>
      <description>Hi Andrew:&lt;BR /&gt;&lt;BR /&gt;I do these things via command line, not SAM.&lt;BR /&gt;&lt;BR /&gt;That said, if your '/etc/ntp.conf' file has the correct time sources, stop and start the 'xntpd' daemon and then monitor with 'ntpq -pn'.  Of course, it will take a few minutes to synchronize.&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/xntpd stop&lt;BR /&gt;# /sbin/init.d/xntpd start&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 08 Feb 2007 10:05:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-issue-with-10-20-system/m-p/3941037#M545183</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-02-08T10:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: NTP Issue with 10.20 System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-issue-with-10-20-system/m-p/3941038#M545184</link>
      <description>Andrew,&lt;BR /&gt;have you restarted the service ?&lt;BR /&gt;&lt;BR /&gt;For further help please see:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1052584" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1052584&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;# /sbin/init.d/xntpd stop&lt;BR /&gt;# /sbin/init.d/xntpd start&lt;BR /&gt;&lt;BR /&gt;Please also read:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt; on how to reward any useful answers given to your questions.</description>
      <pubDate>Thu, 08 Feb 2007 10:09:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-issue-with-10-20-system/m-p/3941038#M545184</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-02-08T10:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: NTP Issue with 10.20 System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-issue-with-10-20-system/m-p/3941039#M545185</link>
      <description>Hi there --&lt;BR /&gt;&lt;BR /&gt;I ran the xntpd commands and unfortunately there was no change in the output. Is there something else I could try?</description>
      <pubDate>Thu, 08 Feb 2007 10:11:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-issue-with-10-20-system/m-p/3941039#M545185</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2007-02-08T10:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: NTP Issue with 10.20 System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-issue-with-10-20-system/m-p/3941040#M545186</link>
      <description>xntpd is not the tool to test NTP services. You can look in syslog and you'll likely see a lot of xntpd errors, but not a lot to go on. So find the xntpd process and kill it (ps -e | grep xntpd).&lt;BR /&gt; &lt;BR /&gt;Now change your /etc/ntp.con file to something very simple (remove all the comments -- the original copy is still in /usr/newconfig/etc/ntp.conf)&lt;BR /&gt; &lt;BR /&gt;server 0.us.pool.ntp.org                # US pool 0&lt;BR /&gt;server 1.us.pool.ntp.org                # US pool 1&lt;BR /&gt;server 2.us.pool.ntp.org                # US pool 2&lt;BR /&gt;fudge  127.127.1.1 stratum 10           # localhost fallback&lt;BR /&gt;driftfile /etc/ntp.drift                # monitor drift&lt;BR /&gt; &lt;BR /&gt;Do not use version or prefer...NTP does a good job in figuring all this out. The above is recommended for U.S. based systems that can reach NTP servers on the open Internet. Use this page to find other NTP pool servers:&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://www.pool.ntp.org/" target="_blank"&gt;http://www.pool.ntp.org/&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;If your server is blocked on port 123 for the Internet, replace the server list with your internal servers. Then test that you can actually reach a specific server *AND* that server will honor your request:&lt;BR /&gt; &lt;BR /&gt;ntpdate -q 0.us.pool.ntp.org&lt;BR /&gt; &lt;BR /&gt;If you see the error:&lt;BR /&gt;"no server suitable for synchronization found"&lt;BR /&gt;then the selected server is unreachable (blocked) or the server isn't running NTP or won't allow your machine to request a sync. A normal reply looks like this:&lt;BR /&gt; &lt;BR /&gt;ntpdate -q 0.us.pool.ntp.org&lt;BR /&gt;server 192.52.107.241, stratum 5, offset 0.020184, delay 0.15833&lt;BR /&gt; 8 Feb 11:34:48 ntpdate[1548]: adjust time server 192.52.107.241 offset 0.020184 sec&lt;BR /&gt;  &lt;BR /&gt;NOTE: ntpdate -q (and ntpdate -d) will NOT change the time -- they are used to debug a connection. Once you get ntpdate -q working, then test all the server you will use. NTP is particularly adept at selecting the best sources but it's a good idea to test all that are in your list (always use more than 1 if you use the Internet, 3 to 5 are recommended). &lt;BR /&gt; &lt;BR /&gt;Once you get a valid response from all servers selected, look at the current time on your system. NTP will not adjust the time if it is off by more than about 10 minutes. Since changing the time on most servers with databases or other time-dependent processes can create a lot of problems, don't force a time change until:&lt;BR /&gt; &lt;BR /&gt;- You have edited /etc/rc.config.d/netdaemons to change the name of the bootup time server.&lt;BR /&gt; &lt;BR /&gt;then:&lt;BR /&gt; &lt;BR /&gt;- shutdown all time critical processes, then run ntpdate -b a.working.ntp.server to change the time. Then start xntpd manually. Or you can run: &lt;BR /&gt; &lt;BR /&gt;/sbin/init.d/xntpd start&lt;BR /&gt; &lt;BR /&gt;which does the same thing. &lt;BR /&gt; &lt;BR /&gt;or&lt;BR /&gt; &lt;BR /&gt;- reboot&lt;BR /&gt; &lt;BR /&gt;During reboot, ntpdate -b is automatically run to adjust the time just after networking is up but before time-critical processes are run. Then to monitor NTP stats, use: ntpq -p &lt;BR /&gt;You may want to divert the 'noisy' syslog messages from ntp into a different log. To do this:&lt;BR /&gt; &lt;BR /&gt;edit: /etc/rc.config.d/netdaemons and change the line:&lt;BR /&gt; &lt;BR /&gt;export XNTPD_ARGS=""&lt;BR /&gt;to&lt;BR /&gt;export XNTPD_ARGS="-l /var/adm/ntp.log"&lt;BR /&gt; &lt;BR /&gt;Then kill xntpd and restart it with:&lt;BR /&gt; &lt;BR /&gt;xntpd -l /var/adm/ntp.log&lt;BR /&gt; &lt;BR /&gt;Also update your log-watcher to include the new logfile so it doesn't grow out of control after a few months. Be sure to check the log once in a while for errors (syslog.log or ntp.log)</description>
      <pubDate>Thu, 08 Feb 2007 11:51:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-issue-with-10-20-system/m-p/3941040#M545186</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-02-08T11:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: NTP Issue with 10.20 System</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-issue-with-10-20-system/m-p/3941041#M545187</link>
      <description>The stone knives and bearskin version might be to ps -ef | grep ntp to find the pid of the xntpd and then shoot it in the head with kill -i &lt;PID&gt;  and then start it again by hand with a direct invokation of xntpd  rather than going through the service start/stop stuff.&lt;BR /&gt;&lt;BR /&gt;ISTR that not all Windows servers serve time a la NTP...&lt;/PID&gt;</description>
      <pubDate>Thu, 08 Feb 2007 20:51:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-issue-with-10-20-system/m-p/3941041#M545187</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2007-02-08T20:51:09Z</dc:date>
    </item>
  </channel>
</rss>

