Linux-UNIX: Uninstalling S-TAP agents using the shell installer
Perform this procedure before installing a new version of S-TAP if you want to save the old configuration file.
Before you begin
- If the database is using an exit library, disable the exit library, and then delete the exit library.
- If A-TAP is active, de-activate it before uninstalling the S-TAP®. See Linux-UNIX: A-TAP activate, deactivate and DB stop, restart guidelines.
About this task
If you have installed A-TAP, you must deactivate it before attempting any upgrade/install operations; see the description of the A-TAP deactivation command, in Linux-UNIX: Deactivating A-TAP.
If you are removing a previous version of S-TAP that used K-TAP, this procedure includes rebooting the database server. If K-TAP has been installed, you have a device file named: /dev/guard_ktap.
Procedure
- Log on to the database server system using the root account.
-
Optionally, copy the S-TAP configuration file to a safe
location (a non-Guardium directory). By default, the full path name is:
/usr/local/guardium/guard_stap/guard_tap.ini.
You can use this file later if you have to re-install this version of the software, or you can refer to it when configuring an updated version of S-TAP. Do not ever use an older configuration file directly with a newer version of the software - newer properties may be missing, and the defaults taken may result in unexpected behavior when you start S-TAP.
-
Run the uninstall script. For example, if the default directory has been used:
[root@yourserver ~]# /usr/local/guardium/guard_stap/uninstall
- If your previous version of S-TAP included K-TAP, reboot the database server now.