logrotate process error:" error running non-shared postrotate script for /var/log/hp-snmp-agents/cma.log"

Solution Verified - Updated -

Issue

  • logrotate job is not running for long time in my server,we tried to run logrotate forcefully with the following command but got the below error.
[root@example logrotate.d]# /usr/sbin/logrotate -f /etc/logrotate.conf
cmarackd: no process killed
error: error running non-shared postrotate script for /var/log/hp-snmp-agents/cma.log of '/var/log/hp-snmp-agents/cma.log '

Environment

  • Red Hat Enterprise Linux 6.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content