<?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: Time Synchronisation in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326623#M671007</link>
    <description>attached file is steps how to configure the ntp on hp-ux and you have then to restart the servers and wait on them to take the effect</description>
    <pubDate>Mon, 22 Dec 2008 13:56:17 GMT</pubDate>
    <dc:creator>Fadia Almarei</dc:creator>
    <dc:date>2008-12-22T13:56:17Z</dc:date>
    <item>
      <title>Time Synchronisation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326610#M670994</link>
      <description>trying to sync a client to a master both servers are internal.&lt;BR /&gt;master (10.2.2.28)&lt;BR /&gt;        etc/ntp.conf&lt;BR /&gt;          server 127.127.1.1&lt;BR /&gt;        etc/rc.config.d/netdaemons &lt;BR /&gt;             xtnpd=1 &lt;BR /&gt;client..etc/ntp.conf&lt;BR /&gt;          server artemis version 3 &lt;BR /&gt;            *(artemis is hostname of master)&lt;BR /&gt;         etc/rc.config.d/netdaemons&lt;BR /&gt;             xtnpd=1 &lt;BR /&gt;             ntpdate_server=10.2.2.28&lt;BR /&gt;&lt;BR /&gt;stopped and started xtnpd on both servers.&lt;BR /&gt;client is 4 minutes faster than master and it doesn't seem to be slowing down... did i miss a step somewhere ??</description>
      <pubDate>Fri, 19 Dec 2008 13:24:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326610#M670994</guid>
      <dc:creator>Donald Thaler</dc:creator>
      <dc:date>2008-12-19T13:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Time Synchronisation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326611#M670995</link>
      <description>Adding a drift file in /etc/ntp.conf is a ggod idea. I don't know if xntpd uses a default if you don't specify it. &lt;BR /&gt;&lt;BR /&gt;Check the syslog for any xntp messages.&lt;BR /&gt;&lt;BR /&gt;In etc/rc.config.d/netdaemons add debugging option and if you want a separate log file option as in XNTPD_ARGS="-d -l /var/adm/syslog/xntpd.log". Then restart the daemon and check the log.</description>
      <pubDate>Fri, 19 Dec 2008 13:48:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326611#M670995</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-12-19T13:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Time Synchronisation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326612#M670996</link>
      <description>How long have you waited for it to correct? Does ntpq -p on the client look good?</description>
      <pubDate>Fri, 19 Dec 2008 19:27:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326612#M670996</guid>
      <dc:creator>Heironimus</dc:creator>
      <dc:date>2008-12-19T19:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Time Synchronisation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326613#M670997</link>
      <description>the ntpq -p on the client is not returning the full name of the master, instead of artemis.lccc.edu, it's returning artemis.lccc.ed and the ref id is 0.0.0</description>
      <pubDate>Fri, 19 Dec 2008 19:46:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326613#M670997</guid>
      <dc:creator>Donald Thaler</dc:creator>
      <dc:date>2008-12-19T19:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: Time Synchronisation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326614#M670998</link>
      <description>The ntpq output is truncated to fit the field width, so don't worry about a missing "u" at the end of the server name. The refid is "0.0.0.0" because the server isn't configured with an upstream time provider and is also not a cause for concern. Is there a character (like a "*" or "+") in the first column next to the server name?&lt;BR /&gt;&lt;BR /&gt;The time that has passed since you started ntpd on the client is important because a 4-minute difference could take days to correct.&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Dec 2008 20:29:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326614#M670998</guid>
      <dc:creator>Heironimus</dc:creator>
      <dc:date>2008-12-19T20:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Time Synchronisation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326615#M670999</link>
      <description>no special character in front of server name..  guess i'll wait till monday to see the time on the server is changing</description>
      <pubDate>Fri, 19 Dec 2008 20:48:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326615#M670999</guid>
      <dc:creator>Donald Thaler</dc:creator>
      <dc:date>2008-12-19T20:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Time Synchronisation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326616#M671000</link>
      <description>when i do ntpq -p on the master i get this ntpq: read: Can't assign requested address</description>
      <pubDate>Fri, 19 Dec 2008 20:53:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326616#M671000</guid>
      <dc:creator>Donald Thaler</dc:creator>
      <dc:date>2008-12-19T20:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: Time Synchronisation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326617#M671001</link>
      <description>Hi Donald:&lt;BR /&gt;&lt;BR /&gt;The "can't assign..." message from 'ntpq' means that XNTP has died or isn't running.&lt;BR /&gt;&lt;BR /&gt;Verify that your server's time is actually correct in UTC units:&lt;BR /&gt;&lt;BR /&gt;# date -u &lt;BR /&gt;&lt;BR /&gt;...should match a real world clock.  If not, 'Xntpd' will not syncrhonize since it uses UTC time.  Your 'TZ" setting simply changes your perception of UTC to a localtime by adding or subtracting an approprate offset.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 19 Dec 2008 21:19:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326617#M671001</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-12-19T21:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Time Synchronisation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326618#M671002</link>
      <description>I configure it in sam that way the file is correctly configured.</description>
      <pubDate>Sat, 20 Dec 2008 17:22:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326618#M671002</guid>
      <dc:creator>Emil Velez</dc:creator>
      <dc:date>2008-12-20T17:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Time Synchronisation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326619#M671003</link>
      <description>ntp is very easy to configure but impossible to make work if you cannot contact the ntp servers. Before you do anything, make sure xntp is not running:&lt;BR /&gt; &lt;BR /&gt;UNIX95=1 ps -fC xntdp&lt;BR /&gt; &lt;BR /&gt;That should return nothing which is correct. Otherwise, kill the xntpd process. Now test that your server can see the NTP server:&lt;BR /&gt; &lt;BR /&gt;ntpq -p 10.2.2.28&lt;BR /&gt; &lt;BR /&gt;You will see something like this:&lt;BR /&gt; &lt;BR /&gt;# ntpqp -p 10.2.2.28                                                                                                &lt;BR /&gt;     remote           refid      st t when poll reach   delay   offset    disp&lt;BR /&gt;==============================================================================&lt;BR /&gt; 192.147.38.60   0.0.0.0         16 -    - 1024    0     0.00    0.000 16000.0&lt;BR /&gt;*ntp.pbx.org     clock.nyc.he.ne  2 u  755 1024  377    13.18   18.193    9.28&lt;BR /&gt;+kyna.dalbaech.n time-A.timefreq  2 u  824 1024  377    59.59  -29.138    0.53&lt;BR /&gt; &lt;BR /&gt;The first line indicates that server 10.2.2.28 cannot get any time info from 192.147.38.60. That is the remote server's problem, not yours. The next 2 lines show that the remote server can talk to these time servers. This is a normal display.&lt;BR /&gt; &lt;BR /&gt;However, if you get errors from ntpq such as unreachable, can't assign address, timeout, etc, don't go any farther. Your server cannot talk NTP to 10.2.2.28. Until this is fixed, the rest of the steps will be ineffective.&lt;BR /&gt; &lt;BR /&gt;Once you fix the communication problem, now you can configure ntp.conf. While there are dozens of options, leave all that out and make it as simple as possible:&lt;BR /&gt; &lt;BR /&gt;# cat /etc/ntp.conf&lt;BR /&gt;10.2.2.28 # company serverserver &lt;BR /&gt;fudge  127.127.1.1 stratum 10 # localhost fallback&lt;BR /&gt;driftfile /etc/ntp.drift&lt;BR /&gt; &lt;BR /&gt;And that's it. NOTE: 127.127.1.1 should always have stratum 10 listed. This address is a fallback for NTP to use itself for sync until the servers return. But it must be the last choice, hence stratum 10.&lt;BR /&gt;</description>
      <pubDate>Sun, 21 Dec 2008 00:28:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326619#M671003</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-12-21T00:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: Time Synchronisation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326620#M671004</link>
      <description>how do i trouble shoot 'Your server cannot talk NTP to 10.2.2.28. Until this is fixed, the rest of the steps will be ineffective.'&lt;BR /&gt;i'm still getting "Can't assign requested address" ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 21 Dec 2008 18:24:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326620#M671004</guid>
      <dc:creator>Donald Thaler</dc:creator>
      <dc:date>2008-12-21T18:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Time Synchronisation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326621#M671005</link>
      <description>&amp;gt; i'm still getting "Can't assign requested address" ? &lt;BR /&gt;  &lt;BR /&gt;Did you simply type the command: ntpq -p? If so, this is normal because you told ntpq to query xntpd on your local server and it is not running, or not running correctly. Be sure you type the command completely:&lt;BR /&gt; &lt;BR /&gt;ntpq -p 10.2.2.28&lt;BR /&gt; &lt;BR /&gt;Once you get a good response, change your ntp.conf file as mentioned above and stop/restart xntpd:&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;then look at the end of syslog.log:&lt;BR /&gt; &lt;BR /&gt;tail /var/adm/syslog/syslog.log&lt;BR /&gt; &lt;BR /&gt;which will show what happened when ntpdate was run to set the current time.&lt;BR /&gt;</description>
      <pubDate>Sun, 21 Dec 2008 21:03:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326621#M671005</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-12-21T21:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Time Synchronisation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326622#M671006</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Did you check whether your xntpd demon is  running or not ?&lt;BR /&gt;Are you using drift file ? if not then try with drift file restart the demon&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;after restart give &lt;BR /&gt;ntpd â  q&lt;BR /&gt;&lt;BR /&gt;Then check you /var/adm/syslog/syslog.log&lt;BR /&gt;&lt;BR /&gt;Still problem then post last 100 line of your syslog.log&lt;BR /&gt;&lt;BR /&gt;Suraj&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Dec 2008 04:39:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326622#M671006</guid>
      <dc:creator>Suraj K Sankari</dc:creator>
      <dc:date>2008-12-22T04:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Time Synchronisation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326623#M671007</link>
      <description>attached file is steps how to configure the ntp on hp-ux and you have then to restart the servers and wait on them to take the effect</description>
      <pubDate>Mon, 22 Dec 2008 13:56:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326623#M671007</guid>
      <dc:creator>Fadia Almarei</dc:creator>
      <dc:date>2008-12-22T13:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Time Synchronisation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326624#M671008</link>
      <description>following fadia's suggestion i get this in the syslog.log files&lt;BR /&gt;&lt;BR /&gt;from client&lt;BR /&gt;&lt;BR /&gt;Dec 22 09:40:02 apollo xntpd[450]: tickadj = 625, tick = 10000, tvu_maxslew = 61875&lt;BR /&gt;Dec 22 09:40:02 apollo xntpd[450]: precision = 6 usec&lt;BR /&gt;&lt;BR /&gt;from server&lt;BR /&gt;&lt;BR /&gt;Dec 22 09:45:49 artemis xntpd[3269]: refclock_open: /dev/hpgps1: No such file or directory&lt;BR /&gt;Dec 22 09:45:49 artemis xntpd[3269]: configuration of 127.127.26.1 failed&lt;BR /&gt;Dec 22 09:47:43 artemis xntpd[3405]: tickadj = 625, tick = 10000, tvu_maxslew = 61875&lt;BR /&gt;Dec 22 09:47:43 artemis xntpd[3405]: precision = 6 usec&lt;BR /&gt;Dec 22 09:47:43 artemis xntpd[3405]: refclock_open: /dev/hpgps1: No such file or directory&lt;BR /&gt;Dec 22 09:47:43 artemis xntpd[3405]: configuration of 127.127.26.1 failed&lt;BR /&gt;Dec 22 09:49:48 artemis xntpd[3456]: tickadj = 625, tick = 10000, tvu_maxslew = 61875&lt;BR /&gt;Dec 22 09:49:48 artemis xntpd[3456]: precision = 25 usec&lt;BR /&gt;Dec 22 09:49:48 artemis xntpd[3456]: refclock_open: /dev/hpgps1: No such file or directory&lt;BR /&gt;Dec 22 09:49:48 artemis xntpd[3456]: configuration of 127.127.26.1 failed&lt;BR /&gt;&lt;BR /&gt;there is not ntp.drift file on either server?&lt;BR /&gt;&lt;BR /&gt;the ntpq -p 10.2.2.28 now returns this on the client &lt;BR /&gt;# ntpq -p 10.2.2.28&lt;BR /&gt;     remote           refid      st t when poll reach   delay   offset    disp&lt;BR /&gt;==============================================================================&lt;BR /&gt;*LOCAL(0)        LOCAL(0)         3 l  66m   64  377     0.00    0.000   10.01&lt;BR /&gt; artemis.lccc.ed 0.0.0.0         16 -    -   64    0     0.00    0.000 16000.0&lt;BR /&gt;&lt;BR /&gt;the time on the client remains 5 minutes faster than the time on the server&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Dec 2008 15:00:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326624#M671008</guid>
      <dc:creator>Donald Thaler</dc:creator>
      <dc:date>2008-12-22T15:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: Time Synchronisation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326625#M671009</link>
      <description>on the client:&lt;BR /&gt;after stopping and starting xntpd...&lt;BR /&gt;Dec 22 14:15:11 apollo xntpd[23525]: synchronized to 10.2.2.28, stratum=4&lt;BR /&gt;Dec 22 14:15:11 apollo xntpd[23525]: time error -3918.453608 is way too large (set clock manually)&lt;BR /&gt;&lt;BR /&gt;nothing shows up in the ntp.drift on the client, on the server the value is 0.0.0..&lt;BR /&gt;&lt;BR /&gt;can i specify a smaller value in the ntp.drift file file on the client, and see if the client time changes ?</description>
      <pubDate>Mon, 22 Dec 2008 19:19:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326625#M671009</guid>
      <dc:creator>Donald Thaler</dc:creator>
      <dc:date>2008-12-22T19:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Time Synchronisation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326626#M671010</link>
      <description>Now it appears that the client is connecting to the server but the time correction is too large to change the clock. Shutdown the ntp service on the client and adjust the time manually first. Either use the date command, the "date -a" command or the "ntpdate -B ntpserver" command and after the client has adjusted then restart the ntp service on the client.</description>
      <pubDate>Mon, 22 Dec 2008 20:20:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326626#M671010</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-12-22T20:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Time Synchronisation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326627#M671011</link>
      <description>by issuing a 'date -a -360' on the client, i was able to slow the clock down so that the time which was 5 minutes faster than the ntp server is now  about 30 seconds slower, i started up xntpd on the client. I'm assuming the problem i was having was due to the fact that the client was originally faster than the server and xntpd  doesn't change the time  backwards ?</description>
      <pubDate>Mon, 22 Dec 2008 20:56:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326627#M671011</guid>
      <dc:creator>Donald Thaler</dc:creator>
      <dc:date>2008-12-22T20:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Time Synchronisation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326628#M671012</link>
      <description>i notice that on the client if i run the xntpd start, and then wait about 5-10 mins and try the xntpd stop i get the message "Unable to stop xntpd (cannot find pid)..."&lt;BR /&gt;&lt;BR /&gt;if i do the xntpd stop soon after the xntpd start then i don't get the error message.&lt;BR /&gt;&lt;BR /&gt;on the ntp server i never get the error message when trying to do the xntpd stop...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Dec 2008 21:35:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326628#M671012</guid>
      <dc:creator>Donald Thaler</dc:creator>
      <dc:date>2008-12-22T21:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Time Synchronisation</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326629#M671013</link>
      <description>Hi (again) Donald:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; i notice that on the client if i run the xntpd start, and then wait about 5-10 mins and try the xntpd stop i get the message "Unable to stop xntpd (cannot find pid)..." &lt;BR /&gt;&lt;BR /&gt;&amp;gt; if i do the xntpd stop soon after the xntpd start then i don't get the error message.&lt;BR /&gt;&lt;BR /&gt;This behavior is consistent with the 'xntpd' dying after it is started.  This is likely the result of too large a time difference between your server and client.&lt;BR /&gt;&lt;BR /&gt;Did you ever verify that the UTC time for your server is correct as I originally suggested?&lt;BR /&gt;&lt;BR /&gt;# date -u&lt;BR /&gt;&lt;BR /&gt;...should return a value very close to the correct time if NTP is going to begin to synchronize.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 22 Dec 2008 22:25:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/time-synchronisation/m-p/4326629#M671013</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-12-22T22:25:06Z</dc:date>
    </item>
  </channel>
</rss>

