昨天(7月30日),我在/var/log/syslog中找到了以下内容
Dec 16 22:54:05 omap ntpdate[432]: step time server 91.189.94.4 offset 12052648.821465 sec
日期91.189.94.4“修正了我的时钟从7月30日至12月16日!”据http://www.pool.ntp.org/scores/91.189.94.4称,该服务器的关机时间不超过2ms。
现在,我确实有了一个脚本,它在系统启动时调用date命令,以便以~1s的精度设置时钟。从本地网络读取粗时间,并调用date来设置时间。我必须这样做,因
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: files systemd
group:
我遵循了链接中的所有步骤:,并使用了下面的linux版本。
不名-a
Linux 10-XX-XX-28 2.6.32-696.13.2.el6.x86_64 #1 SMP清华10月5日17:03:21 PDT 2017 x86_64 GNU/Linux
这是安装在虚拟机云中的某个地方,并且通过本地窗口机器,我试图访问下面提到的错误:。
我的Windows机器:
C:\Softwares\redis-2.4.5-win32-win64\64bit>redis-cli -h 10.XX.XX.28 -P 6379
Could not connect to Redis at 10.X
我得到了以下错误:
Error: Could not find any host matching '$HOSTNAME我的主机/服务定义:define host{
use linux-server ; Name of host template to use
; This host definition will inherit all variables that are defined