On CentOS 5.5, when I go to put a node in standby I get the following error:

/usr/sbin/crm_standby: line 58: crm_attribute: command not found

This only seems to be an issue when I "Use sudo" with the Host Wizard.  Connecting as root doesn't have the problem.

If I run the command sudo /usr/sbin/crm_standby -U {Hostname} -v on from the command line from the same user account it works fine.

I also tried adding /usr/sbin to the system wide path in CentOS and it still doesn't work.

I was able to work around the issue by editing /usr/sbin/crm_standby and changing the last line from crm_attribute $options to /usr/sbin/crm_attribute $options

Any ideas on why the "Use sudo" option seems to be losing pathing information?

Thank you,
Jamie Sammons



---------------------------------------------------------

This e-mail message is intended only for the personal use of the recipient(s)
named above. If you are not an intended recipient, you may not review, copy or
distribute this message. If you have received this communication in error,
please notify the CDS Global Help Desk ([email protected]) immediately
by e-mail and delete the original message.

---------------------------------------------------------
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to