neil on the web!

red sector a

2018 Mar 03

I found this annoying message in my Raspberry Pi /var/log/messages:

Mar 3 06:10:01 raspberrypi3b rsyslogd-2007: action 'action 17' suspended, next retry is Sat Mar 3 06:11:31 2018 [try http://www.rsyslog.com/e/2007 ]

More than one way to fix this and we can start here..

My actions:

sudo cat /dev/xconsole
sudo cp /etc/rsyslog.conf /etc/rsyslog.conf.20180303
sudo vim /etc/rsyslog.conf
sudo service rsyslog restart

This:

  • cleared the buffer /dev/xconsole
  • copied the rsyslog.conf file in case I need the original again
  • edited /etc/rsyslog.conf
  • restarted rsyslogd

The last few lines of /etc/rsyslog.conf are now:

# NT 20180303 commented out to remove annoying action17 messages
#  copied file to rsyslog.conf.20180303 just in case
# daemon.*;mail.*;\
#       news.err;\
#       *.=debug;*.=info;\
#       *.=notice;*.=warn       |/dev/xconsole

Annoying messages stopped. Check with:

sudo grep "'action 17' suspended" /var/log/messages