ORA-16664: unable to receive the result from a database
Reason:
It is possible dg broker ignore the changes you made on tnsnames.ora. It stores its own connect string when you set up dg broker at the beginningSolution:
Turn on trace to support .dgmgrl>EDIT CONFIGURATION set property tracelevel=support;
dgmgrl>EDIT INSTANCE "COMMPRDA1" ON DATABASE COMMPRDA set property LogArchiveTrace=8191;
Find out exact connect string it is using via drc logs. Test the string on sqlplus
In my case, the special listener we created before for dataguard which confuses dg broker to create its own connect string. Fix it via update your listener.ora
Or staticconnectidentifier
dgmgrl>edit instance 'CONTNTA1' on database contntadc set property staticconnectidentifier='TNS string';
Turn off trace.
dgmgrl>EDIT CONFIGURATION set property tracelevel=user;
dgmgrl>EDIT INSTANCE "COMMPRDA1" ON DATABASE COMMPRDA set property LogArchiveTrace=0;
No comments:
Post a Comment