Syslog 随机记录错误时间

Syslog 随机记录错误时间

尽管我尽力尝试,但我还是无法弄清楚为什么该服务器会随机为系统日志条目添加错误的时间标记。

这是几分钟前 5 分钟的 syslog 片段。您会注意到有两个地方的时间记录有误。一处记录为 1 月 10 日(偏差约 4 天),另一处记录为 11 月 16 日(要么晚了约 2 个月,要么早了约 10 个月——无法分辨,因为 syslog 不记录年份):

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

我已经验证了机器上的时区设置是否正确,并且我已经完全停止了 rsyslogd 并重新启动它。我甚至可以让一个循环在机器上运行数小时而不会出现错误:

while true; do date; sleep 1; done

...所以这似乎不是时钟的问题。在控制台中检查 10,000 多行“日期”输出太糟糕了!;)

我应该指出,我只在记录 CRON 操作时见过这种情况。Cron 作业不会长时间运行,我甚至通过注释掉一天内 Cron 中的所有作业进行了测试。没有错误的时间条目。

有什么想法吗?

相关内容