Problem Description:
Use Cloudera-Manager-Installer.bin installation, unexpectedly interrupted. When you reinstall, suggesting already installed CM, please uninstall.
Try to use sudo /usr/share/cmf/uninstall-cloudera-manager.sh uninstall command failed, suggesting no mojosetup / mojosetup file
Solution:
1. Run the following command, and then you can re-install
sudo rm -Rf /usr/share/cmf /var/lib/cloudera* /var/cache/yum/cloudera*
2. If the re-installation, the installation progress interface suspected stuck, after a long wait and prompt yum lock information. You can interrupt the installation program, execute the above command, restart the server.
3. Installation again, the installation is successful