Remove TFA(Trace File Analyzer) to avoid qualys and/or PEN test findings
Remove TFA on all nodes
As root, , Remove TFA (Trace File Analyzer)
If the directory ORACLE_HOME/tfa/`hostname` exists , then TFA will need to be removed.
if [-f /etc/oratab]; then
ORACLE_SID="`grep -i ^+[A-Z]/etc/oratab |head -l |cut -d: -f1`"
if [${#ORACLE_SID} -gt 0] ; then
ORAENV_ASK="NO"
. oraenv -s
unset ORAENV_ASK
cd ${ORACLE_HOME}/tfa/'hostname -s`/tfa_home/bin
./uninstalltfa.sh -local -silent
fi
fi
Remove TFA on all nodes
As root, , Remove TFA (Trace File Analyzer)
If the directory ORACLE_HOME/tfa/`hostname` exists , then TFA will need to be removed.
if [-f /etc/oratab]; then
ORACLE_SID="`grep -i ^+[A-Z]/etc/oratab |head -l |cut -d: -f1`"
if [${#ORACLE_SID} -gt 0] ; then
ORAENV_ASK="NO"
. oraenv -s
unset ORAENV_ASK
cd ${ORACLE_HOME}/tfa/'hostname -s`/tfa_home/bin
./uninstalltfa.sh -local -silent
fi
fi
No comments:
Post a Comment