zoukankan      html  css  js  c++  java
  • rsyslog 报 WARNING: rsyslogd is running in compatibility mode.

    [root@localhost log]# uname -a
    Linux localhost.localdomain 2.6.32 #1 SMP Sun Sep 20 18:58:21 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux

    [root@localhost sbin]# /usr/local/sbin/rsyslogd -v
    rsyslogd 5.8.13, compiled with:
    FEATURE_REGEXP: Yes
    FEATURE_LARGEFILE: No
    GSSAPI Kerberos 5 support: No
    FEATURE_DEBUG (debug build, slow code): No
    32bit Atomic operations supported: Yes
    64bit Atomic operations supported: Yes
    Runtime Instrumentation (slow code): No

    See http://www.rsyslog.com for more information.

    error:

    2016-06-12T23:04:01.435809-07:00 localhost rsyslogd: WARNING: rsyslogd is running in compatibility mode.

    Automatically generated config directives may interfer with your rsyslog.conf settings.

    We suggest upgrading your config and adding -c5 as the first rsyslogd option.

    [root@localhost log]# vi /etc/sysconfig/rsyslog

    # Options to syslogd
    # -m 0 disables 'MARK' messages.
    # -rPortNumber Enables logging from remote machines. The listener will listen to the specified port.
    # -x disables DNS lookups on messages recieved with -r
    # See syslogd(8) for more details
    SYSLOGD_OPTIONS="-c 5"
    # Options to klogd
    # -2 prints all kernel oops messages twice; once for klogd to decode, and
    # once for processing with 'ksymoops'
    # -x disables all klogd processing of oops messages entirely
    # See klogd(8) for more details
    KLOGD_OPTIONS="-x"

  • 相关阅读:
    node设置res.cookie跨域问题解决
    Rails常用插件
    什么是编程基础
    【数学之美】抽屉原理
    时分秒针重合问题
    如何理解【业务逻辑】
    【转】有关环境变量的若干问题?
    关于指针类型转化后在printf输出的问题
    rand * () 之间相互生成总结
    4.14做一个新浪微博的小东东
  • 原文地址:https://www.cnblogs.com/zengkefu/p/5580571.html
Copyright © 2011-2022 走看看