You are Here:
Download Linux Lite 5.6 Final today - See Release Announcements



X Close Ad
X Close Ad
[ SOLVED ] rsyslog not active

Author (Read 1071 times)

0 Members and 1 Guest are viewing this topic.

rsyslog not active
« on: June 22, 2021, 04:04:10 PM »
 

noweare

  • New to Forums
  • *
  • 22
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 4.4 64bit

  • CPU: Intel Celeron CPU @ 2.4GHz 1 processor, 2 cores

  • MEMORY: 4Gb

  • VIDEO CARD: 1440 x 900

  • Kernel: 4.x
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
Last Edit: June 22, 2021, 07:01:52 PM by noweare
 


Re: rsyslog not active
« Reply #1 on: June 22, 2021, 07:01:22 PM »
 

noweare

  • New to Forums
  • *
  • 22
    Posts
  • Country: us
  • Reputation: 0
  • Linux Lite Member

  • Linux Lite: 4.4 64bit

  • CPU: Intel Celeron CPU @ 2.4GHz 1 processor, 2 cores

  • MEMORY: 4Gb

  • VIDEO CARD: 1440 x 900

  • Kernel: 4.x
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.
 


Tags:
 

X Close Ad
X Close Ad

Download Linux Lite 5.6 Final today - See Release Announcements