Uninstalling the PATROL Agent
This topic provides instructions for uninstalling the PATROL Agent, Installation Utility, and Knowledge Modules using the silent option.
To uninstall the PATROL Agent
Do the following:
Go to the Uninstall directory in your BMC product installation directory, and run the following command:
#Syntax
uninstall.exe -silent {Name of the PATROL Agent Image}
#Example
uninstall.exe -silent PA_Host1
#Syntax
./uninstall.sh -silent {Name of the PATROL Agent Image}
#Example
./uninstall.sh -silent {PA_Host1}
To uninstall all the PATROL components in Windows
You can use the uninstall command to uninstall KMs, PATROL Agent, and the Installation Utility that are running on the host computer using the following flag options:
- uninstall.exe -silent {images}: Enter a comma-separated list of image names that you want to uninstall.
- uninstall.exe -silent {all_kms}: Use this option to uninstall all the KMs that are installed.
- uninstall.exe -silent {all}: Use this option to uninstall all the BMC PATROL products that are installed.
- To remove all the PATROL associated files, run the finalUninstallWipe.exe with administrator privilege from the C:\Program Files\BMC Software\Uninstall\Install\instbin directory.
To uninstall all the PATROL components in UNIX
You can use the uninstall command to uninstall KMs, PATROL Agent, and the Installation Utility that are running on the host computer using the following flag options:
- uninstall.sh -silent {images}: Enter a comma-separated list of image names that you want to uninstall.
- uninstall.sh -silent {all_kms}: Use this option to uninstall all the KMs that are installed.
- uninstall.sh -silent {all}: Use this option to uninstall all the BMC PATROL products that are installed.
- To remove all the PATROL associated files in the /opt/bmc and /etc/patrol.d folder, run the WipeUninstall.sh script with the root privilege from the /home/patrol/BMCINSTALL/<date_timestamp> directory.
Delete the PatrolAgent.service file. The file maybe present in any one of the following locations:
- /etc/systemd/system
- /usr/lib/systemd/system
If you are using AIX and HPUX operating system, after uninstallation, delete the following softlinks manually in /usr/lib :
Delete the soflinks if it points to bmc base install directory. Don't delete if it points to other third-party software.
- libnspr4.so
- libfreebl3.so
- libnss3.so
- libnssckbi.so
- libnssdbm3.so
- libnssutil3.so
- libplds4.so
- libplc4.so
- libsoftokn3.so
- libsmime3.so
- libssl3.so
- libsqlite3.so