After add brokerconfig in sharding, gsm got error GSM-40148 and ORA-12154

(Doc ID 2319449.1)

Last updated on OCTOBER 23, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.2.0.1 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.0.1 version, Oracle Data Guard

When attempting to start GSM,
the following error occurs.

ERROR
-----------------------
2017-10-17T18:52:50.875679-07:00
GSM is started successfully
2017-10-17T18:52:52.793646-07:00
Dynamic address is already listened on (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=vm02-12cR2)(PORT=12102)))
17-OCT-2017 18:52:52 * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.131.10)(PORT=54994)) * service_register * yq%1 * 0
2017-10-17T18:52:52.830835-07:00
GSM-40132: Database "yqdb" is registered
2017-10-17T18:52:54.262802-07:00
GSM-40148: Database task failed:database:"nhbakdb", status 6, message:"ORA-12154: TNS:could not resolve the connect identifier specified \(ngsmoci_connect\)

But sqlplus sys/password@nhbakdb as sysdba on primary can connect to standby database nhbakdb. And no related error can be found in dg broker log.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms