[Gllug] xntp strangeness
Simon A. Boggis
simon at dcs.qmul.ac.uk
Mon Sep 8 04:17:04 UTC 2003
On Sun, 2003-09-07 at 20:45, Dylan wrote:
> Much playing later had led me to the following state: If the machine serving
> local time is rebooted, all clients can pick up the time from that server,
> but if the server undergoes an rcxntpd restart then the clients can no longer
> pick up the time.
Try seeing what state ntpd is in initially by doing:
ntpdc -nls
on your time-server (the gateway machine).
Try restarting it, and check that ntpd is still running (something
like):
ps auxww | grep '[n]tpd'
... if it isn't running, dig in the logs to see why.
If it is running then have a look at
ntpdc -nls
again, and see what is different (if you try ntpdc when it isn't running
you'll get "connection refused" or some such).
If ntpd looks healthy on your gateway, even after restart, but clients
still can't see it, I'd start looking at firewall rules (especially any
changed dynamically at boot and rc.d script start).
My own home gateway machine looks something like:
$ ps auxww | grep '[n]tpd'
root 503 0.0 1.0 1968 1960 ? SL Aug20 0:00
/usr/sbin/ntpd
$ ntpdc -nls
client 130.88.203.12
client 130.88.200.6
client 130.159.196.118
remote local st poll reach delay offset disp
=======================================================================
*130.88.203.12 aaa.bbb.ccc.ddd 2 1024 343 0.02036 0.000880 0.21202
.130.88.200.6 aaa.bbb.ccc.ddd 2 1024 377 0.02081 0.002226 0.01485
.130.159.196.118 aaa.bbb.ccc.ddd 2 1024 377 0.02498 -0.006240 0.01486
where aaa.bbb.ccc.ddd is my machine's IP address.
Simon
--
----------------------------------------------------------------------
Dr Simon A. Boggis Systems Programmer
Department of Computer Science, Tel. 020 7882 7522
Queen Mary, University of London, London E1 4NS UK.
---- GPG public key <http://www.dcs.qmul.ac.uk/~simon/#publickey> ----
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list