Re: ntpd Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 26, 2003 at 10:26:21AM -0400, Carlos A. Siso wrote:
> Hi John:
> 
> Thank you for your answer. Tried the restrict directive but still ntpd does 
> not affect the machine time. To test it, I stop the ntpd service, set an 
> invalid time in the machine and start the ntpd service again. The machine 
> keeps the invalid time.

Part of the problem might be that the ntp server will only make small
adjustments to the time.  Normally you have to use something like
"ntpdate -s <server-address>" to get the clock within a second or so
of the correct time, and then let ntpd take it from there.

> I am able to sync the machine time using the "Time Server" option of the 
> "time&date" module in "Webmin". So the problem is not the network, firewall 
> or remote server.
> 
> It seems I will have to spend the rest of the week reading the (extensive) ntp 
> documentation :-(.
> 
> 
> El Mar 25 Feb 2003 21:33, John Kodis escribió:
> > On Tue, Feb 25, 2003 at 06:52:26PM -0400, Carlos A. Siso wrote:
> > > I have already installed & run the ntpd service, configuring the
> > > public server address in the /etc/ntp.conf file. The problem is that
> > > the ntpd service seems NOT to be affecting the local server time at
> > > all.
> >
> > I'd guess that you need to add a "restrict" directive, something
> > like:
> >
> > restrict 17.254.0.31 mask 255.255.255.255 nomodify notrap noquery
> >
> > ... except with the IP address changed to match the address of the
> > server that you're using.
> >
> > --
> > John Kodis                                    Goddard Space Flight Center
> > kodis@mail630.gsfc.nasa.gov                      Greenbelt, Maryland, USA
> > Phone: 301-286-7376                                     Fax: 301-286-1771
> 
> -- 
> Carlos A. Siso
> 
> 
> 
> -- 
> Psyche-list mailing list
> Psyche-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/psyche-list

-- 
John Kodis                                    Goddard Space Flight Center
kodis@mail630.gsfc.nasa.gov                      Greenbelt, Maryland, USA
Phone: 301-286-7376                                     Fax: 301-286-1771



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux