During the installation of the ATIC management center (SUSE Linux), if the ATIC server is unexpectedly powered off, restarted, system crashes, or maintenance personnel perform misoperations, the running installation program will be shut down, that is, the installation fails. Perform the following operations to rectify the installation failure:
1. If the system displays a message indicating that the omm user already exists during the installation, run the userdel omm command to delete the omm user, run the groupdel wheel command to delete the user group, and then perform the installation again. If no failure message is displayed, go to Step 2.
Before performing this step, ensure that the ATIC has been disabled. Otherwise, the ATIC cannot be disabled after user omm is deleted. As a result, the uninstallation fails. You can run the checkrunning.sh command to check whether the ATIC services are disabled.
2. Check whether the ATIC server is powered off. If the power indicator of the server is off, the server is powered off. In this case, turn on the power switch again.
3. Log in to the operating system as the root user.
4. Uninstall the ATIC management center.
a. Access the CLI and run the cd command to open the directory where the uninstallation file is stored.
b. Run the ./uninstall.sh command to uninstall the ATIC management center software. Enter yes as prompted to start the uninstallation.
If the uninstallation is successful, perform the installation again.
If the uninstallation fails, go to the next step.
5. Clear the installation environment.
kill -9 `ps -efww | grep mysql | grep -v grep | awk '{print $2}'`
kill -9 $(ps -efww | grep /opt/huawei/atic | grep -v grep | awk '{print $2}')
rm /etc/profile.d/hwSecEnv.sh
userdel omm
rm /etc/init.d/mysql
rm /etc/my.cnf
rm -r /opt/huawei/atic
6. If historical data is not retained, manually delete the installation directory.
7. Perform the installation again.