|
|
Re: one ip address..two listeners and two db instances [message #540729 is a reply to message #540724] |
Wed, 25 January 2012 08:15   |
 |
al_from_indiana
Messages: 6 Registered: January 2012
|
Junior Member |
|
|
Hi John,
Thanks for your reply. Here's a copy of my listener.ora file:
DB1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.0.34)(PORT = 1521))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
)
)
SID_LIST_DB1 =
(SID_LIST =
(SID_DESC =
(SID_NAME = BOOTDB1)
(ORACLE_HOME = /oracle/app/oracle/product/10.2.0.1)
)
)
DB2 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.0.34)(PORT = 1521))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2)
)
)
)
SID_LIST_DB12 =
(SID_LIST =
(SID_DESC =
(SID_NAME = DB2)
(ORACLE_HOME = /oracle/app/oracle/product/10.2.0.1)
)
)
[Updated on: Wed, 25 January 2012 08:18] Report message to a moderator
|
|
|
Re: one ip address..two listeners and two db instances [message #540731 is a reply to message #540729] |
Wed, 25 January 2012 08:22   |
John Watson
Messages: 8976 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Next time, please enclose file listings in code tags, like this:DB1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.0.34)(PORT = 1521))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
)
)
SID_LIST_DB1 =
(SID_LIST =
(SID_DESC =
(SID_NAME = BOOTDB1)
(ORACLE_HOME = /oracle/app/oracle/product/10.2.0.1)
)
)
DB2 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.0.0.34)(PORT = 1521))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC2)
)
)
)
SID_LIST_DB12 =
(SID_LIST =
(SID_DESC =
(SID_NAME = DB2)
(ORACLE_HOME = /oracle/app/oracle/product/10.2.0.1)
)
)
Your syntax is wrong, you should have one ADDRESS_LIST within the DESCRIPTION that contains both your TCP listening address and your IPC listening address.
Two processes listening on the same IP adderss must each use a different port, you are trying to run both listeners on port 1521.
[update: I see you've added the code tags! Everyone will love you now.]
[Updated on: Wed, 25 January 2012 08:23] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|