cni*_*ini 10 rsyslog ubuntu-16.04
我已经为 syslog 警报等设置了 loggly,并且在 syslog 中反复收到以下错误。
command 'KLogPermitNonKernelFacility' is currently not permitted - did you already set it via a RainerScript command (v6+ config)? [v8.16.0 try http://www.rsyslog.com/e/2222 ]
Run Code Online (Sandbox Code Playgroud)
运行 Ubuntu 16.04.1 LTS 4.4.0-42-generic
否则服务器似乎运行良好。据我所知,这会通知 rsyslog 允许非内核事件进入 syslog,这正是我想要的。除此之外,我不确定。
也收到了这个
Could not open output pipe '/dev/xconsole':: No such file or directory [v8.16.0 try http://www.rsyslog.com/e/2039 ]
Run Code Online (Sandbox Code Playgroud)
我是一个非常非常不情愿的开发人员,提前抱歉。
*编辑:重新启动系统日志服务,问题仍然存在。
*编辑:抑制 /dev/xconsole 错误,KLogPermitNonKernelFacility 错误仍然存在。
Sli*_*eer 17
是一个已知的错误。
Bug#1531622
KLogPermitNonKernelFacility - 这是不再使用的遗留参数。要删除错误,请$KLogPermitNonKernelFacility on
在文件中找到并注释掉以下行rsyslog.conf
Bug#830046
如果/dev/xconsole
你的系统上没有该设备,你可以这样定位:
daemon.*;mail.*;\
news.err;\
*.=debug;*.=info;\
*.=notice;*.=warn |/dev/xconsol
Run Code Online (Sandbox Code Playgroud)
并将其注释掉,或替换xconsole
为console
.
归档时间: |
|
查看次数: |
16329 次 |
最近记录: |