升级到Debian Wheezy后不再记录日志


Answers:



6

来到这里是因为我们的客户服务器之一从Debian Etch(4)升级为(6),升级为Wheezy(7),最后升级为Jessie(8),/var/log/syslog此后一直没有活动。

事实证明,在Debian 5中,它sysklogd被替换为rsyslog。不过,此更新未在特定系统上进行。当向后兼容性碰巧停止升级到Debian 7时,它就崩溃了。

解决方案只是按照http://jonsimpson.co.uk/log/2014/syslogd-updated-debian中所述安装rsyslog软件包,然后重新启动syslog并运行。

apt-get install rsyslog
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.