On Sunday 06 November 2005 15:49, Patrick Shanahan wrote:
* Bjørge Solli [11-06-05 09:11]:
I'm trying to get my Suse 9.3 to correct my time with the yast
ntp-client.
I want the daemon to run in the background, and be started at bootup, so
I choose the (I have it in norwegian, so this is my translation) "Start
ntpd automaticly at boot time"
I try to use my universitys NTP-server rasmus.uib.no
When I press "test" now I get an error saying something like "server not
available or does not answer correctly".
Only one instance of ntpd/xntpd run at one time. If you want to test
sites, you must stop ntpd, ie: 'rcxntpd stop', then restart it when you
have finished your test, ie: 'rcxntpd start'.
note: you must start/stop rcxntpd as root.
Then why is my clock wrong? It seems to be on speed... (too fast).
It doesn't help if I use your command or /etc/init.d/xntpd stop, in yast I
still get the same error:-(
This is done as root:
pia:/etc # /etc/init.d/xntpd restart
Shutting down network time protocol daemon (NTPD) done
Try to get initial date and time via NTP from rasmus.uib.no failed
Starting network time protocol daemon (NTPD) done
pia:/etc # cat ntp.conf
################################################################################
## /etc/ntp.conf
##
## Sample NTP configuration file.
## See package 'xntp-doc' for documentation, Mini-HOWTO and FAQ.
## Copyright (c) 1998 S.u.S.E. GmbH Fuerth, Germany.
##
## Author: Michael Andres,
##
################################################################################
##
## Radio and modem clocks by convention have addresses in the
## form 127.127.t.u, where t is the clock type and u is a unit
## number in the range 0-3.
##
## Most of these clocks require support in the form of a
## serial port or special bus peripheral. The particular
## device is normally specified by adding a soft link
## /dev/device-u to the particular hardware device involved,
## where u correspond to the unit number above.
##
## Generic DCF77 clock on serial port (Conrad DCF77)
## Address: 127.127.8.u
## Serial Port: /dev/refclock-u
##
## (create soft link /dev/refclock-0 to the particular ttyS?)
##
# server 127.127.8.0 mode 5 prefer
##
## 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
##
## Miscellaneous stuff
##
driftfile /var/lib/ntp/drift/ntp.drift # path for drift file
logfile /var/log/ntp # alternate log file
server a.ntp.alphazed.net
server clock.netcetera.dk
server tick.keso.fi
# logconfig =syncstatus + sysevents
# logconfig =all
# statsdir /tmp/ # directory for statistics files
# filegen peerstats file peerstats type day enable
# filegen loopstats file loopstats type day enable
# filegen clockstats file clockstats type day enable
#
# Authentication stuff
#
# keys /etc/ntp.keys # path for keys file
# trustedkey 1 2 3 4 5 6 14 15 # define trusted keys
# requestkey 15 # key (7) for accessing server variables
# controlkey 15 # key (6) for accessing server variables
pia:/etc #
--
Bjørge Solli