试试我可能,我不明白为什么这个服务器随机时间戳系统日志条目时间不好。
这是几分钟前的一个5分钟的系统日志。 你会注意到有两个地方的时间logging错误。 一旦它的日志logging为1月10日(closures了大约4天),另一个日志logging在11月16日(大约2个月后或者大约10个月之前 – 由于系统日志不logging年份) :
Jan 14 18:25:01 tetrad CRON[15482]: (root) CMD (zfs-auto-snapshot -q -g --label=frequent --keep=12 //) Jan 14 18:25:01 tetrad CRON[15483]: (root) CMD (if [ -x /etc/munin/plugins/apt_all ]; then munin-run apt_all update 7200 12 >/dev/null; elif [ -x /etc/munin/plugins/apt ]; then munin-run apt update 7200 12 >/dev/null; fi) Jan 14 18:25:03 tetrad zfs-auto-snap: @zfs-auto-snap_frequent-2015-01-15-0225, 1 created, 1 destroyed, 0 warnings. Jan 14 18:26:54 tetrad puppet-master[31196]: message repeated 2 times: [ Could not find default node or by name with 'kvm4.virt.pne.local, kvm4.virt.pne, kvm4.virt, kvm4' on node kvm4.virt.pne.local] >> Jan 10 00:00:01 tetrad CRON[18094]: (root) CMD (if [ -x /etc/munin/plugins/apt_all ]; then munin-run apt_all update 7200 12 >/dev/null; elif [ -x /etc/munin/plugins/apt ]; then munin-run apt update 7200 12 >/dev/null; fi) Jan 14 18:27:01 tetrad CRON[18094]: (root) CMD (/usr/local/bin/lockrun --lockfile=/root/updatecw.lock -- /root/sqlworkbench/updatecw.sh > /dev/null) Jan 14 18:28:02 tetrad fetchmail[7149]: message repeated 51 times: [ Warning: the connection is insecure, continuing anyways. (Better use --sslcertck!)] >> Nov 16 23:45:01 tetrad CRON[20554]: (root) CMD (if [ -x /etc/munin/plugins/apt_all ]; then munin-run apt_all update 7200 12 >/dev/null; elif [ -x /etc/munin/plugins/apt ]; then munin-run apt update 7200 12 >/dev/null; fi) Jan 14 18:29:04 tetrad fetchmail[7149]: Warning: the connection is insecure, continuing anyways. (Better use --sslcertck!) Jan 14 18:29:58 tetrad kernel: [7713426.484590] ip_set: protocol 6
我已经validation了时区设置是正确的,我已经完全停止rsyslogd,并再次启动。 我甚至可以让一个循环在盒子上运行几个小时而不会出错:
while true; do date; sleep 1; done
…所以它似乎不是一个时钟的问题。 在控制台上查看10,000多行“date”输出很糟糕! ;)
我应该指出,我只有在loggingCRON行动时才看到它。 cron作业不长,我甚至通过cron的所有工作评论一天来testing。 没有错误的时间条目。
有什么想法吗?