2.18 Troubleshooting Compliance Framework (Oracle ORAchk and Oracle EXAchk)
Follow the steps explained in this section to troubleshoot and fix Compliance Framework (Oracle ORAchk / Oracle EXAchk) related issues.
- How to Troubleshoot Oracle ORAchk and Oracle EXAchk Issues
Follow these steps to fix the Oracle ORAchk and Oracle EXAchk related issues. - How to Capture Debug Output
Follow these procedures to capture debug information. - Remote Login Problems
If Oracle ORAchk and Oracle EXAchk have problem locating and running SSH or SCP, then the tools cannot run any remote checks. - Permission Problems
You must have sufficient directory permissions to run Oracle ORAchk and Oracle EXAchk. - Slow Performance, Skipped Checks, and Timeouts
Follow these procedures to fix slow performance and other issues.
Parent topic: Analyzing Risks and Complying with Best Practices
2.18.1 How to Troubleshoot Oracle ORAchk and Oracle EXAchk Issues
Follow these steps to fix the Oracle ORAchk and Oracle EXAchk related issues.
2.18.3 Remote Login Problems
If Oracle ORAchk and Oracle EXAchk have problem locating and running SSH or SCP, then the tools cannot run any remote checks.
Also, the root
privileged commands do not work if:
-
Passwordless remote
root
login is not permitted over SSH -
Expect utility is not able to pass the
root
password
Note:
Set the RAT_EXPECT_DEBUG
and RAT_EXPECT_STRACE_DEBUG
variables only at the direction of Oracle support or development. The RAT_EXPECT_DEBUG
and RAT_EXPECT_STRACE_DEBUG
variables are used with other variables and user interface options to restrict the amount of data collected during the tracing. The script
command is used to capture standard output.
As a temporary workaround while you resolve remote problems, run reports local on each node then merge them together later.
orachk -local
exachk -local
orachk –merge zipfile 1 zip file 2 > zip file 3 > zip file ...
exachk –merge zipfile 1 zip file 2 > zip file 3 > zip file ...
2.18.4 Permission Problems
You must have sufficient directory permissions to run Oracle ORAchk and Oracle EXAchk.
-
If Oracle Clusterware is installed, then:
-
Install Oracle EXAchk in
/opt/oracle.SupportTools/exachk
as the Oracle Grid Infrastructure home owner -
Install Oracle ORAchk in
CRS_HOME/suptools/orachk
as the Oracle Grid Infrastructure home owner
-
-
If Oracle Clusterware is not installed, then:
-
Install Oracle EXAchk in
/opt/oracle.SupportTools/exachk
asroot
-
Install Oracle ORAchk (in a convenient location) as
root
(if possible)or
Install Oracle ORAchk (in a convenient location) as Oracle software install user or Oracle Database home owner
-
2.18.5 Slow Performance, Skipped Checks, and Timeouts
Follow these procedures to fix slow performance and other issues.
The watchdog.log
file also contains entries
similar to killing stuck command.
Depending on the cause of the problem, you may not see skipped checks.