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

Solution Verified - Updated -

Issue

  • Why does my script resource fail a start operation with 'start on script "myscript" returned 1 (generic error)'?
clurgmgrd[2586]: <notice> start on script "script" returned 1 (generic error) 
  • Why does my script resource fail a status operation with 'status on script "myscript" returned 1 (generic error)'?
clurgmgrd[2586]: <notice> status 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