8 Troubleshooting

This toipc describes how to solve issues that may arise when using the Oracle GoldenGate Enterprise Manager Plug-In.

8.1 Correcting ADFC Error on Windows 64-Bit Machines

Selecting a target from the Oracle GoldenGate Enterprise Manager Plug-In home page may cause an ADFC exception on Windows 64-bit machines. To correct this issue, execute following command:

emctl load policies -plugin_id "oracle.fmw.gg" -policies_file 
"middleware_home/plugins/goldengate_plugin_home
/metadata/security/jaznpolicy/jazn-data.xml" 

Note:

middleware_home is where you installed Oracle Fusion Middleware products.

8.2 Locating Oracle GoldenGate Enterprise Manager Plug-in Log Files

Following are the Oracle GoldenGate Enterprise Manager Plug-in log files (assuming that ORACLE_HOME is set to /home/oracle/) that can help you with troubleshooting the Oracle GoldenGate Enterprise Manager Plug-In.

Discovery related error details log file: ogg_so_logs.log.0

This file is in the $AGENT_STATE_DIR/sysman/emd/ directory.

The ogg_so_log file contains discovery related errors, details about execute commands, and report/discard/config file operations. If there are any errors while the Oracle GoldenGate Enterprise Manager Plug-in Agent connects with iAgent, the information is logged in this file.

For example:

/home/oracle/oem/agent/agent_inst/sysman/emd/ogg_so_l ogs.log.0
EM Agent error details log file: emagent.log

This file is in the $AGENT_STATE_DIR/sysman/log/ directory. For example:

/home/oracle/oem/agent/agent_inst/sysman/log/gcagent.log

Oracle GoldenGate Enterprise Manager Plug-In user interface error details log file: emoms.log

This file is in the $T_WORK/ user_projects/domains/EMGC_DOMAIN/servers/EMGC_OMS1/sysman/log/ directory. For example:

/home/oracle/oem/gc_inst/user_projects/domains/EMGC_DOMAIN/servers/EMGC_OMS1/sysman/log/emoms.log

Oracle Management Services log file: EMGC_OMS1.out

This file is in the $T_WORK/user_projects/domains/EMGC_DOMAIN/servers/EMGC_OMS1/logs/ directory. For example:

/home/oracle/oem/gc_inst/user_projects/domains/EMGC_DOMAIN/servers/EMGC_OMS1/logs/EMGC_OMS1.out

8.3 Availability Error

For the Oracle GoldenGate Microservices targets, you need to set the monitoring credential correctly for getting the target status and other metrics, unlike the classic targets. In case of the classic targets, you do not have to set the preferred credentials to display the metrics.

The preferred credentials were only required to get logs and the Configuration tab. If the monitoring credentials are not set, then you need to first set them. If the credentials are set, then you need to check the following:
  • whether the Enterprise Manager agent is up and running.
  • If the agent is running, then you need to reset the credentials. To change the credentials:
  1. Change the username.
  2. Save the new username details.
  3. Use the same username and password.