From owner-freebsd-questions@FreeBSD.ORG Sat May 3 06:41:03 2003 Return-Path: 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 9F90D37B401 for ; Sat, 3 May 2003 06:41:03 -0700 (PDT) Received: from mta02-svc.ntlworld.com (mta02-svc.ntlworld.com [62.253.162.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id F358443FB1 for ; Sat, 3 May 2003 06:41:00 -0700 (PDT) (envelope-from steven@keybaud.org) Received: from sh ([80.2.191.126]) by mta02-svc.ntlworld.com (InterMail vM.4.01.03.37 201-229-121-137-20020806) with SMTP id <20030503134059.VNUX9882.mta02-svc.ntlworld.com@sh> for ; Sat, 3 May 2003 14:40:59 +0100 From: Sender: "Steven Haywood" To: Date: Sat, 3 May 2003 14:41:04 +0100 Message-ID: <000201c31179$a55a2810$0100a8c0@sh> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: ntpd problem on 5-Release Sparc64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: steven@keybaud.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 May 2003 13:41:03 -0000 Hiya I'm having problems with ntpd on my ultra 5 running 5.0-Release: May 3 11:58:08 natural ntpd[34099]: ntpd 4.1.1b-a Fri May 2 18:39:32 BST 2003 (1) May 3 11:58:08 natural ntpd[34099]: bind() fd 5, family 2, port 123, addr xx.23.208.34, in_classd=0 flags=1 fails: Can't assign requested address May 3 11:58:08 natural ntpd[34099]: kernel time discipline status 2040 May 3 11:58:10 natural ntpd[34099]: sendto(xx.23.208.9): Bad file descriptor May 3 11:58:10 natural ntpd[34099]: sendto(xx.23.208.8): Bad file descriptor This happens with both the base system version, and the latest version in the ports tree. Nothing seems to be using UDP 123 when ntpd is not running: natural# lsof -n -P | grep 123 init 1 root txt VREG 4,2 512328 16712 / (/dev/ad0a) If I run ntpd, lsof shows that it's opened port 123 UDP: ntpd 34680 root txt VREG 4,7 252392 212332 /usr/sbin/ntpd ntpd 34680 root 4u IPv4 0xc290f318 0t0 UDP *:123 ntpd 34680 root 5u IPv4 0xc290e000 0t0 UDP xx.23.208.35:123 ntpd 34680 root 6u IPv4 0xc290ca48 0t0 UDP 127.0.0.1:123 natural# cat /etc/ntp.conf server xx.23.208.8 server xx.23.208.9 driftfile /etc/ntp.drift ntpdate works fine if ntpd isn't running: natural# ntpdate xx.23.208.8 3 May 14:33:03 ntpdate[34605]: step time server 81.23.208.8 offset 2.108413 sec Anyone have any ideas please? :) Thanks Steven