相关疑难解决方法(0)

为什么 ntpq -pn 报告“连接被拒绝”?

我最近设置了一个运行 NTPD 的 CentOS 6.x 系统,当我运行时遇到此错误ntpq -pn

$ ntpq -pn
ntpq: read: Connection refused
Run Code Online (Sandbox Code Playgroud)

我知道ntpd通过以下ntpstat命令启动并运行:

$ ntpstat
synchronised to NTP server (204.11.201.12) at stratum 3
   time correct to within 71 ms
   polling server every 256 s
Run Code Online (Sandbox Code Playgroud)

为什么ntpq -pn不工作?

centos ntp

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

标签 统计

centos ×1

ntp ×1