[corosync] cibadmin not available, check your installation

Matteo Bignotti mbignotti at switchvox.com
Sat Jun 9 01:37:12 GMT 2012


Hate when posts go unanswered :)

anyway, when you call a script in sudo, it MIGHT break the PATH, make 
sure that's not the case

I solved it that way.

On 06/08/2012 04:09 PM, Matteo Bignotti wrote:
> Hi guys,
>
> my problem is that in my perl script I have this output when running 
> it through the apache, now, this script is run already in sudo and 
> goes like this
>
> system("/usr/sbin/cibadmin -E --force");
>
> ...
>
> system("/usr/sbin/crm -F configure load replace $pace_fn");
>
> I read other posts on google to add the /usr/sbin to the path of the 
> user but I am using the full path, why would it matter?
>
> thanks
> _______________________________________________
> discuss mailing list
> discuss at corosync.org
> http://lists.corosync.org/mailman/listinfo/discuss



More information about the discuss mailing list