From owner-freebsd-questions@FreeBSD.ORG Fri Jul 28 09:20:19 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A61816A4DD for ; Fri, 28 Jul 2006 09:20:19 +0000 (UTC) (envelope-from freminlins@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07D9743D58 for ; Fri, 28 Jul 2006 09:20:16 +0000 (GMT) (envelope-from freminlins@gmail.com) Received: by nf-out-0910.google.com with SMTP id n29so125798nfc for ; Fri, 28 Jul 2006 02:20:15 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=uhzR4fdy+VVNaJHEqPOglA0l6AaUcxshoLxsIttYZqVBQ+b5WqXYEOK9VgNZdkq7oe1WBcGppODLA0LNrg2QngULrFADUX28+3nVDGPshE9ICqtYh6hWnxD/S6i6F5DI4oLhy64tZ2HLryF2FX2PN8gkULuWWKm0mn0s9UccZ1w= Received: by 10.48.162.15 with SMTP id k15mr427400nfe; Fri, 28 Jul 2006 02:20:15 -0700 (PDT) Received: by 10.48.12.1 with HTTP; Fri, 28 Jul 2006 02:20:15 -0700 (PDT) Message-ID: Date: Fri, 28 Jul 2006 10:20:15 +0100 From: Freminlins To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ntpd on FreeBSD 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: Fri, 28 Jul 2006 09:20:19 -0000 Hello, After a power outaga (Level 3 at Goswell Road, London), all our FreeBSD machines came up OK. Nearly all of them had a problem though with ntpd. I'm guessing that most of these machines booted before the the ntp servers came up. What happens is that the machine runs two copies of ntpd: root 337 0.0 0.3 2964 1772 ?? Ss Sun04PM 0:24.75/usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid root 427 0.0 0.3 2964 1788 ?? S Sun04PM 0:00.76/usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid ... and they never sync. The only way to fix this is to kill both ntpds, then restart ntpd. Is there a tidy way round this? It's not much fun logging into 40+ machines and killing a restarting a key process. I have no idea why two ntpds are running in the first place. The machines that are correct have an identical config. Thanks, Frem.