Your message dated Sat, 29 Jul 2006 23:55:39 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#324485: ntp-server: startup fails with odd errors
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: ntp-server
Version: 1:4.2.0a+stable-8
Severity: normal
After a reboot, ntp-server is being started, but error occur:
Aug 22 13:18:37 debian ntpd[1613]: ntpd [EMAIL PROTECTED]:4.2.0a+stable-8-r Sat
Mar 19 14:14:09 CET 2005 (1)
Aug 22 13:18:37 debian ntpd[1613]: bind() fd 4, family 2, port 123, addr
0.0.0.0, in_classd=0 flags=8 fails: Address already in use
Aug 22 13:18:37 debian ntpd[1613]: bind() fd 4, family 2, port 123, addr
127.0.0.1, in_classd=0 flags=0 fails: Address already in use
Aug 22 13:18:37 debian ntpd[1613]: bind() fd 4, family 2, port 123, addr
160.45.207.74, in_classd=0 flags=8 fails: Address already in use
Aug 22 13:18:37 debian ntpd[1613]: kernel time sync status 0040
Aug 22 13:18:37 debian ntpd[1613]: frequency initialized 166.947 PPM from
/var/lib/ntp/ntp.drift
Aug 22 13:18:38 debian ntpd[1613]: sendto(130.149.17.21): Bad file descriptor
Aug 22 13:18:39 debian ntpd[1613]: sendto(130.149.17.8): Bad file descriptor
a "ps auxwww|grep ntp" shows:
# ps awux | grep ntpd
root 1495 0.0 0.2 4308 4308 ? SLs 13:18 0:00 /usr/sbin/ntpd
ntp 1613 0.0 0.2 4308 4308 ? SLs 13:18 0:00 /usr/sbin/ntpd
-p /var/run/ntpd.pid -u 109:109
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13-rc6-git13
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages ntp-server depends on:
ii ntp 1:4.2.0a+stable-8 Network Time Protocol: network uti
ii ntp-simple 1:4.2.0a+stable-8 Network Time Protocol: daemon for
ntp-server recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
What happened here is that you already had an ntpd instance running and
started a second one, so the second one complained that some of the
ports are already in use. Since the first one was started without a
PID file, the second one can't really detect that situation cleanly.
The messages in the syslog might look a bit weird, but that's already
covered in bug #239318. The solution for this particular situation is
to kill the first ntpd daemon (running as root) and restart the init
script.
--- End Message ---