From owner-freebsd-questions@FreeBSD.ORG Mon Nov 2 07:26:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 306C7106566B for ; Mon, 2 Nov 2009 07:26:04 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 9DC118FC15 for ; Mon, 2 Nov 2009 07:26:03 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id nA27Pu0X021150; Mon, 2 Nov 2009 07:25:57 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk nA27Pu0X021150 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1257146757; bh=bixfLiwIOAQ6Qdvx3hCzEIWusyVZD2U0A1+Z30gpg98=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4AEE897E.4070805@infracaninophile.co.uk>|Date:=20M on,=2002=20Nov=202009=2007:25:50=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20090823)|MIME-Vers ion:=201.0|To:=20alexus=20|CC:=20freebsd-questio ns@freebsd.org|Subject:=20Re:=20ntp|References:=20<6ae50c2d0911011 816y54e1e628h40ebe96867ed3e56@mail.gmail.com>|In-Reply-To:=20<6ae5 0c2d0911011816y54e1e628h40ebe96867ed3e56@mail.gmail.com>|X-Enigmai l-Version:=200.95.6|Content-Type:=20multipart/signed=3B=20micalg=3 Dpgp-sha256=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0 D=0A=20boundary=3D"------------enig1BEF81DB81DB86FA0169799F"; b=CcRNlLln/+OULFiGKXni0Mw0zhbHSz1QTNp/U42N/1/m1HuSLbddbJaBt1VrpFYC5 IKRCYyvl9OYBuRfhmzctspDM9iHp7TSjTDQTmHespwSLGnu2pflftrIHKpe22/Y8Jf lQR4Fy0SQ4VCzZHgeGkbJHuEDMyH478leiSk5YKo= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4AEE897E.4070805@infracaninophile.co.uk> Date: Mon, 02 Nov 2009 07:25:50 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: alexus References: <6ae50c2d0911011816y54e1e628h40ebe96867ed3e56@mail.gmail.com> In-Reply-To: <6ae50c2d0911011816y54e1e628h40ebe96867ed3e56@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig1BEF81DB81DB86FA0169799F" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: ntp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2009 07:26:04 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1BEF81DB81DB86FA0169799F Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable alexus wrote: > this is my ntp.conf >=20 > su-3.2# cat /usr/local/etc/ntp.conf > server 0.us.pool.ntp.org > server 1.us.pool.ntp.org > server 2.us.pool.ntp.org > server 3.us.pool.ntp.org > su-3.2# ntpq -p > remote refid st t when poll reach delay offset = jitter > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > mx .RMOT. 16 u - 1024 0 0.000 0.000 = 0.000 > su-3.2# >=20 > this isn't the first time, but after a while my ntp stops working :( > i dont know what to do... >=20 > any suggestions? It's /etc/ntp.conf if you're using the ntpd that comes with the base system in FreeBSD. Unless you're running you own PPS clock or engaged in developing NTP, there's much point in installing the ports version. Even so, it seems you have a problem connecting to a remote NTP server. Can you do the following: First, choose one of the IPs returned from one of those pool.ntp.org addresses: % host 0.us.pool.ntp.org 0.us.pool.ntp.org has address 216.45.57.38 0.us.pool.ntp.org has address 64.22.86.210 0.us.pool.ntp.org has address 69.36.241.112 0.us.pool.ntp.org has address 69.56.251.238 0.us.pool.ntp.org has address 169.229.70.201 Then test that you can get NTP packets to and from between that machine and your own by using ntpq(8): % ntpq -p 216.45.57.38 remote refid st t when poll reach delay offset j= itter =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D +clock.via.net .GPS. 1 u 698 1024 377 8.832 0.232 = 0.125 -timekeeper.isi. .GPS. 1 u 1915 1024 376 7.509 0.416 1= 8.394 +clock.sjc.he.ne .CDMA. 1 u 109 1024 377 10.085 0.262 = 0.066 -nist1.symmetric .ACTS. 1 u 73 1024 377 13.380 -0.470 = 0.172 -rrcs-64-183-55- .GPS. 1 u 645 1024 377 25.310 -3.634 = 2.929 -rrcs-64-183-56- .GPS. 1 u 625 1024 377 13.364 -3.183 = 1.270 -nist1.aol-ca.tr .ACTS. 1 u 947 1024 377 9.860 3.786 = 0.029 -clock.isc.org .GPS. 1 u 98 1024 377 10.025 -6.679 = 0.005 -gps.layer42.net .GPS. 1 u 113 1024 377 12.315 0.042 = 0.388 -gatekeeper.no-s .PPS. 1 u 662 1024 377 27.165 3.409 7= 8.001 -nist1-sj.witime .ACTS. 1 u 675 1024 377 9.204 5.834 = 0.780 *clepsydra.dec.c .GPS. 1 u 867 1024 377 9.988 0.283 = 0.123 -time.nist.gov .ACTS. 1 u 933 1024 377 33.453 -1.888 = 1.615 ntp2.lax-noc.co 204.123.2.5 2 u 935 1024 377 0.122 0.467 = 0.015 LOCAL(0) .LOCL. 9 l 23 64 377 0.000 0.000 = 0.002 If you don't get output like this showing a list of reference servers from any of the available addresses, then I'd suspect something like over restrictive firewall rules blocking the traffic. If you do get a response then the problem is localised on your machine. In which case, try stripping out and NTP related ports you've installed, configure the base system ntpd(8) and see if that works better for you. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig1BEF81DB81DB86FA0169799F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkruiYQACgkQ8Mjk52CukIyNPwCeP+0WqpNnguxfustZItRYxLFb KFEAoIjtvP6OKgzMHg4ju3ixNAa/ONUK =yEit -----END PGP SIGNATURE----- --------------enig1BEF81DB81DB86FA0169799F--