时间服务器的问题,请大家帮忙!!!!
我在LINUX中装了NTP,一台是RED HAT 6.2 设为SERVER,一台RED HAT 7.1设为CLIENT
服务器跑起NTPD后,可客户端总是报告找把到合适的同步服务器,出错信息如下
[root@localhost bin]# ./ntpd -d
create_sockets(123)
interface <lo> OK
interface <eth0> OK
bind() fd 4, family 2, port 123, addr 0.0.0.0, flags=1
bind() fd 5, family 2, port 123, addr 127.0.0.1, flags=0
bind() fd 6, family 2, port 123, addr 192.168.0.157, flags=1
init_io: maxactivefd 6
peer_clear: at 0 assoc ID 0
newpeer: 192.168.0.157->192.168.0.25 mode 3 vers 4 poll 6 10 flags 0x1 0x1 ttl 0 key 00000000
report_event: system event 'event_restart' (0x01) status 'sync_alarm, sync_unspec, 1 event, event_unspec' (0xc010)
transmit: at 1 192.168.0.157->192.168.0.25 mode 3
auth_agekeys: at 1 keys 1 expired 0
receive: at 1 192.168.0.157<-192.168.0.25 mode 4 code 1
packet: bad header 020
[root@localhost bin]# ./ntpdate -d 192.168.0.25
19 Mar 11:09:52 ntpdate[17561]: ntpdate 4.1.72@1.762-r Mon Mar 18 09:43:29 CST 2002 (1)
transmit(192.168.0.25)
receive(192.168.0.25)
transmit(192.168.0.25)
receive(192.168.0.25)
transmit(192.168.0.25)
receive(192.168.0.25)
transmit(192.168.0.25)
receive(192.168.0.25)
transmit(192.168.0.25)
192.168.0.25: Server dropped: strata too high
server 192.168.0.25, port 123
stratum 16, precision -20, leap 11, trust 000
refid [0.0.0.0], delay 0.02620, dispersion 0.00000
transmitted 4, in filter 4
reference time: 00000000.00000000 Thu, Feb 7 2036 14:28:16.000
originate timestamp: c0412ab7.e6e0f3cb Tue, Mar 19 2002 11:10:47.901
transmit timestamp: c0412a80.e99a73b4 Tue, Mar 19 2002 11:09:52.912
filter delay: 0.02628 0.02621 0.02621 0.02620
0.00000 0.00000 0.00000 0.00000
filter offset: 54.98894 54.98894 54.98895 54.98894
0.000000 0.000000 0.000000 0.000000
delay 0.02620, dispersion 0.00000
offset 54.988946
19 Mar 11:09:52 ntpdate[17561]: no server suitable for synchronization found
[root@localhost bin]#
其中/ETC/NTP.CONF为
SERVER 192.168.0.25
DRIFTFILE /ETC/NTP.DRIFT
不知道怎样解决这个问题,请诸位帮忙.万分感谢!!!