Manual uninstall instructions for a Data Center Security Unix agent
book
Article ID: 211391
calendar_today
Updated On:
Products
Data Center Security Server AdvancedData Center Security Monitoring Edition
Issue/Introduction
DCS Unix agent install is corrupted and will not uninstall using the conventional way
Environment
Data Center Security Server Unix Agent: All releases
Cause
This happens when agent folders get removed or are not able to be accessed. For example, when the /symantec folder is manually removed, DCS agent corruption will occur and this manual uninstall method needs to be used to remove ALL components of the DCS Unix agent
Resolution
Before using the manual removal process, please try the standard removal methods
DCS 6.9.2 and higher
Location: /usr/lib/symantec/uninstall.sh sh uninstall.sh --uninstall ALL
DCS 6.9.1 and lower
rpm -e sdcss-kmod rpm -e sdcss Reboot server
If the above fails please follow these steps to manually remove the agent from the server:
Manual Steps
In the management console, set the policy for the agent to uninstall to the Null prevention policy. If the Linux agent is not communicating with the management console, disable the agent, and then continue with the uninstall.
Run the following command to get the PID for the DCS Agent services pgrep -U sisips -P1 -f sisipsdaemon pgrep -U sisips -P1 -f sisipsutildaemon pgrep -U root -P1 -f sisidsdaemon pgrep -U root -P1 -f sisamddaemon
Stop the DCS Agent services using the PID from Step 2 If the agent process is not running, continue with the next numbered step. If either agent process is running, run the following command to stop the agent process: kill -KILL <agent_PID>
Clean up systemctl systemctl daemon-reload
systemctl reset-failed
Clean up entry from rpm DB (duplicates are by design here) rpm -e --justdb sdcss rpm -e --justdb sdcss-kmod rpm -e --justdb sdcss-scripts rpm -e --justdb sdcss-kmod rpm -e --justdb sdcss
Verify that packages are removed rpm -qa | grep sdcss
Type and run the following commands to remove the agent user and group: userdel sisips groupdel sisips
Reboot the Machine
After the above steps are followed there may be remaining traces of the DCS agent components. In order to cleanly uninstall the DCS agent, you should install the agent again, then use the conventional uninstall method to remove all components.
Uninstalling DCS Agent from AIX Agents
rpm -e sdcss (AIX does not have kmod packages to uninstall)