[Pacemaker] [pacemaker] unable to execute commands like crm configure show.crm resource stop
Dejan Muhamedagic
dejanmm at fastmail.fm
Wed Mar 16 11:48:37 UTC 2011
Hi,
On Wed, Mar 16, 2011 at 10:58:16AM +0530, rakesh k wrote:
> Hi All
>
> I had installed pacemaker,heartbeat on my unix machine, I had created an SSH
> user who can access my unix machine remotely.
> I had given permissions for that user by editing *sudoers *file so that he
> can perform all the opertaions related to *crm*
>
> The configuration i used is as follows in sudoers file.
> <username> ALL=NOPASSWD:/usr/sbin
>
> since the commands like crm_mon.crm_verify, cibadmin resides in the
> /usr/sbin directory.
>
> but when my ssh user is executing the following opertation
> *-Bash-3.2#sudo /usr/sbin/crm configure show*
> *-Bash-3.2#sudo /usr/sbin/crm resource stop*
>
> This is the following error poping out
> *sudo /usr/sbin/crm configure show
> cibadmin not available, check your installation*
>
> Please provide me the solution to come over this type of situations.
/usr/sbin is not in the PATH.
Thanks,
Dejan
>
> Regards
> Rakesh
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
More information about the Pacemaker
mailing list