HI
11.2.0.2
Red Hat Enterprise Linux Server release 5.6
I recently created a new instance on the second node of a live server. I was able to start it and it functions as required in all but one way - external procs are not working.
I am a complete newbie with ext procs.
LISTENER.ORA:
perf1 =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /nfs/enterprise/app/oracle/product/10.2.0)
(SID_NAME = perf1)
)
(SID_DESC =
(ORACLE_HOME = /nfs/enterprise/app/oracle/product/10.2.0)
(SID_NAME = perf1)
)
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /nfs/enterprise/app/oracle/product/10.2.0)
(PROGRAM = extproc)
(ENVS="EXTPROC_DLLS=/nfs/file/file01/SCR_SHARE/bin/extproc.so") // I have copied the extproc.so referenced here from its location on the live (source server)
)
)
perf1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1523))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
)
TNSNAMES.ORA:
10G_LISTENER =
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1523))
perf1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1523))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = perf1)
)
)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)
The failure is ORA-28575 unable to open RPC connection to external procedure agent.
The new clone is sitting on a SAN.
Does anyone have an idea where I am going wrong??
The log file shows:
TNS-12505: TNS:listener does not currently know of SID given in connect descriptor
28-NOV-2013 12:35:00 * (CONNECT_DATA=(SID=PLSExtProc)(PRESENTATION=RO)(CID=(PROGRAM=)(HOST=hostname)(USER=*****)) * (ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)) * establish * PLSExtProc * 12505
I can connect to the database fine using
sqlplus system/pwd@perf1
[oracle@rbiqhsclup04p2 log]$ lsnrctl status perf1
LSNRCTL for Linux: Version 10.2.0.5.0 - Production on 28-NOV-2013 13:24:19
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=host)(PORT=1523)))
STATUS of the LISTENER
------------------------
Alias perf1
Version TNSLSNR for Linux: Version 10.2.0.5.0 - Production
Start Date 28-NOV-2013 13:09:43
Uptime 0 days 0 hr. 14 min. 35 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /nfs/enterprise/app/oracle/product/10.2.0/network/admin/listener.ora
Listener Log File /nfs/enterprise/app/oracle/product/10.2.0/network/log/perf1.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=host)(PORT=1523)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Services Summary...
Service "perf1" has 1 instance(s).
Instance "perf1", status READY, has 2 handler(s) for this service...
Service "perf1_XPT" has 1 instance(s).
Instance "perf1", status READY, has 2 handler(s) for this service...
The command completed successfully
Many thanks,