Antwort: Re: [rhn-users] listen to a timeserver with ntp,continuously sync the time on a running sys

Brian T. Brunner brian.t.brunner at gai-tronics.com
Tue Apr 20 18:17:20 UTC 2004


If you have NO time server, and must manually set the clock on one system 
in a site that the other systems will sync to, hwclock is the correct tool for 
setting time on that "blind guide".

Once hwclock has been used to set the system and hardware clocks, ntp no longer 
functions (you're doing it yourself, I'll stay out of your way) until the next reboot.

So
service ntp stop
date (to set)
hwclock --systohc
service ntp start

seems to be getting us what we need.

(nb this is memory of lessons learned a few months ago. I'll
dig up precise details if needed).

Brian Brunner
brian.t.brunner at gai-tronics.com
(610)796-5838

>>> Frank.Humpohl at lsg.vanderlande.com 04/20/04 11:17AM >>>
Could you please explain what you do with hwclock, because this is a tool 
to set the hardware clock (thats what hwclock stays for).
I'm not really sure how to sync continuously with a time server using 
hwclock.

Greetings
Frank







"Brian T. Brunner" <brian.t.brunner at gai-tronics.com>
Gesendet von: rhn-users-bounces at redhat.com 
20.04.04 16:26
Bitte antworten an Red Hat Network Users List

 
        An:     <rhn-users at redhat.com>
        Kopie: 
        Thema:  Re: [rhn-users] listen to a timeserver with ntp,continuously    sync the 
time on a running system



Having wrestled with this same beast, I discovered that 
using hwclock after ntpd starts running will cause ntpd to 
stop operating. Rebooting cures this until hwclock is again used,
This might not be related to your problem but it was to mine.

Brian Brunner
brian.t.brunner at gai-tronics.com 
(610)796-5838

>>> ltrotter at ajusd.org 04/20/04 10:00AM >>>
I am having the same problem with ntpd. I have tried to sync to different 
servers with no luck. This is my main dns server that all other servers 
sync to, I hope someone finds something. Thanks 



 On Tue, 20 Apr 2004 09:06:38 +0200, Frank.Humpohl wrote
> Hello their,
> 
> I've a problem to sync the time at a RH Enterprise 3 Server with a 
> timeserver in ouir network (also RH Enterprise 3) continuously.
> What happens is, that when I start up the system it syncs with the 
> timeserver given by ntp.conf. While running the system no timesync
> will be made till the next restart. 
> How can I say ntpd to look for the time continuously?
> 
> Please leave my friend in copy
> 
> Regards
> Frank


Lonnie Trotter
Network Administrator
Apache Junction Unified School District
Phone: 480-982-1110 Ext. 2050


_______________________________________________
rhn-users mailing list
rhn-users at redhat.com 
https://www.redhat.com/mailman/listinfo/rhn-users 

*******************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept
for the presence of computer viruses.

www.hubbell.com - Hubbell Incorporated


_______________________________________________
rhn-users mailing list
rhn-users at redhat.com 
https://www.redhat.com/mailman/listinfo/rhn-users 



*******************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept
for the presence of computer viruses.

www.hubbell.com - Hubbell Incorporated





More information about the rhn-users mailing list