primary database not able to connect to standby [message #433009] |
Sat, 28 November 2009 13:16 |
ankush_chawla
Messages: 136 Registered: November 2006
|
Senior Member |
|
|
hi
we are receving following error in the Alert log of the primary Database, not sure why primary database not able to connect to standby database
PING[ARCi]: Heartbeat failed to connect to standby 'orclstand1'. Error is 12154.
Sat Nov 28 22:15:06 2009
Error 12154 received logging on to the standby
Sat Nov 28 22:15:06 2009
Errors in file \oracle\product\10.2.0\admin\orcl\bdump\orcl_arci_424.trc:
ORA-12154: TNS:could not resolve the connect identifier specified
1. TNSPING for the standby database server gives the positive result
2. We are able to log on to the standby database from primary database server
3. Log files are shipped to the standby database server
Please help
Regards
|
|
|
Re: primary database not able to connect to standby [message #433010 is a reply to message #433009] |
Sat, 28 November 2009 13:23 |
|
BlackSwan
Messages: 26766 Registered: January 2009 Location: SoCal
|
Senior Member |
|
|
Ora-12154 = "I can not find the entry in the TNSNAMES.ORA file that I am using (regardless of the one YOU THINK I am using)!"
>1. TNSPING for the standby database server gives the positive result
Above only means you can get to listener, but in this case you are not even getting to the listener.
listener records into listener.log every connection request along with the appropriate status code STATUS=0 means success.
[Updated on: Sat, 28 November 2009 13:26] Report message to a moderator
|
|
|
Re: primary database not able to connect to standby [message #433011 is a reply to message #433010] |
Sat, 28 November 2009 13:43 |
ankush_chawla
Messages: 136 Registered: November 2006
|
Senior Member |
|
|
thanks for the response
Not understanding where the issue is exactly
Listener is up and running on both the servers.
Listener log
28-NOV-2009 22:29:24 * (CONNECT_DATA=(SID=orcl)(CID=(PROGRAM=\oracle\product\10.2.0\db_2\bin\emagent.exe)(HOST=EQ-W00300109765)(USER=OraUser))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=2920)) * establish * orcl * 12518
TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
|
|
|
|
|
|
Re: primary database not able to connect to standby [message #433892 is a reply to message #433891] |
Fri, 04 December 2009 21:31 |
ankush_chawla
Messages: 136 Registered: November 2006
|
Senior Member |
|
|
Primary Oracle SID - ORCL
Standby Oracle SID - ORCLSTAND1
C:\>echo %ORACLE_HOME%
E:\oracle\product\10.2.0\db_1
lsnrctl services
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 05-DEC-2009 08:55:51
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
Services Summary...
Service "ORCL.REGRESS.RDBMS.DEV.US.ORACLE.COM" has 2 instance(s).
Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Instance "ORCLSTAND1", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:26 refused:0 state:ready
LOCAL SERVER
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1002 state:ready
DISPATCHER <machine: EQ-W00300109765, pid: 2044>
(ADDRESS=(PROTOCOL=tcp)(HOST=EQ-W00300109765.ad.francetelecom.fr)(PORT=4451))
Service "orcl_DGB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:26 refused:0 state:ready
LOCAL SERVER
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:26 refused:0 state:ready
LOCAL SERVER
The command completed successfully
lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 05-DEC-2009 08:56:17
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
Start Date 05-DEC-2009 08:24:44
Uptime 0 days 0 hr. 31 min. 35 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File e:\oracle\product\10.2.0\db_1\network\admin\listener.ora
Listener Log File e:\oracle\product\10.2.0\db_1\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC0ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=EQ-W00300109765.ad.francetelecom.fr)(PORT=1521)))
Services Summary...
Service "ORCL.REGRESS.RDBMS.DEV.US.ORACLE.COM" has 2 instance(s).
Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
Instance "ORCLSTAND1", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orcl_DGB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
|
|
|
|
Re: primary database not able to connect to standby [message #433902 is a reply to message #433898] |
Fri, 04 December 2009 22:36 |
ankush_chawla
Messages: 136 Registered: November 2006
|
Senior Member |
|
|
Thanks for the response
NO OS Virtualization involved
Priority is for standby database
# LISTENER.ORA Network Configuration File: e:\oracle9i\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = EQ-W00300109765)(PORT = 1521))
)
)
)
Listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = ORCL.REGRESS.RDBMS.DEV.US.ORACLE.COM)
(ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
(SID_NAME = ORCL)
)
(SID_DESC =
(GLOBAL_DBNAME = ORCL.REGRESS.RDBMS.DEV.US.ORACLE.COM)
(ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
(SID_NAME = ORCLSTAND1)
)
)
# TNSNAMES.ORA Network Configuration File: e:\oracle\product\10.2.0\db_1\\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = EQ-W00300109765)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = ORCL)
(SERVER = DEDICATED)
)
)
ORCLSTAND1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = EQ-W00300109765)(PORT = 1521)))
(CONNECT_DATA =
(SERVICE_NAME = ORCLSTAND1)
(SERVER = SHARED)
)
)
CLRODS_QA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.237.93.22)(PORT = 1521))
)
(CONNECT_DATA =
(SID = CLRODS)
(SERVER = SHARED)
)
)
PROD=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.239.231.176)(PORT = 1521))
)
(CONNECT_DATA =
(SID = CLARIFY)
(SERVER = DEDICATED)
)
)
CLRODS_PROD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.239.233.142)(PORT = 1521))
)
(CONNECT_DATA =
(SID = CLRODS)
(SERVER = DEDICATED)
)
)
|
|
|
|
|
|
|
|
|