Network Time Protocol(NTP,网络时间协议)用于同步它所有客户端时钟的服务。 NTP服务器将本地系统的时钟与一个公共的NTP服务器同步然后作为时间主机提供服务,使本地LAN网络的所有客户端能同步时钟。 1。配置/etc/ntp.conf: restrict default nomodify notrap noquery restrict 127.0.0.1 restrict 10.0.0.0 mask 255.255.255.0 nomodify notrap restrict 10.0.1.0 mask 255.255.255.0 nomodify notrap s...
by szxsztszk - Linux文档专区 - 2009-09-29 10:15:32 阅读(773) 回复(0)
现有需求是linux启用ntpd服务,已一台windows服务器作为ntp server。linux上使用ntpdate命令能成功与windows服务器时间同步,但使用ntpd服务则无法与windows服务器同步。为验证ntpd服务是否正常,换一台linux服务器作为ntp server,则能够同步成功。 请问如何能在linux上使用ntpd服务与windows服务器实现时间同步?
Windows server 2008作时钟源,在注册表中将HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer的“Enabled”改为了1 在Linux上修改ntp的配置文件/etc/ntp.conf,在文件中增加server 188.160.27.11 prefer minpoll 6 maxpoll 6 188.160.27.11为Windows server 2008的地址。 但是在Linux上使用ntpq -p查询,时钟出现不了*号, remote refid st t when poll reach dela...
下述设置以时钟源服务器IP地址为192.168.0.1为例。 可以命令ntpstat 和 ntpq -p 查看本机NTPD服务状态。 配置完成后,均需要重新启动NTPD服务 service ntpd restart 【服务器端设置】 1.将/etc/下的文件ntp.conf修改如下: server 127.127.1.0 minpoll 4 maxpoll 5 fudge 127.127.1.0 stratum 2 restrict 127.0.0.1 driftfile /var/lib/ntp/drift 2.将/etc/ntp下的文件ntpservers内容置空 3.将/etc/ntp下的文件step-tickers修改如...
我在服务器上配置了NTPD服务,Linux,Unix的客户机都可以通过rdate同步,为什么Windows 主机不可以? 在windows 同步时,报错: windows 在与 10.1.0.3 进行同步时出错.时间例子被拒绝,因为:对等机器没有同步,或者对等机器上次同步的间隔太长.
#vi /etc/ntp.conf restrict default nomodify notrap noquery restrict 127.0.0.1 server time-a.nist.org server time.windows.com server ntp1.sf-bay.org restrict time-a.nist.gov mask 255.255.255.255 nomodify notrap noquery restrict time.windows.com mask 255.255.255.255 nomodify notrap noquery restrict ntp1.sf-bay.org mask 255.255.255.255 nomodify notrap noquery restrict 192.168.0.0 mask 255.255.255....
linux下的ntpd启动后(该机器有公网ip),其他机器能通过ntpdate或者rdate跟他对时间吗? ntpd本身跟网络时间服务器是对时的。我想把它也配置成时间服务器,但是好象有问题, [root@GLZQ-sh root]# ntpdate 192.168.192.201 3 Jul 10:43:38 ntpdate[17702]: no server suitable for synchronization found [root@GLZQ-sh root]#
linux下的ntpd启动后(该机器有公网ip),其他机器能通过ntpdate或者rdate跟他对时间吗? ntpd本身跟网络时间服务器是对时的。我想把它也配置成时间服务器,但是好象有问题, [root@GLZQ-sh root]# ntpdate 192.168.192.201 3 Jul 10:43:38 ntpdate[17702]: no server suitable for synchronization found [root@GLZQ-sh root]#
linux下的ntpd启动后(该机器有公网ip),其他机器能通过ntpdate或者rdate跟他对时间吗? ntpd本身跟网络时间服务器是对时的。我想把它也配置成时间服务器,但是好象有问题, [root@GLZQ-sh root]# ntpdate 192.168.192.201 3 Jul 10:43:38 ntpdate[17702]: no server suitable for synchronization found [root@GLZQ-sh root]#
linux下的ntpd启动后(该机器有公网ip),其他机器能通过ntpdate或者rdate跟他对时间吗? ntpd本身跟网络时间服务器是对时的。我想把它也配置成时间服务器,但是好象有问题, [root@GLZQ-sh root]# ntpdate 192.168.192.201 3 Jul 10:43:38 ntpdate[17702]: no server suitable for synchronization found [root@GLZQ-sh root]#