Important

   

This documentation space contains information about PATROL Agents when deployed in a TrueSight Operations Management environment. If you are a BMC Helix Operations Management user, see PATROL Agent 22.4 for BMC Helix Operations Management. Open link

Uninstalling the PATROL Agent

This topic provides instructions for uninstalling the PATROL Agent, Installation Utility, and Knowledge Modules silently.

To uninstall the PATROL Agent

Do the following:

Go to the Uninstall directory in your BMC product installation directory, and run the following command:

#Windows operating system
#Syntax
uninstall.exe -silent {Name of the PATROL Agent Image}
#Example
uninstall.exe -silent PA_Host1
#UNIX
#Syntax
./uninstall.sh -silent {Name of the PATROL Agent Image}
#Example
./uninstall.sh -silent {PA_Host1}

You can use the Installation Utility to uninstall only those products that were installed with the current or later versions of the Installation Utility. To uninstall PATROL Agents installed using an earlier version of the utility, you must use the specific version that you used for the original installation.

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.

Remove the rest of the PATROL Agent registry keys manually.

  • Navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\BMC Software\Patrol and delete the following keys:
    • Patrol
    • Patrol Agent
    • Patrol Security
  • Navigate to Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node and delete the following key:
    • BMC Software

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.
    • It doesn't remove the registry of PATROL and BMC tool. Remove it manually.

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 softlinks 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
Was this page helpful? Yes No Submitting... Thank you

Comments