Uninstalling Data Center Security Server (DCS) Agent Using Package Commands
search cancel

Uninstalling Data Center Security Server (DCS) Agent Using Package Commands

book

Article ID: 218724

calendar_today

Updated On:

Products

Data Center Security Server Advanced

Issue/Introduction

Use package commands to uninstall your DCS Unix agent

Environment

Release : 6.7x-6.9x

Component : DCS Unix Agent

Resolution

On UNIX servers, you can uninstall the agents by using native operating system package commands
 
1. (Solaris/Linux) Log on to Unified Management Console and assign the agent to a security group that has Null policy.
The agent prevents you from installing and removing agent-related files if it is enforcing a restrictive prevention policy. If the Solaris or Linux agent is not communicating with Unified Management Console, disable the agent using the instructions found here: Disabling or enabling Solaris agents or Disabling or enabling Linux agents  then continue with the uninstall.
2. Open a Terminal window on the server that runs the agent, and become superuser
 
3.On Solaris, type and run the following command:
pkgrm SYMCsdcss
On Solaris, run the following command to restart the computer:
init 6
On Ubuntu Linux, type and run the following two commands:
apt-get remove --purge sdcss-kmod 
apt-get remove --purge sdcss
 
On Ubuntu Linux, run the following command to restart the computer:
init 6
On non-Ubuntu distributions of Linux, type and run the following commands:
rpm -e sdcss-kmod
rpm -e sdcss
On non-Ubuntu distributions of Linux, run the following command to restart the computer:
init 6
On RHEL with Atomic, type and run the following command:
rpm-ostree uninstall sdcss-kmod-<kmod_version>.el7.x86_64 sdcss-<agent_version>.el7.x86_64
After restarting the computer, run the following command:
rm -rf /opt/Symantec/sdcssagent /var/lib/sdcss /var/log/sdcsslog /etc/sisips
On AIX, type and run the following command:
rpm -e sdcss
On AIX, if the installation completes successfully, run the following command to restart the computer:
shutdown -Fr now
NOTE: When you uninstall an agent, Data Center Security: Server Advanced, by default, collects agent logs.
If you do not want DCS to collect agent information, create the file: /etc/sisips/NoAgentInfo before uninstalling the agent.
4. When the uninstaller completes, it reports an uninstall status.
 

Additional Information

Note: For full removal of the Linux 6.9.2 Agent you must use the uninstall.sh script.  See notes below...
Location: /usr/lib/symantec/uninstall.sh
sh uninstall.sh --uninstall ALL

Please don't use rpm -e as we have alot more components with the 6.9.2 (and later) Agent.