<?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 forced sync in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-forced-sync/m-p/2838297#M90602</link>
    <description>If you really want to do this the quick and dirty way, leave ntp running, and set the system date to a time very close.  use:&lt;BR /&gt; date -u mmddhhmm&lt;BR /&gt;Then, if you are close, like a minute or so, ntp will sync the time.&lt;BR /&gt;&lt;BR /&gt;Note:  The date command is used in UTC (Universal time.)  For me in Utah, we are something like 7 or 8 hours behind Universal Time.  I always get mixed up about which right after a Daylight Savings change...&lt;BR /&gt;&lt;BR /&gt;Hope it helps&lt;BR /&gt;&lt;BR /&gt;John&lt;BR /&gt;</description>
    <pubDate>Mon, 04 Nov 2002 21:51:32 GMT</pubDate>
    <dc:creator>John Payne_2</dc:creator>
    <dc:date>2002-11-04T21:51:32Z</dc:date>
    <item>
      <title>NTP forced sync</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-forced-sync/m-p/2838291#M90596</link>
      <description>Hello all&lt;BR /&gt;&lt;BR /&gt;Just a "simple" question. &lt;BR /&gt;Is there any way to force NTP deamon to syncronize the hour with the peers even if the diference between server's hour is more than 1000 seconds?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;SN</description>
      <pubDate>Mon, 04 Nov 2002 12:25:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-forced-sync/m-p/2838291#M90596</guid>
      <dc:creator>Starrynight_1</dc:creator>
      <dc:date>2002-11-04T12:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: NTP forced sync</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-forced-sync/m-p/2838292#M90597</link>
      <description>You can stop and start NTP Daemon ( xntpd ) or send a kill -1 signal to it.&lt;BR /&gt;Try this and tell us how does it works.&lt;BR /&gt;Juanma.</description>
      <pubDate>Mon, 04 Nov 2002 12:25:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-forced-sync/m-p/2838292#M90597</guid>
      <dc:creator>Juan Manuel López</dc:creator>
      <dc:date>2002-11-04T12:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: NTP forced sync</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-forced-sync/m-p/2838293#M90598</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/xntp stop&lt;BR /&gt;&lt;BR /&gt;ntpdate ip-adres-timeserver&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/xntpstart&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;RoebrtJan.</description>
      <pubDate>Mon, 04 Nov 2002 12:28:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-forced-sync/m-p/2838293#M90598</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2002-11-04T12:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: NTP forced sync</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-forced-sync/m-p/2838294#M90599</link>
      <description>SN,&lt;BR /&gt;&lt;BR /&gt;You can use ntpdate to accomplish this, but you need to be certain there will be no adverse effects.  Database logs, in particular, don't like to have their time set backwards.  Use with caution.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 04 Nov 2002 12:37:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-forced-sync/m-p/2838294#M90599</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-11-04T12:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: NTP forced sync</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-forced-sync/m-p/2838295#M90600</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;As far as I know NTP will allow synchronisation to a server that has a time difference of less than one hour.  It will take a huge time step, but it will (should) work.  If the time difference is more than one hour, no attempts are made to synchronize times; an error message is logged indicating that the difference is too great and the time should be set manually, somewhere around the actual time, after which xntpd can take over.&lt;BR /&gt;In other words, the xntpd process does not have to be killed or restarted in order to synchronize times.  It can take a while, however, NTP is a slow process.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Timo</description>
      <pubDate>Mon, 04 Nov 2002 12:50:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-forced-sync/m-p/2838295#M90600</guid>
      <dc:creator>Timo Ruiter</dc:creator>
      <dc:date>2002-11-04T12:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: NTP forced sync</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-forced-sync/m-p/2838296#M90601</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The subject of time keeping and the "danger" of abruptly stepping time (particularly backwards) has been discussed often.&lt;BR /&gt;&lt;BR /&gt;By design, the 'xntpd' daemon will die if the difference in the server's time and the clock to which it is try to synchronize is greater than 1000 seconds.  This prevents synchronizaton to a clock that has run wild.&lt;BR /&gt;&lt;BR /&gt;In my opinion, if you are initially correcting such a difference is times you should shutdown all databases, manually set the time and reboot to start 'cron', 'xntpd' and your applications cleanly and quickly.  Yes, you can use 'ntpdate' to step or slew the time (see its man pages), and yes, you can use 'data -a' to slew the time but these methods will take quite a while to bring synchronization.  If correct timekeeping has mattered little to you then a reboot shouldn't matter either.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Nov 2002 13:28:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-forced-sync/m-p/2838296#M90601</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-11-04T13:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: NTP forced sync</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-forced-sync/m-p/2838297#M90602</link>
      <description>If you really want to do this the quick and dirty way, leave ntp running, and set the system date to a time very close.  use:&lt;BR /&gt; date -u mmddhhmm&lt;BR /&gt;Then, if you are close, like a minute or so, ntp will sync the time.&lt;BR /&gt;&lt;BR /&gt;Note:  The date command is used in UTC (Universal time.)  For me in Utah, we are something like 7 or 8 hours behind Universal Time.  I always get mixed up about which right after a Daylight Savings change...&lt;BR /&gt;&lt;BR /&gt;Hope it helps&lt;BR /&gt;&lt;BR /&gt;John&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Nov 2002 21:51:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-forced-sync/m-p/2838297#M90602</guid>
      <dc:creator>John Payne_2</dc:creator>
      <dc:date>2002-11-04T21:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: NTP forced sync</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-forced-sync/m-p/2838298#M90603</link>
      <description>This is one of those "it depends" questions. If you are&lt;BR /&gt;setting the time forward then there is no real problem setting the date forward with a date command or an ntpdate command to steo the time forward abruptly. You would the start the NTP daemon and all would be well. &lt;BR /&gt;&lt;BR /&gt;However, if you need to set the time backwards then the above method is very dumb. It is very possible that you would have a database transaction where transaction 1000 happens before transaction 999. Try to explain to a customer why his A/R is correct in that case!&lt;BR /&gt;On development machines where timestamps are used to determine source/object file dependencies, you can confuse the make utility terribly. You can also cause incremental backups to miss files. For these reasons, if you must adjust time, the smart play is to use date -a to slew the time. The time might not be accurate for a bit but it would be self-consistant.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Nov 2002 22:08:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-forced-sync/m-p/2838298#M90603</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-11-04T22:08:23Z</dc:date>
    </item>
  </channel>
</rss>

