Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2005 21:00:02 +1030
From:      Ian Moore <imoore@picknowl.com.au>
To:        freebsd-questions@freebsd.org
Subject:   ntpd problems since upgrading to 5.3
Message-ID:  <200501112100.10680.imoore@picknowl.com.au>

next in thread | raw e-mail | index | archive | help
--nextPart1162037.53QItJzR65
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,
Ever since I upgraded from 5.2.1-RELEASE to 5.3-RELEASE, I've been getting =
the=20
following error on boot:
ntpd[380]: bind() fd 7, family 28, port 123, addr fe80:1
::204:61ff:fe46:be89, in6_is_addr_multicast=3D0 flags=3D0 fails: Can't assi=
gn=20
requested address

ntpd seems to be working from what I can see in it's log file, but I can't =
do=20
anything with ntpq to check it.=20
Wether I run it as my normal user or as root, running ntpq -p always gives:
ntpq: write to localhost.foo.com failed: Permission denied

I can run ntpq without any flags (and get the ntpq> prompt), but as soon as=
 I=20
try to run commands in it like associations or peers, it just comes back wi=
th=20
that same error message.

I assume this has something to do with the first error message & that ntpq =
is=20
trying (& failing) to bind to ipv6, but I'm unsure why that's the case.
Here's the output of ifconfig in case that helps:
vr0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.1.5 netmask 0xffffff00 broadcast 192.168.1.255
        inet6 fe80::204:61ff:fe46:be89%vr0 prefixlen 64 scopeid 0x1
        ether 00:04:61:46:be:89
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2

I've tried disabling my firewall and running ntpq -p again, but I still get=
=20
the same response.
I've tried googling for a solution, but haven't found anything as yet so I=
=20
hope someone here can help!

Here is my ntpd entries in rc.conf:
ntpd_enable=3D"YES"               # Run ntpd Network Time Protocol (or NO).
ntpd_program=3D"/usr/sbin/ntpd"   # path to ntpd, if you want a different o=
ne.
ntpd_flags=3D"-c /etc/ntp.conf -p /var/run/ntpd.pid"

and the contents of ntp.conf:
server          210.48.130.204
server          augean.eleceng.adelaide.edu.au
driftfile       /var/db/ntpd.drift
logfile         /var/log/ntpd


Cheers,
=2D-=20
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc

--nextPart1162037.53QItJzR65
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBB46qyfITqkXhImmIRAuIWAKC7VSWe7KuZ1b9FmkyHczHqon6RBQCeKq/I
CvqAC9yT9RMf3xf0LUKK2fk=
=5dGu
-----END PGP SIGNATURE-----

--nextPart1162037.53QItJzR65--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501112100.10680.imoore>