<?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 challenges in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-challenges/m-p/2836091#M581453</link>
    <description>Ok that's the bad news, ntpdate jumps the time instantly. You original question states "the unix servers are 10 minutes behind the real time " so it looks to me like it would be ok to jump the time forward. &lt;BR /&gt;&lt;BR /&gt;concerning that 10 hours and no change could you stop and start xntpd on the HPUX box and tail the /var/adm/syslog/syslog.log file so we can see what is going on with your xntpd. Also ps -ef |grep xntpd would be nice after you restart it.</description>
    <pubDate>Wed, 30 Oct 2002 19:37:24 GMT</pubDate>
    <dc:creator>John Dvorchak</dc:creator>
    <dc:date>2002-10-30T19:37:24Z</dc:date>
    <item>
      <title>ntp challenges</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-challenges/m-p/2836084#M581446</link>
      <description>I am syncing up my hp unix server to an nt server.  The nt server has access to the internet and is sync up there.  I used SAM to set this up and in the syslog it states that it is syncing to the nt server.  However, the unix servers are 10 minutes behind the real time and I have not seen any changes over the last 10 hours to the unix time.  What else do I need to do.</description>
      <pubDate>Wed, 30 Oct 2002 15:07:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-challenges/m-p/2836084#M581446</guid>
      <dc:creator>Shawn Miller_2</dc:creator>
      <dc:date>2002-10-30T15:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: ntp challenges</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-challenges/m-p/2836085#M581447</link>
      <description>Hi&lt;BR /&gt;look at "man xntpd"&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;xntpd exits if it detects that the system clock is off by 1000 seconds or more.&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;1000 seconds are more than 10 minutes but are you running in this problem ??&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Wed, 30 Oct 2002 15:09:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-challenges/m-p/2836085#M581447</guid>
      <dc:creator>Christian Gebhardt</dc:creator>
      <dc:date>2002-10-30T15:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: ntp challenges</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-challenges/m-p/2836086#M581448</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Has your NT server been setup as XNTP server ?&lt;BR /&gt;&lt;BR /&gt;check on unix.&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/xntpd stop&lt;BR /&gt;&lt;BR /&gt;ntpdate &lt;IPADRES-NT-SERVER&gt;&lt;BR /&gt;&lt;BR /&gt;tail -20 /var/adm/messages&lt;BR /&gt;&lt;BR /&gt;Robert-Jan.&lt;/IPADRES-NT-SERVER&gt;</description>
      <pubDate>Wed, 30 Oct 2002 15:23:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-challenges/m-p/2836086#M581448</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2002-10-30T15:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: ntp challenges</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-challenges/m-p/2836087#M581449</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;If 'ntpd' sees a time difference in excess of 1000 seconds synchronization will cease.&lt;BR /&gt;&lt;BR /&gt;You will need to step your time manually&lt;BR /&gt;If you are running 11.x, you can use 'date -a [-]sss[.fff]' to slew the server's clock backwards or forwards.  When the clock is close to the correct time, restart your 'ntpd' services.&lt;BR /&gt;&lt;BR /&gt;Otherwise, stop any time-critical processes (particularly databases where transaction timestamps are critical to integrity) and step your clock.  If the adjustment is backwards, it may be simplest to reboot.  Otherwise, restart 'ntpd' after the clock adjustment.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 30 Oct 2002 15:29:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-challenges/m-p/2836087#M581449</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-10-30T15:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: ntp challenges</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-challenges/m-p/2836088#M581450</link>
      <description>You can also shut off xntpd with:&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/xntpd stop&lt;BR /&gt;&lt;BR /&gt;Then manually sync the time to the nt box:&lt;BR /&gt;&lt;BR /&gt;ntpdate 123.123.123.2 (the nt's ipaddress)&lt;BR /&gt;&lt;BR /&gt;Then restart xntpd:&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/xntpd start&lt;BR /&gt;&lt;BR /&gt;Verify that it is working:&lt;BR /&gt;&lt;BR /&gt;tail /var/adm/syslog/syslog.log&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Oct 2002 18:02:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-challenges/m-p/2836088#M581450</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2002-10-30T18:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: ntp challenges</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-challenges/m-p/2836089#M581451</link>
      <description>Thanks for the additional info.  Again my server is 10 mintues off so I am under the 1000 seconds.  How does ntpdate update the clock if you need to go back in time.  Does it slow the server clock down until it catches up or does it make jumbs back.  I have oracle running on these servers and jumping the date back is probably a bad idea.</description>
      <pubDate>Wed, 30 Oct 2002 19:29:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-challenges/m-p/2836089#M581451</guid>
      <dc:creator>Shawn Miller_2</dc:creator>
      <dc:date>2002-10-30T19:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: ntp challenges</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-challenges/m-p/2836090#M581452</link>
      <description>Hi Shawn,&lt;BR /&gt;&lt;BR /&gt;I thought my math was failing me as well there for a second....&lt;BR /&gt;&lt;BR /&gt;You have the two options already:&lt;BR /&gt;1) Slew the time with date -a as JRF suggests. That's what I'd prefer.&lt;BR /&gt;OR&lt;BR /&gt;2) Stop xntpd &amp;amp; jump it forward with ntpdate as John has stated.&lt;BR /&gt;&lt;BR /&gt;Either way you'll be fine as your moving forward - not backward. You'll just see more "gaps" in logs via method 2 but it should cause no harm.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 30 Oct 2002 19:36:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-challenges/m-p/2836090#M581452</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2002-10-30T19:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: ntp challenges</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-challenges/m-p/2836091#M581453</link>
      <description>Ok that's the bad news, ntpdate jumps the time instantly. You original question states "the unix servers are 10 minutes behind the real time " so it looks to me like it would be ok to jump the time forward. &lt;BR /&gt;&lt;BR /&gt;concerning that 10 hours and no change could you stop and start xntpd on the HPUX box and tail the /var/adm/syslog/syslog.log file so we can see what is going on with your xntpd. Also ps -ef |grep xntpd would be nice after you restart it.</description>
      <pubDate>Wed, 30 Oct 2002 19:37:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-challenges/m-p/2836091#M581453</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2002-10-30T19:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: ntp challenges</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-challenges/m-p/2836092#M581454</link>
      <description>Slewing time (the date command or ntpdate -B) is done by slowing or speeding up the clock just slightly, such that every second in the day will occur. This keeps curernt production jobs from getting confused and cronjobs from not running.&lt;BR /&gt;&lt;BR /&gt;The key is that a reboot will set the time directly from the NT server early in the reboot process. But before you do anything else, make sure the NT server is actually working! Use the command:&lt;BR /&gt;&lt;BR /&gt;ntpq -p 123.456.789.0&lt;BR /&gt;&lt;BR /&gt;or whatever the NT server's IP or hostname might be. If that fails, xntpd has been logging all sort of errors in your syslog about a dead server.  Here's what a good server might look like:&lt;BR /&gt;&lt;BR /&gt;ntpq -p&lt;BR /&gt;     remote           refid      st t when poll reach   delay   offset    disp&lt;BR /&gt;==============================================================================&lt;BR /&gt;*gpstime.srv.gxp gpinet2.gxpac.c  3 u    1   64  377     2.01    0.107    0.08&lt;BR /&gt;+gpstime2.srv.ga gpinet2.gxpac.c  3 u    6   64  377     1.83    6.195    0.58&lt;BR /&gt;+gpstime3.srv.ga gpinet2.gxpac.c  3 u   47   64  377     1.94   13.071    0.31&lt;BR /&gt;&lt;BR /&gt;The columns won't match vertically because of the proportional font used in the ITRC Forums, but the key is: reach should be 377 meaning that the server is reachable and reasonable as a time server.  If instead you get host unreachable or connection refused, that is the real problem. Again, all of these errors are logged in /var/adm/syslog/syslog.log--just grep for xntp.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Oct 2002 19:46:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-challenges/m-p/2836092#M581454</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-10-30T19:46:58Z</dc:date>
    </item>
  </channel>
</rss>

