[转]ubuntu12.04没有/var/log/messages解决
编辑/etc/rsyslog.d/50-default.conf
其中有这么一段
*.=info;*.=notice;*.=warn;\
auth,authpriv.none;\
cron,daemon.none;\
mail,news.none -/var/log/messages
保存后重启服务:sudo restart rsyslog
编辑/etc/rsyslog.d/50-default.conf