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 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.