Cluster resource goes comatose with exit_on_error: command not found error

  • 7009107
  • 03-Aug-2011
  • 27-Apr-2012

Environment

Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 3

Situation

A cluster resource goes comatose every time it is brought online. 
Looking at the /var/opt/novell/log/ncs/RESOURCE.load.out file reports the following:

/var/run/ncs/RESOURCE.load: line 3: exit_on_error: command not found
/var/run/ncs/RESOURCE.load: line 4: exit_on_error: command not found
/var/run/ncs/RESOURCE.load: line 5: exit_on_error: command not found
/var/run/ncs/RESOURCE.load: line 6: exit_on_error: command not found

Resolution

In iManager verify that the load and unload scripts have the correct sytax for the ncsfuncs line.  There needs to be a space between . and /opt.  If that space if removed and the line reads ./opt the ncsfuns command never runs, so the exit_on_error and other cluster functions never get defined for that resource.