It seems that I cannot connect via tns alias on my auxiliary, I know I could bypass it by either connection locally with auxiliary e.g.
auxiliary /
or adding a (UR=A)
parameter. The DB is in nomount.
I want to know why, because I have explicitly created two static listener registrations, to use it for the dataguard and for the duplicate, but I have following issue.
Here is firstly the configuration.
listner.ora
[oracle@server-salzburg admin]$ cat /u01/app/19/grid/network/admin/listener.ora
#Backup file is /u01/app/oracle/crsdata/server-salzburg/output/listener.ora.bak.server-salzburg.oracle line added by Agent
# listener.ora Network Configuration File: /u01/app/19/grid/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = server-salzburg)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
)
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(GLOBAL_DBNAME=graz_DGMGRL)
(SID_NAME=graz)
(ORACLE_HOME=/u01/app/oracle/product/19/dbhome_1)
)
(SID_DESC=
(GLOBAL_DBNAME=salzburg_DGMGRL)
(SID_NAME=salzburg)
(ORACLE_HOME=/u01/app/oracle/product/19/dbhome_1)
)
)
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by Agent
VALID_NODE_CHECKING_REGISTRATION_LISTENER=ON # line added by Agent
tnsnames.ora
[oracle@server-salzburg admin]$ cat tnsnames.ora
SALZBURG =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = server-salzburg)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = salzburg)
)
)
graz_DGMGRL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = server-graz)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = graz)
)
)
salzburg_DGMGRL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = server-salzburg)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = salzburg)
)
)
listener output
[oracle@server-salzburg admin]$ lsnrctl status
LSNRCTL for Linux: Version 19.0.0.0.0 - Production on 09-JUN-2025 20:27:36
Copyright (c) 1991, 2019, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 19.0.0.0.0 - Production
Start Date 09-JUN-2025 20:24:03
Uptime 0 days 0 hr. 3 min. 33 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/19/grid/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/server-salzburg/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=server-salzburg)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Services Summary...
Service "+ASM" has 1 instance(s).
Instance "+ASM", status READY, has 1 handler(s) for this service...
Service "+ASM_DG_DATA" has 1 instance(s).
Instance "+ASM", status READY, has 1 handler(s) for this service...
Service "+ASM_DG_FRA" has 1 instance(s).
Instance "+ASM", status READY, has 1 handler(s) for this service...
Service "graz_DGMGRL" has 1 instance(s).
Instance "graz", status UNKNOWN, has 1 handler(s) for this service...
Service "salzburg" has 1 instance(s).
Instance "salzburg", status BLOCKED, has 1 handler(s) for this service...
Service "salzburg_DGMGRL" has 1 instance(s).
Instance "salzburg", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
rman error:
[oracle@server-salzburg admin]$ rman target sys/*******@graz_DGMGRL auxiliary sys/******@salzburg_DGMGRL
Recovery Manager: Release 19.0.0.0.0 - Production on Mon Jun 9 20:28:00 2025
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved.
connected to target database: GRAZ (DBID=3282927897)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04006: error from auxiliary database: ORA-12528: TNS:listener: all appropriate instances are blocking new connections
Asked by paganini
(138 rep)
Jun 9, 2025, 06:28 PM
Last activity: Jun 9, 2025, 08:41 PM
Last activity: Jun 9, 2025, 08:41 PM