ThingWorx Analytics Installation > ThingWorx Analytics Linux Installation > Troubleshooting > Handling a Failed Platform Analytics Installation
Handling a Failed Platform Analytics Installation
If an error occurs that prevents the Platform Analytics installation from completing successfully, the software will roll back the failed installation. It will remove the various installed components and leave behind the installation directory containing the log files for further investigation. You can perform the manual steps below to ensure the product is completely removed before running a fresh installation.
* 
The procedures below assume that you have already consulted the relevant Installation Logs and fixed whatever problem caused the installation to end.
Follow these steps to remove components:
* 
Depending on where the installation failed, not all of the steps below will be available or applicable.
1. Open a terminal window as the root user.
2. Navigate to the installation directory. Example directory: /opt/ThingWorxAnalytics/PlatformAnalytics
3. If the bin/twpas.sh utility is available, execute the following commands:
./twpas.sh stop
./twpas.sh disable
If for some reason, the bin/twpas.sh utility script is not available, execute the following commands, in the specified order:
systemctl list-unit-files “twpas*” | awk ‘{print $1}’ | grep “twpas” | xargs systemctl stop
systemctl list-unit-files “twpas*” | awk ‘{print $1}’ | grep “twpas” | xargs systemctl disable
4. Execute the following command:
rm -rf /etc/systemd/system/twpas*
5. Before attempting a new installation, check the memory and hard disk space on the host server. For more information, see the Hardware section of System Requirements.
Was this helpful?