SCO Unix and ntpdate
Joel Hammer
Joel
Mon May 17 11:34:41 PDT 2004
xntpd will start without complaint, but unless you configure it in
/etc/ntp.conf to use the win2k box, it will happily synchronize against
itself without complaint.
ntp is really scary. Everyone in the world of ntp can be a client and a
server. Like the blind leading the blind. Is the win2k server really
synchronized to a standard clock?
Joel
On Wed, Jul 10, 2002 at 08:11:03PM -0500, Brett I. Holcomb wrote:
> The observations may have a solution in them <G>!
>
> I'll check all this out with our IT people. The Unix box came with a
> timekeeping system and our IT people have not ever worked with Unix. I
> have a long time ago so I got called!
>
> I didn't run xntpd because I thought it was there to act as a server.
> However, I'll check it out more tomorrow.
>
> Thanks.
>
> Joel Hammer wrote:
>
> > No solutions, just some observations. I don't use w2k.
> > This is from the documentation for ntp:
> >
> > ntpdate: Directory containing sources for a program to set the
> > local machine time from one or more remote machines running NTP.
> > Operates like rdate, but much more accurate.
> >
> > I can get your error when I run ntpdate against an XP pro box and against
> > a linux box which is not running ntp. But, it works fine with a linux box
> > running xntpd. However, when I turned off the xntp daemon, then
> > turned it back on, it took several minutes for the server to come up to
> > full speed before it started to accept requests from ntpdate from my
> > client, even though xntpd was running fine on the server.
> >
> > So, is the Win2K server running the ntp daemon? Do any other clients
> > connect successfully? Maybe it is running a timeserver daemon on port 37?
> > (rfc 868). Do you have the equivalent of netstat -anp on the win2k box?
> >
> > ntp can be configured to serve only certain hosts or networks. How is the
> > win2k box configured?
> >
> > Also I might ask, why do you want to run ntpdate? Why not just run the
> > xntpd daemon on your Unix box and be syncronized to within milliseconds?
> > Once it is set up, it works without any problems (so far.)
> >
> > Joel
> >
> >
> > On Wed, Jul 10, 2002 at 06:45:55PM -0500, Brett I. Holcomb wrote:
> >> have been asked by IT to help them with a Unix system they have. It's
> >> SCO
> >> Unix (uname -a gives UNIX_SV, 4.2mp 2.1.3 i686 x86at).
> >>
> >> They are trying to use ntpdate to synch with a Win2K server that is
> >> acting
> >> as a ntp server. For testing we ran ntpdate servername and get the
> >> message "No servers available for synchronization".
> >>
> >> 1. The Win2K server is in the hosts file and can be pinged.
> >> 2. DNS does work - I set it up and tested it.
> >>
> >> What does this message mean - does it mean that it found the server but
> >> didn't like something about it or can it not find the server? I also
> >> tried the -o option for ntpdate.
> >>
> >> In the process of troubleshooting we thought there might be problems with
> >> the network setup so we tried the following. This machine is no a
> >> network with a mask of 255.255.252.0 as is the server it's trying to get
> >> to.
> >>
> >> 1. First I tried the admin tools to set the netmask by selecting other
> >> and
> >> putting in the mask. When the system was restarted it wouldn't talk to
> >> anything and trying to change the route settings via the admin tool gave
> >> a "there's an error - see your administrator" - I was the administrator -
> >> let me in to fix it! -but using ifconfig to change the netmask and doing
> >> a
> >> down, then up on the interface allowed us to connect. However, the
> >> changes
> >> made by ifconfig did not stick during reboots. What's going on here?
> >>
> >> 2. We tried to add the route -n default nnn.nnn.nnn.nnn 1 for the
> >> default
> >> gate way. The route command didn't give an error but nothing changed in
> >> the routing table as listed by netstat -r.
> >>
> >> 3. The route command will give "To fix" errors on many of the commands
> >> such as add or delete listed in the man page. What is it trying to tell
> >> me? As far as I could tell the syntax was correct.
> >>
> >> Thanks for any help.
> >>
> >> --
> >> Brett I. Holcomb
> >> bholcomb at R777cableone.net
> >> AKA Grunt <><
> >> Registered Linux User #188143
> >> Remove R777 to email
> >> _______________________________________________
> >> Linux-users mailing list -
> >> http://linux-sxs.org/mailman/listinfo/linux-users Subscribe/Unsubscribe
> >> info, Archives,and Digests are located at the above URL.
>
> --
> Brett I. Holcomb
> bholcomb at R777cableone.net
> AKA Grunt <><
> Registered Linux User #188143
> Remove R777 to email
> _______________________________________________
> Linux-users mailing list - http://linux-sxs.org/mailman/listinfo/linux-users
> Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.
More information about the Linux-users
mailing list