Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> external stored procedure help
Hi,
I have tried to run a simple external stored procedure in Oracle 8.0.5 for Solaris 2.6. I keep getting the following error. Any help is apreciated.
ORA-28575: unable to open RPC connection to external procedure agent
The configuration of listener.ora & tnsnames.ora is as follows:
listener.ora
(ADDRESS= (PROTOCOL= TCP)(Host= singemsd01)(Port= 1521)) (ADDRESS= (PROTOCOL= IPC)(KEY= extproc))))
(ORACLE_HOME= /app/oracle/product/8.0.5) (SID_NAME = GEM2)
(SID_NAME = extproc) (ORACLE_HOME = /app/oracle/product/8.0.5) (PROGRAM = extproc)
GEM2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL= TCP)(Host= singemsd01)(Port= 1521))
(CONNECT_DATA = (SID = GEM2))
)
GEM2_BEQ =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = BEQ)(PROGRAM = /app/oracle/product/8.0.5)
(argv0 = oracleGEM2) (args = '(DESCRIPTION = (LOCAL=YES)(ADDRESS= (PROTOCOL=BEQ)))') (envs =
)
)
When I checked the listener status, both GEM2 and extproc services are started successfully. But Oracle will complain RPC connection error whenever run the external store procedure. I have been tinkering with the ora files for a few days with no results. The test program is as follows:
square.c
int square(int square) {
return x*x;
}
create library squarelib as '/usr/home/yhpeh/square.so'
create function square_of(x binary_integer) return binary_integer as external library squarelib name "square" language C;
Rgds,
yew hock
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
Received on Sun Aug 15 1999 - 22:41:30 CDT
![]() |
![]() |