Why does my script resource fail a stop operation with 'stop on script "myscript" returned 1 (generic error)' in a RHEL 4, 5, or 6 cluster with rgmanager?

Solution Unverified - Updated -

Issue

  • Why does my script resource fail a stop operation with 'stop on script "myscript" returned 1 (generic error)'?
clurgmgrd[2586]: <notice> stop on script "script" returned 1 (generic error) 

Environment

  • Red Hat Cluster Suite 4+
  • Red Hat Enterprise Linux (RHEL) 5 or 6 with the High Availability Add On
  • rgmanager
  • One or more <script> resources in a service in /etc/cluster/cluster.conf

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