I'm not sure how far out of sync your clock is, but if you're too far out of sync
ntpd will not sync your clock and you'll have to run ntpdate initially to set the
clock back in line.  Once the clock has been set back, ntpd should set the system
clock just fine.

As for a config file, all I have are three lines....

server <server_1_ip>
server <server_2_ip>
driftfile /etc/ntp/ntp.drift

------------------------------------------------------------------
Mark Hoover
District Network Engineer
Norfolk Public Schools
628-3810 x3045

>>> [EMAIL PROTECTED] 02/26/03 09:28AM >>>
From: "Carlos A. Siso" <[EMAIL PROTECTED]>
Organization: Hyper Sistemas s.a.
To: [EMAIL PROTECTED] 
Subject: Re: ntpd Question
Date: Wed, 26 Feb 2003 10:26:21 -0400
Reply-To: [EMAIL PROTECTED] 

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.

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
> [EMAIL PROTECTED]                      Greenbelt, Maryland, USA
> Phone: 301-286-7376                                     Fax: 301-286-1771




-- 
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list

Reply via email to