Help me, please ORA-28576: lost RPC connection to external procedure agent
when i call external program
SQL>exec shell_all ('/bin/ls /oracle/product/10.2.0/',:result, 3) ;
BEGIN shell_all ('/bin/ls /oracle/product/10.2.0/',:result, 3) ; END;
ERROR at line 1:
ORA-28576: lost RPC connection to external procedure agent
ORA-06512: at "SYS.SHELL_ALL", line 1
ORA-06512: at line 1
and my configure
#listener.ora
SID_LIST_LISTENER_AADB02 =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /oracle/product/10.2.0/db)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ANY")
LISTENER_AADB02 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = aadb02-vip)(PORT = 1521)(IP = FIRST))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 203.144.222.82)(PORT = 1521)(IP = FIRST))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = extproc))
#tnsname.ora
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = extproc))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
Please tell me to resolve this problem
Does not execl() and friends replace the current program with the one supplied as a parameter?
The upshot of this would be as you suggest, viz:
- Oracle call's your procedure (but doens't wait for a result due to the void return type?)
- your program executes its code (cd /tmp)
- it then replaces itself with *program
- *program terminates
Presumably, Oracle isn't expecting it to terminate but to continue waiting for subsequent requests.
I'd check out fork() and see if that offers more appropriate semantics.
d.
Similar Messages
-
Getting "ORA-28576: lost RPC connection to external procedure agent" for R scripts.
Hello,
I am trying R integration with OBIEE. As part of this, I have created a simple R script for a scatter plot. Below is the R script
begin
sys.rqScriptCreate('randomRedDots',
'function()
res <- 1:10
plot(1:100, rnorm(100), pch=21, bg="red", cex=2)
res
end;
I am testing this script in SQL Developer by executing the below sql:
select image
from table(rqEval(NULL,
'PNG',
'randomRedDots')
During these tests, very often, I get ORA-28576 error when I run the SQL. The complete error is:
ORA-28576: lost RPC connection to external procedure agent
ORA-06512: at "RQSYS.RQEVALIMPL", line 77
ORA-06512: at "RQSYS.RQEVALIMPL", line 74
28576. 00000 - "lost RPC connection to external procedure agent"
*Cause: A fatal error occurred in either an RPC network connection,
the extproc agent, or the invoked 3GL after communication had
been established successfully.
*Action: First check the 3GL code you are invoking; the most likely
cause of this error is abnormal termination of the
invoked "C" routine. If this is not the case, check for
network problems. Correct the problem if you find it. If all
components appear to be normal but the problem persists, the
problem could be an internal logic error in the RPC transfer
code. Contact your customer support representative.
However, if I re-run the SQL, I do not get this message. This happens at random.
Any pointers to why this error occurs?
Thanks,
AbhishekAbhishek,
Please look for a core file in $ORACLE_HOME/hs/log and look for errors in the call stack associated with the core file.
Examining the errors will help identify the cause of the intermittent ORA-29576 error.
Thank you,
Sherry -
ORA-28576 lost RPC connection to external procedure agent
Hello!
NT 4.0, O9i 9.0 and 9.2
Calling external DLL procedure produces the following error:
"ORA-28576 lost RPC connection to external procedure agent"
The external DLL is in the ORACLE_HOME/bin directory.
The same application works fine on 8.1.7 !
I didn't find any useful info in 9i docs (App. dev. fundamentals; Net guide...).
Is there any significant difference in EXTPROC feature between 8.1.7 and 9.x ?
Thanks for any useful info
Laszlo
# LISTENER.ORA Network Configuration File: D:\ORANT\network\admin\listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = dljk1)(PORT = 1521))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\ORANT)
(PROGRAM = extproc)
# TNSNAMES.ORA Network Configuration File: D:\ORANT\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = dljk1)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = orcl.dljk)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(address = (protocol = ipc)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)I have the same problem using Windows kernel32.dll. It works fine with Oracle8 and Oracle8i on both Windows NT and Windows2000, but it does not work with Oracle9i on Windows2000. After long discussions, Oracle has admitted that it is a bug. If you have access to metalink then see TAR 2189019.995.
Bo Pedersen -
Lost RPC Connection to external procedure agent....
Hi,
I have a sample.dll fil & i have created a library by the following command...
create or replace library trend_lib as 'C:\oracle\product\10.2.0\db_1\BIN\sample.dll';
'C:\oracle\product\10.2.0\db_1\BIN\sample.dll';------------this is the location where i keep the sample.dll file .
Then i have created a package
create or replace PACKAGE p1
as
FUNCTION trend( inp IN BINARY_INTEGER) return BINARY_INTEGER as
LANGUAGE C
LIBRARY trend_lib
name "polynomial"
PARAMETERS (inp INT);
end;
But when i am trying to execute the following query it shows the errror:::
SQL> select p1.trend(6) from dual;
select p1.trend(6) from dual
ERROR at line 1:
ORA-28576: lost RPC connection to external procedure agent......
mine tnsnames.ora file configuration is :
FIN11G_172.30.0.12 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.30.0.12)(PORT = 1522))
(CONNECT_DATA =
(SID = fin11g)
(SERVER = DEDICATED)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ALMDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.30.3.11)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = almdb)
RSBI =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 172.30.0.12)(PORT = 1521))
(CONNECT_DATA =
(SID = rsbi)
(SERVER = DEDICATED)
And listener.ora file is....
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ANY")
(SID_DESC =
(GLOBAL_DBNAME = ALMDB)
(ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
(SID_NAME = ALMDB)
(ENVS = "EXTPROC_DLLS=ANY")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 01hw177387.fns.com.au)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)Hi;
please see below:
ORA-28576 When Executing External Procedure [ID 295721.1]
ORA-28576 Using External Procedures [ID 113179.1]
External Procedure Fails With ORA-28576 [ID 468404.1]
Also see:
Problem calling dll using extproc
Regard
Helios -
ORA-28511: lost RPC connection to heterogeneous remote agent using SID=%s
Hi,
Please Help to relsove below issue:
I am using Oracle gateway for Sql Server 11.2 on Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi, on a IBM Power p595 AIX 6.1, SQL Server 2008
When I run a query the first time, it runs perfectly. After some time, I try to run it again and it displays the following error: lost RPC connection
09:44:09 SQL> select count(*) from GSUP_ATRIBUTO@SQLPRD;
COUNT(*)
73
09:48:48 SQL> /
select count(*) from GSUP_ATRIBUTO@SQLPRD
ERROR at line 1:
ORA-02068: following severe error from SQLPRD
ORA-28511: lost RPC connection to heterogeneous remote agent using SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.20.8.28)(PORT=1521))(CONNECT_DATA=(SID=SQLPRD)))
09:49:05 SQL> /
COUNT(*)
73
In the gateway trace file we can see:
Oracle Corporation --- FRIDAY MAR 09 2012 09:51:04.140
Heterogeneous Agent Release
11.2.0.1.0
HS Agent received unexpected RPC disconnect
Network error 1003: NCR-01003: NCRS: Read error.
Gateway initSQLPRD.ora file
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Microsoft SQL Server
# HS init parameters
HS_FDS_CONNECT_INFO=[ipSQLSERVER]:port//
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
Gateway Listener
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME=SQLPRD)
(ORACLE_HOME=/home/oracle/app/oracle/product/10.2.0)
(ENV="LD_LIBRARY_PATH=/home/oracle/app/oracle/product/10.2.0/dg4msql/driver/lib:/home/oracle/app/oracle/product/10.2.0/lib")
(PROGRAM=dg4msql)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ipGateway) (PORT = 1521))
SQLNET.INBOUND_CONNECT_TIMEOUT=0
My tnsnames.ora file
SQLPRD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp)(HOST = ipGateway)(PORT = 1521))
(CONNECT_DATA =
(SID = SQLPRD)
(HS = OK)
Alert log message in Oracle Server:
Fri Mar 09 09:48:47 GMT-03:00 2012HS: Lost RPC connection to remote Agent...
HS: ... Agent SID = (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ipGateway)(PORT=1521))(CONNECT_DATA=(SID=SQLPRD))), NCR status = -2147385340
Please helpHi,
It looks like the gateway connection has been closed for some reason and then you have tried to use it again in the same session which gives the ORA-28511.
There is a default gateway timeout but that is 20 minutes, whereas you are seeing problem after about 4 minutes and the listener timeout is set to 0.
Do you have any timeout settings configured in sqlnet.ora ?
Regards,
Mike -
ORA-28511:lost RPC connection to heterogeneous remote agent
Hi,
I've a problem with Oracle 9i & DB2 communication.
I use main procedure that calls sub procedures. All the sub procedures executes a query on remote table.
When main procedure calls sub procedures by jobs, process works fine
ex:
DBMS_JOB.SUBMIT(jobno,'BEGIN subproc1; END;',sysdate+1/1440);
DBMS_JOB.SUBMIT(jobno,'BEGIN subproc2; END;',sysdate+1/1440);
When main procedure calls sub procedures without jobs Oracle show this error message:
ORA-28511:lost RPC connection to heterogeneous remote agent using SID=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP).....
Please HELP ME!!!!
thanksI agree with ARF.
I kinda feel it has something to do with Heterogeneous Connectivity, maybe a dropped connection between Oracle and another vendor database.
check in this forum:
Heterogeneous Connectivity -
ORA-28511: lost RPC connection to heterogeneous remote agent using
hi,
I have configured dblink between Oracle and sqlserver using "Oracle Database Gateway for SQL Server" method.
i am following the below listed documents
ID 437374.1---How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) Release 11 on Linux
http://download.oracle.com/docs/cd/B28359_01/gateways.111/b31042/configsql.htm
All the steps have done and listener, tns also working fine. but, retrieve the data from sqlserver its shows following error.
SQL> select from "demo"@slink;*
select from "demo"@slink*
ERROR at line 1:
ORA-28511: lost RPC connection to heterogeneous remote agent using
SID=ORA-28511: lost RPC connection to heterogeneous remote agent using
SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=erpdev01.4iapps.com)(PORT=1511))(C
ONNECT_DATA=(SID=dg4msql)))
ORA-02063: preceding line from SLINK
Process ID: 25158
Session ID: 298 Serial number: 5602
System Details:
Oracle Database :
OS : Enterprise Linux Enterprise Linux Server release 5.2
DB Version : 11.1.0.7.0 Enterprise Edition Release
Oracle Database Gateway for SQL Server version : 11.1.0.6.0
Sqlserver Database :
OS : windows xp
DB Version : sql server 2005 express edition
kindly share your ideas....
Thanks in advanceHi,
To follow up could you please provide the following information -
- the gateway listener.ora
- gateway init<sid>.ora
- gateway tnsnames.ora file
- create database link statement
- a gateway debug trace from the failing select. Add the following to the gateway init<sid>.ora file -
HS_FDS_TRACE_LEVEL=debug
and issue a select from a new SQLPLUS session, then end the session.
Are the gateway and the RDBMS in the same or different ORACLE_HOME directories ? The gateway is at a lower version than the RDBMS so you should apply the 11.1.0.7 patchset to the ORACLE_HOME where the gateway is installed, to bring it to 11.1.0.7.
Regards,
Mike -
ORA-28511: lost RPC connection to heterogeneous remote agent using SID=
I am currently using the HS DG4ODBC on 11.2.0.3 with Linux X86-32bit platform, and I’ve gotten the gateway to work for all DML operations via DBLinks against a TimesTen database.
However, I am getting the following error in red when trying to execute the DBMS_COMPARISON package: ORA-28511: lost RPC connection to heterogeneous remote agent using SID=ORA-28511: lost RPC connection to heterogeneous remote agent using SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=timesten-hol)(PORT=1521))(CONNECT_DATA=(SID=hsodbc1)))
An internet search about the error leads me to think that this is a config issue with the cause being that:
Cause: The listener is unable to spawn the HS agent or the agent cannot find the ODBC lib directory.
Action: The PROGRAM line in the listener.ora file is incorrect or not specified. Make sure LD_LIBRARY_PATH includes the $ODBC_HOME/lib directory. If not, set LD_LIBRARY_PATH and restart the listener.
But I’ve revisited the settings and they all look OK, and also the HS agent seems to work fine for all types of DML operations on TimesTen, so I am at a loss of why the above error is occurring with dbms_comparison.compare.
I am also using the datadirect ODBC driver manager.
Thanks,You've already filed a bug for this issue ( DG4ODBC CORE DUMP WHEN USING DBMS_COMPARISON.COMPARE) so please close this thread.
-
ORA-28575: unable to open RPC connection to external procedure agent
Hi everybody,
Could you please help me with this problem? I'm trying to configure Oracle XE 11g for external procedures, this because I have to access some procedures in a DLL made in Delphi 6.0, but even with the simplest of the dll I make, like a sum made in C, I can't get pass this error ORA-28575: unable to open RPC connection to external procedure agent.
This is my listener.ora:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS = (PROTOCOL = TCP)(HOST = myPC)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
and this is my tnsnames.ora:
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = myPC)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
Do you know what could be wrong? I'm out of ideas and google search...
Also, is there any difference in a calling for a DLL made on VB and one made in Delphi??
Thanks and Regards,Hello,
This error could appear due to issues with configuration of your listener, database or with extproc. First check that the permissions on extproc in your Oracle_home specified in your listener.ora file are valid:
Run the following ./extproc and it should display the banner.
If above is ok, then check for the domain name. One probable reason could be that if default_domain is set and that domain is not appended to the service name in tnsnames.ora, the connection fails.
regards
fahdmirza.blogspot.com -
Hello,
I had installed ore 1.3.1 windows server 2008 on top of Oracle DB 11.2.0.3 ,but when I connect the database,it didn't work.
That is my code and error code.
ore.connect(user = "rquser", sid = "db11g", host = "....", password = "....", all = TRUE)
Got error as below:
error.oci.GetQuery(conn, statement, data = data, prefetch = prefetch, :
ORA-28575: unable to open RPC connection to external procedure agent
ORA-06512: at "RQSYS.RQEVALIMPL", line 17
ORA-06512: at "RQSYS.RQEVALIMPL", line 14
ORA-06512: at line 4
Also i have follwed the below link:
///ORE1.3-ore-server-win-x86_64-1.3,error ORA-28575: unable to open RPC connec
But failed to resolve the problem.
Below are the TNS and Listener file entry:
# listener.ora Network Configuration File: F:\OracleDB\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = EXTPROC)
(ORACLE_HOME = H:\ORA11G\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:H:\ORA11G\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.168.11.69)(PORT = 1521))
ADR_BASE_LISTENER = H:\ORA11G
-============================
# tnsnames.ora Network Configuration File: F:\OracleDB\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(CONNECT_DATA =
(SID = EXTPROC)
(PRESENTATION = RO)
DB11G =
(DESCRIPTION =
(ADDRESS_LIST=
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.168.11.69)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SID = DB11G)
====================================================
Thanks
SandyHi Sandy,
If you set EXTPROCS_DLLS=ANY in the listener and then restart the listener, does it fix the problem?
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = EXTPROC)
(ORACLE_HOME = H:\ORA11G\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ANY")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.168.11.69)(PORT = 1521))
Sherry -
Oracle Gateway to SQL server - ORA-28511: lost RPC connection to heterogene
When I run the select statement below I get an error message that the connection was lost. When I run SQL profiler on the SQL db I can see the account login and logout.
Any ideas what may be the issue here?
Oracle 11g - running on Windows 7
SQL 2008 R2 - running on Windows 2008 R2
CentOS Linux - Gateway only
SQL> select * from my_table@mygateway;
ERROR:
ORA-28511: lost RPC connection to heterogeneous remote agent using
SID=ORA-28511: lost RPC connection to heterogeneous remote agent using
SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=My_Linux_Svr.Domain.org)(PORT=1521))
(CONNECT_DATA=(SID=dg4msql)))
ORA-02063: preceding line from MYGATEWAY
Process ID: 16632
Session ID: 134 Serial number: 27
no rows selected
SQL>I get the same error from any table.
I used the default instance and listener names for the gateway - d4gmsql.
My path is /home/oracle/product/11.2.0/gateway
I modified the initd4msql.ora file as follows:
[root@localhost admin]# cat initdg4msql.ora
# This is a customized agent init file that contains the HS parameters
# that are needed for the Database Gateway for Microsoft SQL Server
HS_FDS_CONNECT_INFO=[drw-sql01].utility
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=255
HS_FDS_TRACE_FILE_NAME=
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
I then restarted the listener as follows:
lsnrctl stop
lsnrctl start
[root@localhost admin]# lsnrctl start
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 27-NOV-2012 09:59:59
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Starting /home/oracle/product/11.2.0/gateway/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System parameter file is /home/oracle/product/11.2.0/gateway/network/admin/listener.ora
Log messages written to /home/oracle/product/11.2.0/gateway/log/diag/tnslsnr/localhost/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.109.4.200)(PORT=1521)))
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=10.109.4.200)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 27-NOV-2012 09:59:59
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /home/oracle/product/11.2.0/gateway/network/admin/listener.ora
Listener Log File /home/oracle/product/11.2.0/gateway/log/diag/tnslsnr/localhost/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.109.4.200)(PORT=1521)))
Services Summary...
Service "dg4msql" has 1 instance(s).
Instance "dg4msql", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
I ran the query again from a new session but I do not see a trace file. Where should I be looking? -
Lost RPC connection to heterogeneous remote agent....
I'm trying to establish a db link to a Sybase server however i'm constantly presented with a ORA-28511 error. I've searched all over the place for solutions and nothing seems to work.
Can some on please help diagnose this.
<tnsnames.ora>
AUSPROFILE=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = au-par-orasrv)(PORT = 1521))
(CONNECT_DATA =
(SID = TG4SYBS)
(HS=OK)
<listener.ora>
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = au-par-orasrv)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = TG4SYBS)
(ORACLE_HOME = D:\oracle\ora92)
(PROGRAM = TG4SYBS)
<inittg4sybs.ora>
# HS init parameters
HS_FDS_CONNECT_INFO=p7austest.p7austest
HS_FDS_TRACE_LEVEL=OFF
# Environment variables required for Sybase
set SYBASE=D:\\Sybase
set SYBASE_OCS=OCS-12_5
A TNS ping to AUSProfile is successful however if I try and execute select * from all_catalog@ausprofile, the error above is returned.
ThanksHere's the details on the error message:
28511, 00000, "lost RPC connection to heterogeneous remote agent using SID=%s"
// *Cause: A fatal error occurred in one of the following places:
// -- the connection between the ORACLE server and the agent
// -- the heterogeneous services remote agent itself
// -- the connection to the non-Oracle system
// This error occurred after communication had been established
// successfully.
// *Action: Check for network problems and remote host crashes. The problem is
// probably in the agent software. If so, contact a customer support
// representative of the agent vendor.In my experience, this is usually caused by the OTG agent process failing.
Simple explanation - your db link to the OTG gateway connects to an Oracle listener that starts up an agent process. This process connects to the foreign database and acts as the gateway between your end and the foreign database. When this agent process fails, your side realises that the remote process is no more as it is no longer responding. The above error is then raised - as all your side knows that something critical went wrong on the agent side.
This agent has its own +.ora+ configuration file. One of the parameters that can be set is HS_FDS_TRACE_LEVEL (just confirm it for your OTG version - been years since I last used OTG). When the agent give problems, enable this parameter and have a look at the trace file generated by the agent process. The reason for the agent process failing should be listed in the trace file. -
ORA-28575: unable to open RPC connection to external procedure
I am trying to run a little external procedure that allows me to run a shell script from a stored procedure, however I keep getting the error as shown in the subject line. I understand that this error is caused by misconfigured listener.ora and tnsnames.ora files. I have been trying to set them up to use IPC and extproc, however, for the life of me I can't seem to get it to work.
Would it be possible so someone to post sample .ora files that allow trusted callouts?
P.S. I'm running on Redhat 7.2 and have no other problems (other than a lack of knowledge :) ).
Thanks,
Khalid.Try to add the following code in the tnsnames.ora and listener.ora respectively:
tnsnames.ora
extproc_connection_data =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = IPC)
(KEY = xxx)
(CONNECT_DATA =
(SID = extproc)
listener.ora
LISTENER =
(ADDRESS_LIST =
(ADDRESS=
(PROTOCOL=TCP)
(HOST=192.168.yyy.yyy)
(PORT=1521)
(ADDRESS=
(PROTOCOL=IPC)
(KEY=xxx)
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = extproc)
(ORACLE_HOME = /usr/users/oracle)
(PROGRAM = extproc)
REMEMBER: the key in tnsnames.ora = the key in listener.ora -
DG4ODBC 11.2 to MySQL lost RPC connection to heterogeneous remote agent
Hi,
I'm running into an issue when executing a procedure in Oracle 11.2 which inserts into a table in a MySQL database over a database link. MOS suggested it is an issue with my unixODBC driver. MOS pointed me to a resolution, but I'm not sure how to successfully complete Step 2.
1. Please ensure you have a recent IBM ODBC driver for ISeries (ex: iSeriesAccess-5.4.0-x.x.x86_64.rpm).
2. Then recompile the source of the UnixODBC driver manager:
- First get the source of unixODBC driver manager
- Set the environment variable export CFLAGS="-DBUILD_REAL_64_BIT_MODE"
- Now follow the guidelines on the vendor's homepage how to link unixODBCdriver manager.
iSeriesAccess ODBC driver does not need to be recompiled if you have recent version.
Can anyone provide me more detail on how to do this? I'm trying to do this on SLES 11.
Thanks,
JoeTo the steps they outlined:
1. Please ensure you have a recent IBM ODBC driver for ISeries (ex: iSeriesAccess-5.4.0-x.x.x86_64.rpm).
=> goto IBM web site and download the IBM iSeries ODBC driver (64bit) for Linux
2. Then recompile the source of the UnixODBC driver manager:
- First get the source of unixODBC driver manager
=> www.unixODBC.org
- Set the environment variable export CFLAGS="-DBUILD_REAL_64_BIT_MODE"
=> not needed anymore as the 2.3 release is compiling by default this way - but you can set it to be sure.
- Now follow the guidelines on the vendor's homepage how to link unixODBCdriver manager.
=> in general to link the unixODBC driver manager you need to call:
./configure
make
make install
All available optiony options are listed on the uniodbc web site:
http://www.unixodbc.org/download.html
iSeriesAccess ODBC driver does not need to be recompiled if you have recent version. => which is already discussed in #1. -
ErrorMesg: lost RPC connection
I have some trouble with calling external procedures from 8.1.5 database
The exact Error Message is:
ERROR at line 1:
ORA-28576: lost RPC connection to external procedure agent
ORA-06512: at "SG.OUTPUTSTRING", line 0
ORA-06512: at line 2
I did the following:
CREATE OR REPLACE PROCEDURE OutputString(
p_Path IN VARCHAR2,
p_Message IN VARCHAR2) AS
LANGUAGE C
NAME "OutputString"
LIBRARY stringlib
PARAMETERS (p_Path STRING,
p_Message STRING);
create library stringlib as '/opt/oracle/product/8.1.5/lib/stringlib.so';
the library stringlib.so is tested and ok!
TNS Ping Utility for Linux: Version 8.1.5.0.0 - Production on 22-SEP-00 13:27:19
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0))
OK (120 msec)
I dont even know, where to search the error!
Can anyone help me, please?I am also getting this error while connecting to DB2. It works some time.
Maybe you are looking for
-
my phone got wet about a week ago and after a lot of time in rice, it's working, but only intermittently. is there still hope or should i start shopping?
-
Modbus demo box website images do not load
the images on the website http://digital.ni.com/public.nsf/allkb/A9C037C838B203FA86256A180078BE15 for the question "How do I communicate with the Modbus Demo Box" do not load. In fact they are pointing to a url which begins with ae.natinst.com whic
-
Oracle.dbtools.db.DBUtil error
hi there!!! Recently i am getting the following errors in SQL Developer and as a result of that i am not able to view data in the table property "Data tab". If i run a query it shows the data but not in table object. Your help will be highly apprecia
-
How ro compare 2 chm files? or use track changes in xpj project?
Hello, I'm using robohelp#7 and was wondering if there's a way to compare 2 output chm files in such a way that only shows the delta, i.e the changes made from previous version? alternatively, is there a way to see track changes in the xpj project? T
-
I have an error...pls help!!
so this is the question: The task is to write a class that simulates a car. When an oject of this class is created, one must supply - The capacity of the fuel tank in gallons. - The fuel efficiency in miles per gallon; Newly manufactured cars have em