Wednesday, October 29, 2014

No module named crmsh

If you encounter the following error while trying to compile crmsh:
crmFatal error:No module named crmshNo module named modules 
Failed to start the crm shell! This is likely due toa broken installation or a missing dependency. 
If you are using a packaged version of the crm shell,please try reinstalling the package. Also check yourPYTHONPATH and make sure that the crmsh module isreachable.
Please make sure that:
1. In case you've compiled crms in /usr/local, make sure to link the folders inside:
/usr/local/ha/lib64/python2.6/site-packages/
to
/usr/lib64/python2.6/site-packages/
by using the command:
ln -s /usr/local/ha/lib64/python2.6/site-packages/* /usr/lib64/python2.6/site-packages/
2. Make sure to install the following dependencies:
yum install *lxml* *PyYAML* -y

No comments:

Post a Comment