<?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 problem, Client will not accociate with server in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667919#M243166</link>
    <description>the NTP deamon requires a very small offset in time inorder to associate, consider running &lt;BR /&gt;ntpdate -d&lt;BR /&gt;to ensure times are close before starting the NTP deamon.&lt;BR /&gt;&lt;BR /&gt;also, your ntp.conf file should look something like this:&lt;BR /&gt;&lt;BR /&gt;driftfile /var/log/ntp.drift&lt;BR /&gt;logfile /var/log/ntp.log&lt;BR /&gt;server sometimeserver.somedomain.net&lt;BR /&gt;&lt;BR /&gt;really, server is the only critical option, but logfile and driftfile will give you some clues and let the ntp deamon corret the clock skew, respectively.</description>
    <pubDate>Thu, 10 Nov 2005 11:08:21 GMT</pubDate>
    <dc:creator>Thomas Bianco</dc:creator>
    <dc:date>2005-11-10T11:08:21Z</dc:date>
    <item>
      <title>NTP problem, Client will not accociate with server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667914#M243161</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I have a problem with an NTP client being unable to accociate with a an NTP server. I am able to run ntpdate and it syncs the time correctly, i then start xntpd i get the following &lt;BR /&gt;&lt;BR /&gt;fmdbln95:root /sbin/init.d &amp;gt; ntpq -p&lt;BR /&gt;     remote           refid      st t when poll reach   delay   offset    disp&lt;BR /&gt;===============================================&lt;BR /&gt; itbkln99.qadev. ntp002-cer01-25  6 u   39   64    7    -0.18   -69093. 15882.8&lt;BR /&gt;&lt;BR /&gt;For some reason the Client does not accociate with the server... i have also discovered that the system clock is faulty and it is running fast, could this impact the NTP functionality?&lt;BR /&gt;&lt;BR /&gt;the only entries i have in the ntp.conf are the server name and authenticate set to no.&lt;BR /&gt;&lt;BR /&gt;I have other clients which appear to be configured in exactly the same way (connecting to same NTP server on same DNS domain) which work correctly. anybody have any ideas??</description>
      <pubDate>Wed, 09 Nov 2005 11:20:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667914#M243161</guid>
      <dc:creator>paul vail_1</dc:creator>
      <dc:date>2005-11-09T11:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: NTP problem, Client will not accociate with server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667915#M243162</link>
      <description>Check:&lt;BR /&gt;/etc/rc.config.d/netdaemons&lt;BR /&gt;&lt;BR /&gt;The following variables should be set:&lt;BR /&gt;export NTPDATE_SERVER=&lt;TIME_SERVER_HOSTNAME&gt;&lt;BR /&gt;export XNTPD=1&lt;BR /&gt;export XNTPD_ARGS=&lt;/TIME_SERVER_HOSTNAME&gt;</description>
      <pubDate>Wed, 09 Nov 2005 11:29:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667915#M243162</guid>
      <dc:creator>john kingsley</dc:creator>
      <dc:date>2005-11-09T11:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: NTP problem, Client will not accociate with server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667916#M243163</link>
      <description>Is ntp running:&lt;BR /&gt;  ps -ef | grep ntp&lt;BR /&gt;&lt;BR /&gt;Check the peers list &lt;BR /&gt;  ntpq -c peers&lt;BR /&gt;&lt;BR /&gt;Consider enabling peers stats in /etc/ntp.conf&lt;BR /&gt; uncomment and set statsdir line&lt;BR /&gt; uncomment peerstats line.&lt;BR /&gt;Restart xntp and run tail -f on the peerstats&lt;BR /&gt;file.  Should initially have one line every 16 seconds.  &lt;BR /&gt;</description>
      <pubDate>Wed, 09 Nov 2005 11:45:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667916#M243163</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2005-11-09T11:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: NTP problem, Client will not accociate with server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667917#M243164</link>
      <description>My netdaemons is set to the following&lt;BR /&gt;&lt;BR /&gt;/etc/rc.config.d/netdaemons&lt;BR /&gt;&lt;BR /&gt;export NTPDATE_SERVER=itbkln99&lt;BR /&gt;export XNTPD=1&lt;BR /&gt;export XNTPD_ARGS=</description>
      <pubDate>Wed, 09 Nov 2005 11:45:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667917#M243164</guid>
      <dc:creator>paul vail_1</dc:creator>
      <dc:date>2005-11-09T11:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: NTP problem, Client will not accociate with server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667918#M243165</link>
      <description>I have tried enabling peerstats but get no output.&lt;BR /&gt;&lt;BR /&gt;ntpq -c peers produces the same output as above.</description>
      <pubDate>Wed, 09 Nov 2005 12:02:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667918#M243165</guid>
      <dc:creator>paul vail_1</dc:creator>
      <dc:date>2005-11-09T12:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: NTP problem, Client will not accociate with server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667919#M243166</link>
      <description>the NTP deamon requires a very small offset in time inorder to associate, consider running &lt;BR /&gt;ntpdate -d&lt;BR /&gt;to ensure times are close before starting the NTP deamon.&lt;BR /&gt;&lt;BR /&gt;also, your ntp.conf file should look something like this:&lt;BR /&gt;&lt;BR /&gt;driftfile /var/log/ntp.drift&lt;BR /&gt;logfile /var/log/ntp.log&lt;BR /&gt;server sometimeserver.somedomain.net&lt;BR /&gt;&lt;BR /&gt;really, server is the only critical option, but logfile and driftfile will give you some clues and let the ntp deamon corret the clock skew, respectively.</description>
      <pubDate>Thu, 10 Nov 2005 11:08:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667919#M243166</guid>
      <dc:creator>Thomas Bianco</dc:creator>
      <dc:date>2005-11-10T11:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: NTP problem, Client will not accociate with server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667920#M243167</link>
      <description>Indeed, as pointed-out if the client clock is "too far" off of the server clock, NTP throws-up its hands and cries for help - that cry for help can be found in the /var/adm/syslog/syslog.log file.  I'm not sure if ntpdate may have a similar, albeit larger limit.&lt;BR /&gt;&lt;BR /&gt;Also, if I'm interpreting the ntpq output correctly, you don't have very good connectivity to the server.&lt;BR /&gt;&lt;BR /&gt;If the client clock is too fubar, the ntpd may not be able to keep it in check, in which case the only recourse would be to more fully investigate the cause of the clock fault.</description>
      <pubDate>Thu, 10 Nov 2005 12:39:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667920#M243167</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2005-11-10T12:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: NTP problem, Client will not accociate with server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667921#M243168</link>
      <description>firewalls commonly block ntp protocol?&lt;BR /&gt;&lt;BR /&gt;Windows time servers frequently can't meet the standard for Unix.&lt;BR /&gt;&lt;BR /&gt;You may need to get different software for windows from ntp.org.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 10 Nov 2005 12:51:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667921#M243168</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-11-10T12:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: NTP problem, Client will not accociate with server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667922#M243169</link>
      <description>firewalls could be involved I suppose, but I would have expected that to be an all or nothing proposition, and it is clear that _some_ traffic is being exchanged between the NTP client and server.&lt;BR /&gt;&lt;BR /&gt;of course, another thing... there really should be at least _two_ servers configured in the config file - relying on just one time server isn't a good idea...</description>
      <pubDate>Thu, 10 Nov 2005 12:58:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667922#M243169</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2005-11-10T12:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: NTP problem, Client will not accociate with server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667923#M243170</link>
      <description>Sorry I realy should have read your output.&lt;BR /&gt;You grabbed it fairly early in the cycle.&lt;BR /&gt;Give it about 10 minutes to syncronize.&lt;BR /&gt;&lt;BR /&gt;Reach should be 377 once it has enough data &lt;BR /&gt;to syncronize.  This is a bit flag of the success of the last 8 requests 0 = no reply,&lt;BR /&gt;1 = reply received.  It resets to 0 if ntp&lt;BR /&gt;jumps  the clock (time is off by more than&lt;BR /&gt;128 ms).  You may be close enough to jump the &lt;BR /&gt;clock.&lt;BR /&gt;&lt;BR /&gt;You are showing an offset of 69 seconds &lt;BR /&gt;(over a minute) which is extemely high.&lt;BR /&gt;What worries me is the disp value of 15 seconds.  Even on a really bad connection&lt;BR /&gt;this should be much lower 15 seconds.&lt;BR /&gt;&lt;BR /&gt;Try &lt;BR /&gt;  /sbin/init.d/xntpd stop &lt;BR /&gt;  /sbin/init.d/nxtpd start&lt;BR /&gt;This should give you a message telling you &lt;BR /&gt;the clock is being set to the correct time.&lt;BR /&gt;&lt;BR /&gt;Try ntpq -c peers itbkln99&lt;BR /&gt;this should have low offset and displ values&lt;BR /&gt;at most about 100.  If not you have found &lt;BR /&gt;your problem.  &lt;BR /&gt;Try ntpq -n -c peers itbkin99&lt;BR /&gt;then set if you can do &lt;BR /&gt;  ntpq -n -c peers (ip of itbkin99's server)&lt;BR /&gt;If it work and is stable add it to your &lt;BR /&gt;server list.&lt;BR /&gt;&lt;BR /&gt;Try running &lt;BR /&gt;while sleep 60; do ntqp -p; done&lt;BR /&gt;and watch the output for a while.&lt;BR /&gt;The values for offset and disp should &lt;BR /&gt;decease over time.  If they increase  and &lt;BR /&gt;decrase a lot then itbkin99 is likely not&lt;BR /&gt;a good ntpserver.  I have seen problems&lt;BR /&gt;where an ntpserver appeared to be truncating&lt;BR /&gt;the time to the second.  Your&lt;BR /&gt;variances look like itbkin99 or its server&lt;BR /&gt;is truncating to the minute. &lt;BR /&gt;</description>
      <pubDate>Wed, 16 Nov 2005 11:18:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667923#M243170</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2005-11-16T11:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: NTP problem, Client will not accociate with server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667924#M243171</link>
      <description>You may want to try using your DNS servers,&lt;BR /&gt;routers, and/or firewall (inside address).  &lt;BR /&gt;Try using&lt;BR /&gt;  /sbin/ntpdate -q (ip of )&lt;BR /&gt;If this gives you a good value consider using&lt;BR /&gt;it.&lt;BR /&gt;  using ntpq -c peers may allow you &lt;BR /&gt;to trace up the tree to better servers.&lt;BR /&gt;Consider using three low stratum servers.&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Nov 2005 11:47:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667924#M243171</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2005-11-16T11:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: NTP problem, Client will not accociate with server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667925#M243172</link>
      <description>Thanks for your help all, I have reported the error to HP who have recommended replacing the system clock which unfortunately means a full system board replacement. &lt;BR /&gt;Ive found that the system clock is running 70% faster than it should be, it looks as if by the time the client trys to sync to the NTP server the drift is too far out for it to resync itself to the NTP server. &lt;BR /&gt;</description>
      <pubDate>Thu, 17 Nov 2005 07:30:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667925#M243172</guid>
      <dc:creator>paul vail_1</dc:creator>
      <dc:date>2005-11-17T07:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: NTP problem, Client will not accociate with server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667926#M243173</link>
      <description>shalom Paul,&lt;BR /&gt;&lt;BR /&gt;ntp is supposed to override the system clock.&lt;BR /&gt;&lt;BR /&gt;In this situation with the clock really out of whack it might be going out of synch faster than ntp can bring it into sync.&lt;BR /&gt;&lt;BR /&gt;What ntp does if a system is running fast is run the system time slower than reality until the system is in synch with the time source. If the system is going against that this could be why ntp didn't do the trick.&lt;BR /&gt;&lt;BR /&gt;Good Luck,&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 17 Nov 2005 07:39:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667926#M243173</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-11-17T07:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: NTP problem, Client will not accociate with server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667927#M243174</link>
      <description>Your clock will never be accurate. Unless your clock is drifting HUNDREDS of seconds per day, there is no reason to replace the system board. You MUST run ntpdate to set the clock for the first time. This is done automatically when you bootup if you followed the instructions above for editing the netdaemons file, then this will occur automatically. xntpd will run once every 64 seconds and begin adjusting the time. NOTE: DO NOT use just one NTP server. There are hundreds of free Internet NTP servers so add another 3-5 servers into your ntp.conf file.&lt;BR /&gt; &lt;BR /&gt;But before you make all this auomatic, you must verify connectivity. Make sure xntpd is stopped first. Then run ntpq -p &lt;SERVERIP&gt; for each NTP server. If none reply, you may have port 123 blocked in your company so you cannot reach the Internet. That needs to be fixed. Keep testing until you have at least 3 NTP servers responding to ntpq -p &lt;SERVERIP&gt;&lt;BR /&gt; &lt;BR /&gt;The next step (after ntpq -p tests) is to start xntpd using the startup script:  &lt;BR /&gt; &lt;BR /&gt;/sbin/init.d/xntpd start&lt;BR /&gt; &lt;BR /&gt;Let this run for about an hour while checking /var/adm/syslog/syslog.log for aqny errors. Now run ntpq -p and it will report on the quality of the NTP server connections. The REACH value should be close to 377. Now with that one connection you already have, the 15 second delay looks like a very slow (simple modem?) connection. If this is all you have, then monitor the ntpq -p results to see if dispersion and reach are improving with time. If not, you will have to get a GPS clock to site on your network as the NTP server. This will at least get you a reliable NTP source without changing your Internet connection.&lt;BR /&gt; &lt;BR /&gt;For a list of NTP sources, go to &lt;A href="http://www.ntp.org" target="_blank"&gt;www.ntp.org&lt;/A&gt;&lt;/SERVERIP&gt;&lt;/SERVERIP&gt;</description>
      <pubDate>Thu, 17 Nov 2005 10:42:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667927#M243174</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-11-17T10:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: NTP problem, Client will not accociate with server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667928#M243175</link>
      <description>if the clock is 70% off, that means it's counting 60,000 extra seconds a day, more then enough to mess with NTP.&lt;BR /&gt;&lt;BR /&gt;that being said, an authoritative time server should be able to slew the clock back into alignment, provided it's close and stable. &lt;BR /&gt;&lt;BR /&gt;set up a local server on a good clock and set the minpoll and maxpoll directives to very low numbers (i.e. sync frequently) and call it a prefered truechimer. all this is per &lt;A href="http://www.eecis.udel.edu/~mills/ntp/html/confopt.html" target="_blank"&gt;http://www.eecis.udel.edu/~mills/ntp/html/confopt.html&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;here's an example ntp.conf:&lt;BR /&gt; driftfile /var/ntp/drift&lt;BR /&gt; logfile /var/ntp/log &lt;BR /&gt; server ntp.local.net minpoll 4 maxpoll 6 prefer true</description>
      <pubDate>Thu, 17 Nov 2005 11:01:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667928#M243175</guid>
      <dc:creator>Thomas Bianco</dc:creator>
      <dc:date>2005-11-17T11:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: NTP problem, Client will not accociate with server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667929#M243176</link>
      <description>I have tried to associate with other NTP sources and get the same result.&lt;BR /&gt;&lt;BR /&gt;When i run ntpq associations it reports that the NTP servers are insane, this i gather is why they will not associate and sync.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Nov 2005 11:13:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667929#M243176</guid>
      <dc:creator>paul vail_1</dc:creator>
      <dc:date>2005-11-18T11:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: NTP problem, Client will not accociate with server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667930#M243177</link>
      <description>that's the point of the TRUE directive, it forces the server to survive the selection process. &lt;BR /&gt;&lt;BR /&gt;MAXPOLL and MINPOLL force it to synchronize often, which will speed the renormalization of the system clock.</description>
      <pubDate>Fri, 18 Nov 2005 12:35:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667930#M243177</guid>
      <dc:creator>Thomas Bianco</dc:creator>
      <dc:date>2005-11-18T12:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: NTP problem, Client will not accociate with server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667931#M243178</link>
      <description>paul - any word on replacement of the system board, or has it been determined that NTP is supposed to be able to deal with a clock that runs as far off as yours?&lt;BR /&gt;&lt;BR /&gt;despite the attempts to sync with other servers failing, probably best to keep them in the config file so you have more than one configured for when you do get the system board replaced.</description>
      <pubDate>Fri, 18 Nov 2005 13:04:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ntp-problem-client-will-not-accociate-with-server/m-p/3667931#M243178</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2005-11-18T13:04:00Z</dc:date>
    </item>
  </channel>
</rss>

