Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 May 2003 14:41:04 +0100
From:      <freebsd@keybaud.org>
To:        <questions@freebsd.org>
Subject:   ntpd problem on 5-Release Sparc64
Message-ID:  <000201c31179$a55a2810$0100a8c0@sh>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000201c31179$a55a2810$0100a8c0>