Lesson 4: Troubleshooting ZDM – Common Errors & Fixes

Ashish Agnihotri
Data Analyst at Exaguru
Introduction

🔹 ZDM Troubleshooting Architecture
ZDM logging and diagnostics are structured across three layers:
1. ZDM Service Host Logs
- Located Under:
$ZDM_HOME/logs/
- Key Files:
zdm.log → High-Level Job Log
zdmlogger.log → Component Logging Framework
job_<ID>.log → Task-level log per migration job
2. Source Database Logs
-RMAN logs, listener logs, alert logs (alert_<SID>.log).
3. Target Database Logs
-DBUA upgrade logs (for cross-version migrations).
- Standby creation logs (if Data Guard mode).
🔹 Common Errors & Fixes
1️⃣ Connectivity & Authentication Errors
ZDM-10030: Unable to establish SSH connectivity with source/target node
- SSH key not configured correctly.
- Wrong hostnames or firewall restrictions.
# Test SSH manually ssh -i /path/to/key opc@target-node
- Ensure passwordless SSH between ZDM host ↔ source ↔ target.
- Open required ports (22, 1521, Data Guard/GoldenGate ports).
2️⃣ Pre-check Failures
ZDM-10142: Database version not supported for migration
- Source database not on terminal release (e.g., 11.2.0.4 required for 11g).
- Patch/upgrade source to the minimum supported version.
- Example: 11.2.0.4 PSU applied before attempting migration.
3️⃣ RMAN Backup Errors
ORA-19504: failed to create file ORA-27040: file create error
- Insufficient disk space for RMAN backup.
- Wrong staging location in ZDM config file.
- Increase disk quota on ZDM host staging area.
- Validate
backupLocationparameter inzdm_service.cfg.
4️⃣ Data Guard Sync Issues
ORA-16810: multiple errors or warnings detected for the database
- Data Guard broker misconfiguration.
- Network latency is impacting redo transport.
DGMGRL> show configuration; DGMGRL> edit database <dbname> set property LogXptMode='SYNC';
- Validate redo apply lag.
- Ensure ports (default 1521) are open and the MTU is consistent.
5️⃣ GoldenGate Replication Errors
OGG-00519: Fatal error in Extract
- Unsupported data type in replication.
- Extract not granted required privileges.
GRANT DBA TO <ogg_user>;
- Add supplemental logging:
ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;
- Restart GoldenGate extract/replicat.
6️⃣ Cutover Failures
ZDM-10502: Cutover failed due to application connections on source DB
- Applications still connected during cutover.
ALTER SYSTEM QUIESCE RESTRICTED;
- Stop application services.
- Retry cutover with:
zdmcli resume job -id <JOB_ID>
🔹 Best Practices for Troubleshooting
-precheck before migration to catch environment mismatches.tail -f $ZDM_HOME/logs/job_<ID>.log
zdmcli query job to check job progress.🔹 Example: Resume Failed Job
# Query the job status
zdmcli query job -id 12345
# Resume from failure
point zdmcli resume job -id 12345