[ntp:questions] Re: Ntpdate - socket in use

Danny Mayer mayer at gis.net
Tue Jan 13 13:20:08 UTC 2004


nope at invalid.mynetwork (George Kaplan) wrote in message news:<40037e62.2604725 at news.centennialpr.net>...
> On 12 Jan 2004 04:47:05 -0800, mayer at gis.net (Danny Mayer) wrote:
> >ephesys at myexcel.com (Isaac Grover) wrote in message news:<40019073.727185 at news.centennialpr.net>...
> >The common solution is not to run ntpdate, just ntpd with the -g option.
> >I don't know why the RedHat people did this in the startup, but there is
> >no reason to run ntpdate any more.
> 
> Thanks for the info - I've chmod'd ntpdate to 000 so when I'm tempted to use it,
> I can't.  =)
> 
> Now for another problem.  My WinXP client won't update its time from my ntpd
> server, claiming:  "An error occurred while Windows was synchronizing with
> gibson.  The time sample was rejected because: The peer's stratum is less than
> the host's stratum."
> 

Are you running ntpd on your Windows XP box? If not try installing it.
Also what's in your ntp.conf file. If Windows considers it a peer then you
should change the entry to server if you expect to serve the Windows XP
client from your system.

> My ntpq output is:
> 
> [root at gibson /etc]# ntpq -p -n
>      remote           refid      st t when poll reach   delay   offset  jitter
> ==============================================================================
>  209.244.17.41   .INIT.          16 u    -   64    0    0.000    0.000 4000.00
>  209.244.0.5     10.64.126.39     2 u  114  128    7  149.877   12.397   5.856
>  209.244.0.6     10.64.126.39     2 u  110  128    7  149.828   10.382   3.148
>  209.247.10.162  .INIT.          16 u    -   64    0    0.000    0.000 4000.00
>  128.101.101.101 160.94.54.248    2 u  109  128    7  160.268    5.620  10.301
>  134.84.84.84    160.94.54.248    2 u  109  128    7  160.274    7.290   6.507
>  192.168.100.1   .INIT.          16 u    -   64    0    0.000    0.000 4000.00
> [root at gibson /etc]# 
> 
> Gibson = 192.168.100.1 = ntpd server.  Why is gibson set to stratum 16?  Can
> that be changed?
> 

Well the init phase means it didn't connect to the server.

Danny



More information about the questions mailing list