RHEL5 /var/log/messagse shows last message repeated X times

Latest response

The majority of my RHEL5 servers are forwarding their logs via syslog to another server where I can watch the logging take place. The majority of them are showing the following:

Last Message Repeated X Times

I found the following solution on Redhat's website:

https://access.redhat.com/solutions/82133

However there isn't a solution to it.

Via Google I found this solution, however it applies more to RHEL6 servers. Except none of the RHEL6 servers are having this issue.

https://access.redhat.com/solutions/1308023

Did anyone else run into this with RHEL6 and if so, how was it fixed?

thanks

Responses

Add below line to /etc/rsyslog.conf $RepeatedMsgReduction on and then restart rsyslog service.

Sorry, I meant RHEL5, since its using /etc/syslog.conf for the logging.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.