Uninstalling the BigFix Client on Solaris
Before you begin
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:- Stop the agent process before removing it
/etc/init.d/besclient stop
- Uninstall the BigFix Client by running the following
command
pkgrm BESagent
- 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:
- Stop the agent process before removing it
/etc/init.d/besclient stop
- Uninstall the BigFix Client by running the following
command
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:pkg uninstall BESagent
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
- Manually remove all the directories listed in the uninstall message, for example:
rm -rf /var/pkg/lost+found/var/opt/BESClient-20190320T135633Z
- In addition, manually remove the /etc/opt/BESClient directory by running
the following command
rm -rf /etc/opt/BESClient rm -rf /var/opt/BESCommon