Mailinglist Archive: opensuse (3785 mails)
| < Previous | Next > |
Re: [SLE] Can not make xntpd keep host time in sync ?
- From: John Andersen <jsa@xxxxxxxxxxxxxx>
- Date: Tue, 21 Oct 2003 20:54:10 -0800
- Message-id: <200310212054.10846.jsa@xxxxxxxxxxxxxx>
On Tuesday 21 October 2003 09:19, Bo Jacobsen wrote:
> I have installed xntpd but it will not keep the time as expected.
> When restarting it though, it resets the time correctly. Other hosts are
> able to get current time from this host.
> There is no log data when ntp is running, only when it's started and
> stopped.
>
>
> Following is my /etc/init.d/ntp.conf file:
> -------------------------------------------------
> #server 127.127.1.0 # local clock (LCL)
> #fudge 127.127.1.0 stratum 10 # LCL is unsynchronized
>
> ##
> ## Outside source of synchronized time
> ##
> ## server xx.xx.xx.xx # IP address of server
>
> server ntp1.tele.dk prefer
> server ntp.tiscali.dk
>
> restrict default ignore
> restrict 127.0.0.1
> #restrict 127.0.0.1 nomodify
> restrict 192.168.0.0 mask 255.255.0.0 nomodify nopeer
>
I'd give it several more peers, and some perhaps at a higher
stratum. Also you should have your local clock in there as the
time keeper of last resort...
Here's my file, and Its been utterly reliable....
##
## Undisciplined Local Clock. This is a fake driver intended for backup
## and when no outside source of synchronized time is available.
##
server 127.127.1.0 # local clock (LCL)
fudge 127.127.1.0 stratum 10 # LCL is unsynchronized
##
## Outside source of synchronized time
##
## server xx.xx.xx.xx # IP address of server
server ntp.gci.net # ntp.gci.net
server time-a.nist.gov
server nist1.datum.com
server nist1.aol-ca.truetime.com
server ntp.nasa.gov # ntp.nasa.gov
server time.nist.gov
server utcnist.colorado.edu
server ntp-ua.usno.navy.mil # U.A. Fairbanks
##
## Miscellaneous stuff
##
driftfile /etc/ntp.drift # path for drift file
logfile /var/log/ntp # alternate log file
--
_____________________________________
John Andersen
> I have installed xntpd but it will not keep the time as expected.
> When restarting it though, it resets the time correctly. Other hosts are
> able to get current time from this host.
> There is no log data when ntp is running, only when it's started and
> stopped.
>
>
> Following is my /etc/init.d/ntp.conf file:
> -------------------------------------------------
> #server 127.127.1.0 # local clock (LCL)
> #fudge 127.127.1.0 stratum 10 # LCL is unsynchronized
>
> ##
> ## Outside source of synchronized time
> ##
> ## server xx.xx.xx.xx # IP address of server
>
> server ntp1.tele.dk prefer
> server ntp.tiscali.dk
>
> restrict default ignore
> restrict 127.0.0.1
> #restrict 127.0.0.1 nomodify
> restrict 192.168.0.0 mask 255.255.0.0 nomodify nopeer
>
I'd give it several more peers, and some perhaps at a higher
stratum. Also you should have your local clock in there as the
time keeper of last resort...
Here's my file, and Its been utterly reliable....
##
## Undisciplined Local Clock. This is a fake driver intended for backup
## and when no outside source of synchronized time is available.
##
server 127.127.1.0 # local clock (LCL)
fudge 127.127.1.0 stratum 10 # LCL is unsynchronized
##
## Outside source of synchronized time
##
## server xx.xx.xx.xx # IP address of server
server ntp.gci.net # ntp.gci.net
server time-a.nist.gov
server nist1.datum.com
server nist1.aol-ca.truetime.com
server ntp.nasa.gov # ntp.nasa.gov
server time.nist.gov
server utcnist.colorado.edu
server ntp-ua.usno.navy.mil # U.A. Fairbanks
##
## Miscellaneous stuff
##
driftfile /etc/ntp.drift # path for drift file
logfile /var/log/ntp # alternate log file
--
_____________________________________
John Andersen
| < Previous | Next > |