Oracle ZDM returns PRCG-1036: Internal error
PRCG-1036 is a wrapper error. When it occurs with zdmcli -build, common causes include a stopped ZDM service, running the command as the wrong operating-system user, or an incomplete ZDM installation.
Run the following commands as the user that installed ZDM—normally zdmuser:
export ZDM_HOME=/actual/path/to/zdmhome
$ZDM_HOME/bin/zdmservice status
$ZDM_HOME/bin/zdmservice start
$ZDM_HOME/bin/zdmservice status
$ZDM_HOME/bin/zdmcli -build
Make sure the ZDM service is running before checking the version. ZDM commands should also be run by the installation owner.
Collect the underlying error
id
hostname -f
getent hosts "$(hostname -f)"
SRVM_TRACE=true $ZDM_HOME/bin/zdmcli -build 2>&1
Verify ZDM installation files
Confirm that the version metadata and CPAT component are available:
ls -l "$ZDM_HOME/rhp/zdm.release.info"
sed -n '1,20p' "$ZDM_HOME/rhp/zdm.release.info"
find "$ZDM_HOME/rhp/zdm/lib/cpat" \
-name premigration.jar -ls 2>/dev/null
Check the ZDM server log
find "$ZDM_BASE/crsdata" -type f \
\( -name 'zdmserver.log*' -o -name 'rhpserver.log*' \) -print
Then inspect the newest log file returned by the command:
tail -200 /path/from/previous/command
The primary service log is usually located at:
$ZDM_BASE/crsdata/<host>/rhp/zdmserver.log.0
If zdm.release.info or premigration.jar is missing, treat the ZDM home as incomplete. Reinstall or update ZDM from a fresh kit, and run the installer from outside the existing ZDM home.