On Sat, 2002-02-02 at 05:11, James Pifer wrote:
> I have a couple installations of Linux that I'm running as Guest OSes with
> VMWare on Windows 2000. For some reason I cannot get ntpd to sync time with
> my Linux machine that is a time server. Several people have tried to help
> on this forum, but it's still not working. I don't know if VMWare has
> anything to do with it. I don't have any spare hardware to set up Linux on
> a standalone machine to see if it works. My Windows clients and Netware
> server work fine using that same Linux machine as a time source.
>
> What does work is if I stop ntpd and run "ntpdate 192.168.1.2". I know this
> isn't pretty, but is there a way I can schedule that process to run every
> so often? Every 5 minutes, 60 minutes, or twice a day? Something.... Would
> I use cron for that?
James
what is the results of starting ntpd on your machines? NTP writes a
fair amount of stuff to /var/log/messages.
I use ntpq a lot to see what servers my machines are using.
after starting ntp run
ntpq
then type pe
you should get a list of servers and some information about them from a
local machine standpoint.
the doc is very good but buried in htmlfiles under /usr/share/doc/ntp*
For the longest I thought the lack of man or info pages meant that there
was none and then on day I learned (from this list I believe) about rpm
-qd packagename to see the list of doc files included with the package
:)
Boy was I suprised.
btw here is the entries I use to sync to my local server.
server 192.168.0.4 # gateway mtp server
fudge 127.127.1.0 stratum 10
here is the entries In my local time server:
as you can see I have done a fair mount of exprimenting with stable
servers.
server sushi.compsci.lyon.edu
#server ntp-wustl.usno.navy.mil prefer
#server constellation.ecn.uoknor.edu #OU timeserver
#server ntp1.kansas.net
server ntp-0.cso.uiuc.edu prefer
server ntp2.kansas.net
#server tock.greyware.com
#server tick.greyware.com
#server finch.cc.ukans.edu
#server ntp.cox.smu.edu
server ntp5.tamu.edu
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10
broadcast 192.168.0.255
here is the current output of ntpq on the local time server Actually
running xntp3.x:
[root@gateway1 /root]# ntpq -p
remote refid st t when poll reach delay
offset disp
==============================================================================
LOCAL(0) LOCAL(0) 10 l 27 64 377 0.00 0.000
10.01
192.168.0.255 0.0.0.0 16 u - 64 0 0.00 0.000
16000.0
-sushi.compsci.l navobs1.wustl.e 2 u 1191 1024 176 196.15 -84.437
592.70
*ntp-0.cso.uiuc. 128.174.38.133 2 u 34 256 377 78.54 8.745
73.90
+cisco1-mhk.kans navobs1.wustl.e 2 u 133 256 377 47.24 -5.917
28.12
+ODP-SUN3.TAMU.E ntp3.tamu.edu 3 u 161 256 377 36.61 -3.237
108.67
HTH
Bret
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list