[ntp:questions] Newbie at NTP

Dummy cerberus dummycerberus at gmail.com
Thu Sep 20 10:45:50 UTC 2007


Hello,

I'm new in questions relaetd with NTP, so I've got lost browsing the
correct answer for my problema around the WWW.

I have Win2K domain with two DC... I would like my RedHat Enterprise
Linux servers get synchronized to the PDC through NTP.

I have installed ntpd and wrote my /etc/ntp.conf file like this:

server mypdc prefer
server theotherdc
driftfile /var/lib/ntp/drift

Then I have installed the server and started it:
chkconfig ntpd on
/etc/init.d/ntpd start

But I doesn't get synchronized... I found nothing on /var/log/messages
about any error... ntpdate seems to work ok at command line with both
hosts... but if I type ntpd -d -q I get this error:
[root at ironman ~]# ntpd -d -q
ntpd 4.2.0a at 1.1190-r Mon Oct 11 09:10:20 EDT 2004 (1)
addto_syslog: ntpd 4.2.0a at 1.1190-r Mon Oct 11 09:10:20 EDT 2004 (1)
addto_syslog: precision = 2.000 usec
create_sockets(123)
addto_syslog: bind() fd 4, family 2, port 123, addr 0.0.0.0,
in_classd=0 flags=8 fails: Address already in use
addto_syslog: bind() fd 4, family 10, port 123, addr ::,
in6_is_addr_multicast=0 flags=0 fails: Address already in use
addto_syslog: bind() fd 4, family 2, port 123, addr 127.0.0.1,
in_classd=0 flags=0 fails: Address already in use
addto_syslog: bind() fd 4, family 2, port 123, addr 10.31.32.5,
in_classd=0 flags=8 fails: Address already in use
init_io: maxactivefd 0
local_clock: time 0 clock 0.000000 offset 0.000000 freq 0.000 state 0
key_expire: at 0
peer_clear: at 0 assoc ID 55772 refid INIT
newpeer: 10.31.32.5->10.31.33.9 mode 3 vers 4 poll 6 10 flags 0x281
0x1 ttl 0 key 00000000
key_expire: at 0
peer_clear: at 0 assoc ID 55773 refid INIT
newpeer: 10.31.32.5->10.31.39.139 mode 3 vers 4 poll 6 10 flags 0x201
0x1 ttl 0 key 00000000
addto_syslog: frequency initialized 0.000 PPM from /var/lib/ntp/drift
local_clock: time 0 clock 0.000000 offset 0.000000 freq 0.000 state 1
report_event: system event 'event_restart' (0x01) status 'sync_alarm,
sync_unspec, 1 event, event_unspec' (0xc010)
addto_syslog: sendto(10.31.33.9): Bad file descriptor
transmit: at 1 10.31.32.5->10.31.33.9 mode 3
auth_agekeys: at 1 keys 1 expired 0
timer: refresh ts 0
addto_syslog: sendto(10.31.39.139): Bad file descriptor
transmit: at 2 10.31.32.5->10.31.39.139 mode 3
addto_syslog: sendto(10.31.33.9): Bad file descriptor
transmit: at 3 10.31.32.5->10.31.33.9 mode 3
addto_syslog: sendto(10.31.39.139): Bad file descriptor
transmit: at 4 10.31.32.5->10.31.39.139 mode 3
addto_syslog: sendto(10.31.33.9): Bad file descriptor
transmit: at 5 10.31.32.5->10.31.33.9 mode 3
addto_syslog: sendto(10.31.39.139): Bad file descriptor
transmit: at 6 10.31.32.5->10.31.39.139 mode 3
addto_syslog: sendto(10.31.33.9): Bad file descriptor
transmit: at 7 10.31.32.5->10.31.33.9 mode 3
addto_syslog: sendto(10.31.39.139): Bad file descriptor
transmit: at 8 10.31.32.5->10.31.39.139 mode 3
addto_syslog: sendto(10.31.33.9): Bad file descriptor
transmit: at 9 10.31.32.5->10.31.33.9 mode 3
addto_syslog: sendto(10.31.39.139): Bad file descriptor
transmit: at 10 10.31.32.5->10.31.39.139 mode 3
addto_syslog: sendto(10.31.33.9): Bad file descriptor
transmit: at 11 10.31.32.5->10.31.33.9 mode 3
addto_syslog: sendto(10.31.39.139): Bad file descriptor
transmit: at 12 10.31.32.5->10.31.39.139 mode 3
addto_syslog: sendto(10.31.33.9): Bad file descriptor
transmit: at 13 10.31.32.5->10.31.33.9 mode 3
addto_syslog: sendto(10.31.39.139): Bad file descriptor
transmit: at 14 10.31.32.5->10.31.39.139 mode 3
addto_syslog: sendto(10.31.33.9): Bad file descriptor
transmit: at 15 10.31.32.5->10.31.33.9 mode 3
addto_syslog: sendto(10.31.39.139): Bad file descriptor
transmit: at 16 10.31.32.5->10.31.39.139 mode 3
addto_syslog: no reply; clock not set

Whant am I doing wrong? Thanks in advance and best regards

M.A.



More information about the questions mailing list