标签: ntpd

NTPD:使用不受限制的端口进行通信

使用命令ntpdate查询ntp服务器时,我可以使用-u参数使源端口成为不受限制的端口(端口1024及以上).

使用ntpd,它意味着在后台运行,我似乎找不到启用此选项的方法.所以源端口始终是123.它正在我的防火墙配置可怕地玩.

ntp.conf中是否有配置选项使其使用随机源端口?

unix time ntpd

13
推荐指数
2
解决办法
1万
查看次数

没有适合同步的服务器对于NTP服务

我必须ntp从源代码构建软件包并在一些主机上安装所有软件包.安装后,ntpdate 1.us.pool.ntp.org适用于同步.但是,当我尝试这样做时,ntpdate <ip_add_of_another_host>它向我显示以下错误

21 Jul 18:57:53 ntpdate [18287]:没有适合同步的服务器

更奇怪的是,有时ntpdate <ip_addr_of_another_host>在我尝试之后会有效ntpdate 1.us.pool.ntp.org

我的ntp服务器的配置文件:

# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help

driftfile /var/lib/ntp/ntp.drift


# Enable this if you want statistics to be logged.
#statsdir /var/log/ntpstats/

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
# Specify one or more NTP servers.

# Use servers from …
Run Code Online (Sandbox Code Playgroud)

synchronization ntpd ntp

7
推荐指数
1
解决办法
3万
查看次数

ntpd 同步后执行脚本

我有树莓派和树莓派。我想在时间与 ntpd 同步后立即执行脚本,我的脚本需要正确的日期时间。我怎样才能做到这一点?

linux ntpd raspberry-pi

5
推荐指数
1
解决办法
2611
查看次数

运行NTPD的Linux服务器是否会受到2015年增加闰秒计划的影响?

已经读到有计划在2015年6月增加一个闰秒.在工作中我们运行了许多安装的Linux(Ubuntu)服务器,ntpd以保持时间同步并纠正它们.

有没有人知道这个时间的变化将如何影响我们,即我们是否需要做任何事情而不仅仅是为了ntpd纠正我们的时间?

我无法在NTPNTPD的网站上找到任何信息.

对于背景下,我们运行PHP /阿帕奇/ Solr的/ MySQL的服务器,并与供应依赖于时间的反应,如历史汇率或geolocations第三方API交互.

linux ntpd ntp

2
推荐指数
1
解决办法
2856
查看次数

标签 统计

ntpd ×4

linux ×2

ntp ×2

raspberry-pi ×1

synchronization ×1

time ×1

unix ×1