Uninstalling linux agents manually – Symantec Critical System User Manual

Page 87

Advertising
background image

87

Installing UNIX agents

Uninstalling agents manually

Uninstalling Linux agents manually

You can manually uninstall Linux agents.

To uninstall Linux agents manually

1

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.
See

“Disabling and enabling Linux agents”

on page 93.

2

Open a Terminal window on the computer that runs the agent to uninstall,
and become superuser.

3

Run the following command to determine the agent process ID:

cat /var/run/sisipsdaemon.pid

cat /var/run/sisipsutildaemon.pid

cat /var/run/sisidsdaemon.pid

4

(Optional) If the process IDs do not appear, do the following to display the
process IDs and stop the agent processes:
Run the following command:

pgrep -U sisips -P1 -f sisipsdaemon

pgrep -U sisips -P1 -f sisipsutildaemon

pgrep -U root -P1 -f sisidsdaemon

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>

5

Type and run the following commands to remove the installation files:

rm -rf /opt/Symantec/scspagent

(your installation directory)

rmdir /opt/Symantec

rm -rf /etc/sisips

rm -f /etc/sisips.conf

rm -f /etc/init.d/sisi?s*

rm -f /etc/init.d/rc?.d/*sisi?s*

rm -rf /etc/symantec/sis

rm -rf /var/log/scsplog

6

Type and run the following commands to remove the agent user and group:

userdel sisips

groupdel sisips

Advertising