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"

  • 相关阅读:
    truncate删除一个分区,测试全局索引是否失效
    DG环境恢复同步遇到报错ORA-00353ORA-00334以及ORA-00600[2619], [47745]
    继承
    智能指针unique_ptr
    explicit
    编译安装python3
    Linux读写执行权限(-r、-w、-x)的真正含义
    nginx入门之编译安装
    vim
    1.yum下载 mysql及授权
  • 原文地址:https://www.cnblogs.com/zengkefu/p/5580571.html
Copyright © 2011-2022 走看看