检查系统日志(如 /var/log/syslog 或/var/log/messages)中是否有与 ntpdate 相关的错误信息。 通过以上步骤,你应该能够诊断并解决 ntpdate no servers can be used, exiting 的问题。如果问题依然存在,可能需要进一步检查网络配置或咨询网络管理员。
2.1 【no servers can be used, exiting】 ntpdate在同步时间的时候,需要指定你要同步时间的时间服务器,也就是ntpdate不会使用ntpd的配置文件/etc/ntpd.conf,这就是为什么虽然在配置文件中指定了ntp服务器,但是只执行ntpdate命令的时候,会提示 no servers can be used, exiting。 也就是提示:ntpdate未指定服务...
[root@master ~]# ntpdate 14 Jun 20:43:57 ntpdate[7097]: no servers can be used, exiting 设置时区 timedatectl #查看当前时间与时区 timedatectl set-timezone Asia/Shanghai #设置时区,如果时区不对需要设置 timedatectl set-time "YYYY-MM-DD HH:MM:SS" #手动设置时间,可选 操作 [root@master ~]...
29 Nov 23:10:01 ntpdate[8073]: no servers can be used, exiting
复制 [root@nginx01-41~]# ntpdate times.aliyun.com Error resolving times.aliyun.com:Servname not supportedforai_socktype(-8)31Aug21:04:20ntpdate[1287]:Can't find host times.aliyun.com:Servname not supportedforai_socktype(-8)31Aug21:04:20ntpdate[1287]:no servers can be used,exiting...
Error 27-08-08 07:13:00 ntpdate[58] can't find host pool.ntp.org Error 27-08-08 07:13:00 ntpdate[58] no servers can be used, exiting Notice 27-08-08 07:16:38 ntpd[26] time reset +0.324068 siMac 24" w/ Leopard 10.5.4; 3.06GHz; 4GB; 500GB; nVidia GeForce 8800GS, Mac ...
我在虚拟化(vmware)LinuxDebian上进行NTP配置时遇到了困难,所以我想知道是否有人遇到过同样的问题。210291 3875.58localhost: stratum 16, offset 0.000000, synch distance 0.17794513 Dec 14:06:47ntpdate[4056]: no servers can be used, exiting 有什么问题的线索吗?
# be tightened as well, but to do so would effect some of # the administrative functions. restrict 127.0.0.1 restrict -6 ::1 # Hosts on local network are less restricted. #restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap # Use public servers from the pool.ntp.org project. ...
Note: You can also do the same with /etc/ntp/ntpservers for your satisfaction. However I didn’t see the file being actually used in Fedora Core 6. ntp server also worked without this file being present. Changing /etc/ntp/step-tickers did the trick. Now ntp server comes up in a frac...
冗余服务器所看到同一个变量的归档曲线不一致等问题。所以,时钟同步对于PCS7系统的正常运行非常重要。