witty_sun 发表于 2014-12-29 16:02

配置ntp服务

操作系统是/#oslevel -s
6100-07-05-1228

我在 /etc/ntp.conf里这么配
server 17.2.10.2 prefer minpoll 4 maxpoll 4
server 17.2.10.1 minpoll 4 maxpoll 4
driftfile /etc/ntp.drift
tracefile /etc/ntp.trace
然后
#startsrc -s xntpd -a "-x"
0513-059 The xntpd Subsystem has been started. Subsystem PID is 8978666
然后
#ps -ef | grep ntpd      
    root 8978666 3539188   0 15:52:27      -0:00 /usr/sbin/xntpd -x
然后
#ntpq -p
   remote         refid      st t when poll reach   delay   offset    disp
==============================================================================
17.2.10.2       .LCK.            1 u    6   16   17   0.43-862991 1875.03
17.2.10.1       .LCK.            1 u    5   16   17   0.40-862991 1875.03
然后就出现问题了
#ntpq -p
ntpq: read: A remote host refused an attempted connect operation.

我的时区,和日期时间设置的没有问题,请问是怎么回事,如何解决呢,谢谢了。

cryboy2001 发表于 2014-12-30 08:52

A remote host refused an attempted connect operation

看看网络与防火墙的情况
页: [1]
查看完整版本: 配置ntp服务