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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

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