免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3152 | 回复: 6
打印 上一主题 下一主题

NTP 问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-07-23 21:51 |只看该作者 |倒序浏览
NTP服务启动了,iptables服务停了,但是时间还是没有同步,请问是什么原因,谢谢。

#/usr/sbin/ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
time.nist.gov   .ACTS.           1 u   39 1024  253  392.311  -341510 143516.
CLOCK.uregina.c .GPS.            1 u  274 1024  337  192.656  -338793 152233.
swisstime.ee.et 129.132.2.22     2 u  211 1024  377  634.050  -339724 151768.
ntp0-rz.rrze.un .GPS.            1 u  277 1024  377  700.910  -338801 152393.
adsl-65-71-16-1 139.78.100.163   2 u  278 1024  377  624.003  -338769 152093.
203.86.196.6    131.107.1.10     2 u  278 1024  377  738.378  -338806 152592.
tock.jrc.us     192.5.41.40      2 u  287 1024  117  513.835  -338629 152245.
*LOCAL(0)        LOCAL(0)        10 l   16   64  377    0.000    0.000   0.004

/usr/sbin/ntptrace 127.0.0.1
websrv: stratum 11, offset 0.000000, synch distance 0.012275

/usr/sbin/ntpdate
23 Jul 10:47:48 ntpdate[15871]: no servers can be used, exiting


/usr/sbin/ntptime
ntp_gettime() returns code 0 (OK)
  time c86e0aac.c4c21000  Sun, Jul 23 2006 10:48:12.768, (.768586),
  maximum error 15419 us, estimated error 0 us
ntp_adjtime() returns code 0 (OK)
  modes 0x0 (),
  offset 0.000 us, frequency 0.000 ppm, interval 4 s,
  maximum error 15419 us, estimated error 0 us,
  status 0x1 (PLL),
  time constant 6, precision 1.000 us, tolerance 512 ppm,
  pps frequency 0.000 ppm, stability 512.000 ppm, jitter 200.000 us,
  intervals 0, jitter exceeded 0, stability exceeded 0, errors 0.

论坛徽章:
1
技术图书徽章
日期:2013-12-05 23:25:45
2 [报告]
发表于 2006-07-23 23:50 |只看该作者
/usr/sbin/ntpdate asia.pool.ntp.org

论坛徽章:
0
3 [报告]
发表于 2006-07-24 18:35 |只看该作者
/usr/sbin/ntpdate asia.pool.ntp.org
24 Jul 06:34:45 ntpdate[27168]: the NTP socket is in use, exiting


Any suggestions? Thanks.

论坛徽章:
1
技术图书徽章
日期:2013-12-05 23:25:45
4 [报告]
发表于 2006-07-25 12:50 |只看该作者
ps看看ntp的那些东西启动了。

论坛徽章:
0
5 [报告]
发表于 2006-07-25 13:02 |只看该作者
Stop the ntpd then sync the Internet and sync with hwclock. Restart ntpd again.

论坛徽章:
0
6 [报告]
发表于 2006-07-25 14:04 |只看该作者
Baif:

Tried number of times, didn't work.

HonestQiao:

ps -ef |grep ntpd
ntp      16507     1  0 02:02 ?        00:00:00 ntpd -U ntp -g
root     16541 16464  0 02:03 pts/0    00:00:00 grep ntpd

Tried to downgrade to 4.1. No luck.

[ 本帖最后由 jordi 于 2006-7-25 14:11 编辑 ]

论坛徽章:
0
7 [报告]
发表于 2006-07-25 14:36 |只看该作者
Got an error.

/usr/sbin/ntptime
ntp_gettime() returns code 5 (ERROR)
  time c8703a6b.47e4e000  Tue, Jul 25 2006  2:36:27.280, (.280836),
  maximum error 16384000 us, estimated error 16384000 us
ntp_adjtime() returns code 5 (ERROR)
  modes 0x0 (),
  offset 0.000 us, frequency -500.000 ppm, interval 4 s,
  maximum error 16384000 us, estimated error 16384000 us,
  status 0x41 (PLL,UNSYNC),
  time constant 2, precision 1.000 us, tolerance 512 ppm,
  pps frequency 0.000 ppm, stability 512.000 ppm, jitter 200.000 us,
  intervals 0, jitter exceeded 0, stability exceeded 0, errors 0.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP