Uninstalling the BigFix Client on Solaris

If you have a BigFix Relay installed on the same computer, first remove the BigFix Relay and then proceed with the BigFix client uninstallation.

About this task

If you installed the client using the SVR4 (.pkg file) format

To uninstall the BigFix client installed on a Solaris operating system, if you installed it using the legacy SVR4 (.pkg file) format, perform the following steps:
  1. Stop the agent process before removing it
    /etc/init.d/besclient stop
  2. Uninstall the BigFix Client by running the following command
    pkgrm BESagent
  3. Manually remove the following directories
    rm -rf /etc/opt/BESClient 
    rm -rf /var/opt/BESClient 
    rm -rf /opt/BESClient
    rm -rf /var/opt/BESCommon

If you installed the client using the IPS (.p5p file) format

To uninstall the BigFix client installed on a Solaris 11 operating system, if you installed it using the IPS (.p5p file) format, perform the following steps:

  1. Stop the agent process before removing it
    /etc/init.d/besclient stop
  2. Uninstall the BigFix Client by running the following command
    pkg uninstall BESagent
    Uninstalling the IPS package moves the files added at runtime under $IMAGE_META/lost+found. The default value for IMAGE_META is /var/pkg. The uninstall command shows a message reporting the actual paths, for example:
    The following unexpected or editable files and directories were 
    salvaged while executing the requested package operation; they
    have been moved to the displayed location in the image:
    /var/opt/BESClient -> /var/pkg/lost+found/var/opt/BESClient-20190320T135633Z
  3. Manually remove all the directories listed in the uninstall message, for example:
    rm -rf /var/pkg/lost+found/var/opt/BESClient-20190320T135633Z
  4. In addition, manually remove the /etc/opt/BESClient directory by running the following command
    rm -rf /etc/opt/BESClient
    rm -rf /var/opt/BESCommon