所以,我们有一个使用这个时间服务器列表的ntp服务器(ntp-4.2.8-r1): server pool.ntp.org server 24.56.178.140 server 2001:470:0:2c8::2 server ntp.markyate.net server ntpv6.dianacht.de server 127.127.1.0 但是,当我使用ntpq列出同行: mns0c log # ntpq -pn 127.0.0.1 remote refid st t when poll reach delay offset jitter ============================================================================== 24.56.178.140 .INIT. 16 u – 512 0 0.000 0.000 0.000 *2001:470:0:2c8: .CDMA. 1 u 44 64 377 80.066 6.970 0.534 127.127.1.0 .LOCL. 10 l […]
我已经在vmware工作站上安装了Linux Centos 7。 我也在Centos中安装了Quagga路由套件,并将其configuration为与安装在Host(Windows 10)中的GNS3中的Cisco路由器进行通信。 我已经在GNS3中configuration了一个我的路由器作为ntp服务器,它们都被同步。 现在我想让我的分享与其他人同步。 要做到这一点,我已经安装ntpd,并configuration为波纹pipe: 服务器192.168.162.100 iburst 192.168.162.100是我的思科路由器,充当ntp服务器,也可以从centos到达。 但我的时间不同步。 这是当我在centos命令行中input“ntpstat”时的输出: ntpstat输出 正如你所看到的那样,它是没有变通的。 这是“ntpq -p”的输出: ntpq -p输出 正如你看到它列出的服务器,但抖动非常高。 我想提一下,我也通过vmware工具禁用了与主机的vmware时间同步。 但仍然没有结果和时间没有同步。 任何帮助,将不胜感激。
我在Windows 8 Hyper-V上运行的虚拟Debian 8机器上遇到了date停滞的问题。 我没有做很多安装后的configuration,这是一个故意安装而不是花哨的东西 – 我只是使用该框作为独立的POSIX环境,通过SSHloginPuTTY。 date似乎“冻结”,当主持人睡觉,并在一天左右后翻转主机笔记本电脑上的盖子后,将其唤醒。 从Windows上的PuTTy到VM的SSH会话始终保持不变。 我不想用Linux的Hyper-V特定的时间同步服务,我很满意使用NTP。 NTP已经安装了apt-get install ntp ,最初我用systemctl status ntp获得了以下内容: ● ntp.service – LSB: Start NTP daemon Loaded: loaded (/etc/init.d/ntp) Active: active (running) since Mon 2017-08-14 23:16:55 CEST; 20h ago Process: 1167 ExecStop=/etc/init.d/ntp stop (code=exited, status=0/SUCCESS) Process: 1175 ExecStart=/etc/init.d/ntp start (code=exited, status=0/SUCCESS) CGroup: /system.slice/ntp.service └─1184 /usr/sbin/ntpd -p /var/run/ntpd.pid -g […]
我在我的Debian主机上安装了ntpd,以保持硬件RTC“最新”。 通过共享系统时钟,时间会自动传播到所有安装的容器(lxc)。 其中一个容器运行我的路由器。 我想用这个路由器把时间传播给我的networking中所有感兴趣的设备,所以他们不需要自己的互联网连接。 我不想使用主机作为服务器(希望由interface ignore all禁用)。 如何在一个容器中安装和configuration一个纯粹的ntp-server,将系统的时钟作为唯一的参考? 它永远不会自行设置时钟。 我如何安装和configuration一个纯粹的ntp客户端,它不接受来自其他对等方的传入连接,并泄漏尽可能less的信息?
我正在尝试为我们的局域网设置本地NTP服务器。 我可以运行ntpdate server_ip手动更新时间。 但是,ntp守护进程似乎没有logging任何东西到系统日志,所以我不知道是否有任何系统同步。 # /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help driftfile /var/lib/ntp/ntp.drift statistics loopstats peerstats clockstats filegen loopstats file loopstats type day enable filegen peerstats file peerstats type day enable filegen clockstats file clockstats type day enable logconfig =syncall +clockall # Specify one or more NTP servers. # Use servers from the […]
我有一个ntpd服务器运行,为我的办公室内的所有电脑提供时间。 最近它已经开始意外closures。 日志中没有任何内容: 30 Aug 02:25:43 ntpd[1590]: peers refreshed 30 Aug 02:25:43 ntpd[1590]: new interface(s) found: waking up resolver 30 Aug 02:25:45 ntpd[1949]: DNS 0.europe.pool.ntp.org -> 62.237.86.234 30 Aug 02:25:47 ntpd[1949]: DNS 3.gr.pool.ntp.org -> 193.93.167.241 30 Aug 02:25:47 ntpd[1949]: DNS 3.europe.pool.ntp.org -> 149.210.163.34 30 Aug 02:25:52 ntpd[1590]: Listen normally on 10 tun1 192.168.26.18 UDP 123 […]
我有个问题。 服务器上的时间不同步。 而且似乎这个问题出现后,我设置我的iptables的规则,我在这里描述可能是我错了,这两个事件是不相关的… … – CentOS 7.1 ntpd 4.2.6p5 在/ var / log / messages中 May 25 16:48:49 CentOS-70-64-minimal ntpd[26771]: ntpd [email protected] Sat Dec 20 02:38:09 UTC 2014 (1) May 25 16:48:49 CentOS-70-64-minimal ntpd[26771]: proto: precision = 0.046 usec May 25 16:48:49 CentOS-70-64-minimal ntpd[26771]: 0.0.0.0 c01d 0d kern kernel time sync enabled May 25 16:48:49 […]
在我的服务器ntpd服务启动,但似乎没有工作。 我根本找不到任何东西( ntpd日志文件在哪里,我们如何configurationntpd日志文件path? )和这个( 我在哪里可以查找ntpd日志? ):-( 根据MadHatter的build议(请参阅如何使系统时间与NTP服务器连续同步? ),我在服务器中列出了一些信息: ntpdate返回: 2 May 21:47:55 ntpdate[47274]: the NTP socket is in use, exiting ntpq -c as回报: ind assID status conf reach auth condition last_event cnt =========================================================== 1 22393 9614 yes yes none sys.peer reachable 1 2 22394 9414 yes yes none candidat reachable 1 3 22395 9414 yes […]
我刚刚在一个有一分钟错误时间的Ubuntu服务器上安装了ntp,我不得不想,一开始它是如何得到任何时间的? 是否有一些其他的进程在启动时间设置? 还是这个虚拟机实例化时刚开始播种?
例如,我可以在系统时间提前五分钟设置ntpd时间吗? 我知道我可以手动设置时间,而不需要运行(或者甚至是安装)ntpd,但是如何在没有设置系统时间的情况下运行ntpd并不明显。