From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1F4TVC-0004vU-Fe for garchives@archives.gentoo.org; Thu, 02 Feb 2006 01:43:14 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k121gFSP000244; Thu, 2 Feb 2006 01:42:15 GMT Received: from mail-ihug.icp-qv1-irony3.iinet.net.au (ihug-mail.icp-qv1-irony3.iinet.net.au [203.59.1.197]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k121cOQl021613 for ; Thu, 2 Feb 2006 01:38:26 GMT Received: from 210-84-31-131.dyn.iinet.net.au (HELO moriah.localdomain) ([210.84.31.131]) by mail-ihug.icp-qv1-irony3.iinet.net.au with ESMTP; 02 Feb 2006 09:38:23 +0800 X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== Received: from localhost (localhost [127.0.0.1]) by moriah.localdomain (Postfix) with ESMTP id C4DF121A1BF for ; Thu, 2 Feb 2006 09:38:21 +0800 (WST) Received: from moriah.localdomain ([127.0.0.1]) by localhost (moriah.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28996-10 for ; Thu, 2 Feb 2006 09:38:19 +0800 (WST) Received: from localhost (localhost [127.0.0.1]) by moriah.localdomain (Postfix) with ESMTP id A9A70219B92 for ; Thu, 2 Feb 2006 09:38:19 +0800 (WST) Subject: Re: [gentoo-user] Re: ntp won't synchronize From: "W.Kenworthy" To: gentoo-user@lists.gentoo.org In-Reply-To: References: <20060109192522.GA1519@sewage.sewage.fake> Content-Type: text/plain Date: Thu, 02 Feb 2006 09:38:17 +0800 Message-Id: <1138844298.15881.50.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at localdomain X-Archives-Salt: bc0932f7-1635-40f3-9052-b0751e64463f X-Archives-Hash: ca1d3729f2beab1a2c40b3838b5d46e6 Default behaviour is that if the time zone is off by more than a preset amount (I think 128ms) it will refuse to sync, and silently fails. Read the docs for the config file command "tinker panic 0" (and its implications) which will remove the limitation and allow stepping to the new time. Also ntpd can be started with the -g arg to get the same effect. BillK On Wed, 2006-02-01 at 19:25 +0000, James wrote: > Devon Miller gmail.com> writes: > > > Make sure you have told you firewall to allow port 123 for both TCP & > > UDP.I had the same behavior until I did that.dcm > > Well my firewall should allow outgoing initiated sessions from the > ntpd (internal) server. From what I read, the remote ntpd server > does not initiate communications, it my server that initates the > communications? > > That assumed, my firewall rules (which are undergoing revision) are ok? > > OK, I'm new to ntpd, but it looks straightforward. > > after emerging, I started up ntpd and added it to the default run level. > Then I checked and got: > > ntpq -p > remote refid st t when poll reach delay offset jitter > ============================================================================== > ecoca.eed.usv.r 80.96.120.253 2 u 8 64 1 202.639 1436722 0.001 > > then: > # date > Wed Feb 1 14:58:04 Local time zone must be set--see zic manual page 2006 > > > /etc/localtime is a lock file so where do I correct/set the time zone to > EST (eastern standard time) so ntpd will see it can correct my actual time > (it's off by a little more than (1) hour. > > But now when I run 'ntpq -p' I get: > ntpq: read: Connection refused > > What did I mess up or miss? > > > James > > > > > > > > man zic and man ntpd did not help, or I missed the file to edit or the > correct command syntax.... > > James > > > -- gentoo-user@gentoo.org mailing list