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