You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Rsyslogd not logging to file

Author (Read 8593 times)

0 Members and 1 Guest are viewing this topic.

Re: Rsyslogd not logging to file
« Reply #3 on: May 21, 2014, 10:55:56 AM »
 

Earthenware

  • New to Forums
  • *
  • 31
    Posts
  • Reputation: 3
  • Linux Lite Member
    • View Profile
Thanks for the help.

I tried some changes but they didn't make any difference.

I need a reliable syslog so I've removed rsyslogd and I'm trying syslog-ng now. It's working fine at the moment. I'll keep my fingers crossed that it's reliable.
 

Re: Rsyslogd not logging to file
« Reply #2 on: May 20, 2014, 10:38:21 PM »
 

N4RPS

  • Donator
  • Platinum Level Poster
  • **********
  • 1149
    Posts
  • Reputation: 155
  • Knows JUST ENOUGH Linux to be DANGEROUS
    • View Profile
    • Orphans for Christ, Self Advocates of Mecklenburg

  • CPU: Several Different 32-bit & 64-bit CPUs, 2-8 GB RAM

  • MEMORY: 8Gb

  • VIDEO CARD: Several Different AMD and Intel GPUs
Hello!

Catfish found these instances of syslog.conf. You can try editing one of these in the Text Editor (Leafpad):


Code: [Select]
sudo leafpad /etc/rsyslog.conf
sudo leafpad /etc/init/rsyslog.conf

Hope this helps...

73 DE N4RPS
Rob


A gun in your hand is worth more than a whole police force on the phone.
 

Rsyslogd not logging to file
« Reply #1 on: May 20, 2014, 08:38:49 AM »
 

Earthenware

  • New to Forums
  • *
  • 31
    Posts
  • Reputation: 3
  • Linux Lite Member
    • View Profile
Hi,

On my system, Rsyslogd sometimes stops logging to files. It's random and happens maybe every other week. It doesn't coincide with any changes or updates.

I found a diagnostic that told me to run the following command:
/usr/sbin/rsyslogd -f/etc/rsyslog.d/50-default.conf -N1

The output is:
rsyslogd: version 5.8.6, config validation run (level 1), master config /etc/rsyslog.d/50-default.conf
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.
rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad immark
rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: MarkMessagePeriod 1200
rsyslogd: Warning: backward compatibility layer added to following directive to rsyslog.conf: ModLoad imuxsock
rsyslogd: End of config validation run. Bye.

So, it looks like I have to add -c5 as the first syslogd option.

The problem is, I have absolutely no idea how to do this. Can anyone help please?
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section