rsyslog not working

CentOS Web Panel is deployed in Contact us to find out our latest offers!

If you have an issue that your logs are not working on the centos 7 then check what rsyslog version you have.

Know to have issues
rsyslog-8.24.0-34.el7.x86_64

How to check

rpm -qa|grep sysl

rsyslog-8.24.0-34.el7.x86_64
service rsyslog status

Redirecting to /bin/systemctl status rsyslog.service
● rsyslog.service - System Logging Service
   Loaded: loaded (/usr/lib/systemd/system/rsyslog.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2019-09-02 17:20:12 EEST; 7h ago
     Docs: man:rsyslogd(8)

RSyslog Documentation
Main PID: 4619 (rsyslogd) CGroup: /system.slice/rsyslog.service └─4619 /usr/sbin/rsyslogd -n Sep 02 12:25:44 my.server.com rsyslogd[20369]: imjournal: journal reloaded... [v8.24.0-34.el7 try http://www.rsyslog.com/e/0 ] Sep 02 16:16:54 my.server.com rsyslogd[20369]: sd_journal_get_cursor() failed: 'Cannot assign requested address' [v8.24.0-34.el7] Sep 02 16:17:19 my.server.com rsyslogd[20369]: imjournal: journal reloaded... [v8.24.0-34.el7 try http://www.rsyslog.com/e/0 ] Sep 02 16:17:19 my.server.com rsyslogd[20369]: sd_journal_get_cursor() failed: 'Cannot assign requested address' [v8.24.0-34.el7] Sep 02 16:17:19 my.server.com rsyslogd[20369]: imjournal: journal reloaded... [v8.24.0-34.el7 try http://www.rsyslog.com/e/0 ] Sep 02 16:37:16 my.server.com rsyslogd[20369]: [origin software="rsyslogd" swVersion="8.24.0-34.el7" x-pid="20369" x-info="http://www.rsyslog.com"] exiting on signal 15.

Solution
remove rsyslog and install syslog-ng

yum remove rsyslog
yum install syslog-ng
CentOS Web Panel is deployed in Contact us to find out our latest offers!

Comments are closed.