Linux and UNIX systems: Restart S-TAP without GIM
Use this procedure for an S-TAP that was installed by script or rpm.
Procedure
- Log on to the database server system by using the root account.
- For all non-Red Hat Enterprise Linux
- Open the /etc/inittab file for editing.
- Un-comment the following two statements by deleting the comment character (: for AIX®, # for all others) at the start of each line:
#utap:2345:respawn:/usr/local/guardium/guard_stap/guard_stap /usr/local/guardium/guard_stap/guard_tap.ini
- Optional. If you are using the TEE monitoring mechanism, un-comment the following two statements
by deleting the comment character (: for AIX, #
for all others) at the start of each line.Note: These processes are not used in the default configuration and must not be started if you are using the K-Tap monitoring mechanism.
#utee:2345:respawn:/usr/local/guardium/guard_stap/guard_tee /usr/local/guardium/guard_stap/guard_tap.ini #hsof:2345:respawn:/usr/local/guardium/guard_stap/guard_hnt
- Run the init q command to restart the S-TAP® processes.
- For Red Hat Enterprise Linux
- List the currently running agents by using the operating system command initctl
list. The output shows the agents that are listed as in the following example:
gim_33264 start/running, process 910 gsvr_33264 start/running, process 2552
- Start each of the agents by using the start <agent> command where agent
would be the first entry in the list from a. See the following example.
start gim_33264 start gsvr_33264 start guard_utap
- List the currently running agents by using the operating system command initctl
list. The output shows the agents that are listed as in the following example:
- To restart using Solaris services:
bash-3.00# svcadm -v enable guard_utap svc:/site/guard_utap:default enabled. -bash-3.00# ps -eaf | grep stap root 2379 1 0 14:25:57 ? 0:00 /usr/local/guardium/guard_stap/guard_stap /usr/local/guardium/guard_stap/guard_ root 2396 1930 0 14:26:00 pts/2 0:00 grep stap -bash-3.00# svcs guard_utap STATE STIME FMRI online 14:25:56 svc:/site/guard_utap:default -bash-3.00#
- Run ps -ef | grep stap to verify that S-TAP is running.
- From the administrator portal of the Guardium system to which this S-TAP reports, verify that the Status light in the S-TAP control panel is green.
Parent topic: Linux and UNIX systems: S-TAP operation and performance