Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: DRBD: Users

DRBD MC - crm_standby error

 

 

DRBD users RSS feed   Index | Next | Previous | View Threaded


JSammons at cds-global

Jul 24, 2010, 9:36 AM

Post #1 of 2 (345 views)
Permalink
DRBD MC - crm_standby error

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 (cdshelpdesk [at] cds-global) immediately
by e-mail and delete the original message.

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


rasto.levrinc at linbit

Jul 24, 2010, 4:29 PM

Post #2 of 2 (316 views)
Permalink
Re: DRBD MC - crm_standby error [In reply to]

On Sat, July 24, 2010 6:36 pm, Jamie L Sammons wrote:
> 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.
>

Yes, standby didn't work with sudo. Not it's fixed in 0.7.7.

Rasto

--
: Dipl-Ing Rastislav Levrinc
: DRBD-MC http://www.drbd.org/mc/management-console/
: DRBD/HA support and consulting http://www.linbit.com/
DRBD(R) and LINBIT(R) are registered trademarks of LINBIT, Austria.


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

DRBD users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.