Linux Lite Forums
rsyslog not active - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5)
+--- Forum: Other (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=20)
+--- Thread: rsyslog not active (/showthread.php?tid=7819)



rsyslog not active - noweare - 06-22-2021

Hello,
I am using LL 5.4
I installed syslog-ng which is a well known logging system.
After a couple of days I uninstalled it now my system does not log.

systemctl status rsyslog.service
returns:
rsyslog.service - LSB: enhanced syslogd
    Loaded: loaded (/etc/init.d/rsyslog; generated)
    Active: active (exited) since Tue 2021-06-22 15:03:42 EDT; 48min ago
TriggeredBy: ● syslog.socket
      Docs: manConfusedystemd-sysv-generator(8)
    Process: 2553 ExecStart=/etc/init.d/rsyslog start (code=exited, status=0/SUCCESS)

On my LL4.x laptop rsyslog is running and active the same command returns:
Loaded: loaded (/lib/systemd/system/rslog.service
Acitve: active (running)
Main PID: 804 rsyslogd
CGroup: /system.slice/ryslog.service
                804 /usr/sbin/rsyslogd -n

It looks like in LL 5.4  is using a script from the old init SysV  system
and LL 4.x is using the new init systemd system. 
Wondering how I can get rsyslog back running again.

Thanks


Re: rsyslog not active - noweare - 06-22-2021

I found out that rsyslog was not installed even though the status returned something that looked like it was present but just not running. When I installed syslog-ng it must of uninstalled rsyslog as part of its install. After installing rsyslog the system logs started filling again.

The rsyslog.conf file allows you to set up a log server that can be the hub of all your networked hosts by communicating through udp or tcp with the clients. I am just happy getting my logs back so I will stop here for now.