Linux Lite Forums

Software - Support => Other => Topic started by: noweare on June 22, 2021, 04:04:10 PM

Title: rsyslog not active
Post by: noweare on June 22, 2021, 04:04:10 PM
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: man:systemd-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
Title: Re: rsyslog not active
Post by: noweare on June 22, 2021, 07:01:22 PM
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.