Error using Oracle Database Gateway for DRDA
Hello All,
We're encountering issues while trying to query a table using a db link to DB2 database.
We are running oracle 11g R1 on windows and we have DB2 installed on the box. We've installed database gateway for DRDA also on the same box. The gateway is running on a different home location within the same machine. But we get the following error while trying to query across the db link. Would be great if you can take a look and suggest appropriate changes.
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from UDB
Here's how we configured the gateway:
Listener:
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=DB2)
(ORACLE_HOME=E:\app\Oracle\product\11.1.0\db_1)
(PROGRAM=g4drsrv)
(SID_DESC=
(SID_NAME=PLSExtProc)
(ORACLE_HOME=E:\app\Oracle\product\11.1.0\db_1)
(PROGRAM=extproc)
Tns:
dg4drda.idc.oracle.com =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xpone.idc.oracle.com)
(PORT = 1521))
(CONNECT_DATA =
(SID= DB2))
(HS=OK)
initDB2.ora
HS_COMMIT_POINT_STRENGTH=255
HS_NLS_DATE_FORMAT=YYYY-MM-DD
HS_LANGUAGE=AMERICAN_AMERICA.WE8ISO8859P1
HS_RPC_FETCH_REBLOCKING=off
HS_RPC_FETCH_SIZE=32767
HS_FDS_FETCH_ROWS=20
FDS_CLASS=DG4DRDA_DB2UDB
DRDA_CONNECT_PARM=xpone.idc.oracle.com:50000
DRDA_REMOTE_DB_NAME=SAMPLE
DRDA_PACKAGE_COLLID=ORA11
DRDA_PACKAGE_NAME=G2DRSQL
DRDA_PACKAGE_CONSTOKEN=A929B170D366FB00
DRDA_RECOVERY_USERID=ORADRDA
DRDA_RECOVERY_PASSWORD=ORADRDA
DRDA_ISOLATION_LEVEL=CS
DRDA_DISABLE_CALL=TRUE
DRDA_CODEPAGE_MAP=codepage.map
heres how we created the db link:
CREATE DATABASE LINK udb CONNECT TO ORACLE IDENTIFIED BY "welcome1" USING 'dg4drda.idc.oracle.com';
and this was the sql executed
select * from employee@udb;
Really appreciate your assistance.
Regards
Krishna
Hello Mike,
Here's the entire listener entry (I've changed the SID to DB2. Consequently I have also changed the SID in tns and gateway init under folder "11.1.0\tg_1\dg4drda\admin"
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = XPONE)(PORT = 1521))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(SID_NAME=DB2)
(ORACLE_HOME=E:\app\Oracle\product\11.1.0\db_1)
(PROGRAM=g4drsrv)
(SID_DESC=
(SID_NAME=PLSExtProc)
(ORACLE_HOME=E:\app\Oracle\product\11.1.0\db_1)
(PROGRAM=extproc)
I've also added the necessary IP entry to my host file.
Here's the listener log. I've grabbed it for 2 consecutive attempts to bind the package.
<msg time='2010-02-11T11:11:25.562-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Trace information written to e:\app\oracle\diag\tnslsnr\xpone\listener\trace\ora_752_2136.trc
</txt>
</msg>
<msg time='2010-02-11T11:11:25.562-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Trace level is currently 0
</txt>
</msg>
<msg time='2010-02-11T11:11:25.578-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>
</txt>
</msg>
<msg time='2010-02-11T11:11:25.578-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Started with pid=752
</txt>
</msg>
<msg time='2010-02-11T11:11:25.593-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
</txt>
</msg>
<msg time='2010-02-11T11:11:25.609-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xpone)(PORT=1521)))
</txt>
</msg>
<msg time='2010-02-11T11:11:28.031-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Listener completed notification to CRS on start
</txt>
</msg>
<msg time='2010-02-11T11:11:28.062-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
</txt>
</msg>
<msg time='2010-02-11T11:11:29.546-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xpone)(PORT=8080))(Presentation=HTTP)(Session=RAW))
</txt>
</msg>
<msg time='2010-02-11T11:11:29.578-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:11:29 * service_register * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:11:45.015-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:11:44 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)(CID=(PROGRAM=E:\app\Oracle\product\11.1.0\db_1\bin\sqlplus.exe)(HOST=XPONE)(USER=Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1076)) * establish * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:11:47.500-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:11:47 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:11:49.890-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:11:49 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)(CID=(PROGRAM=E:\app\Oracle\product\11.1.0\db_1\bin\sqlplus.exe)(HOST=XPONE)(USER=Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1077)) * establish * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:11:53.500-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:11:53 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:11:54.343-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:11:54 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)(CID=(PROGRAM=E:\app\Oracle\product\11.1.0\db_1\bin\sqlplus.exe)(HOST=XPONE)(USER=Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1078)) * establish * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:11:56.515-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:11:56 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:12:02.531-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:12:02 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:12:11.546-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:12:11 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:12:13.140-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:12:13 * (CONNECT_DATA=(SID=DB2)(CID=(PROGRAM=)(HOST=MSHOME\XPONE)(USER=XPONE\Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1080)) * establish * DB2 * 12518
</txt>
</msg>
<msg time='2010-02-11T11:12:13.156-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
</txt>
</msg>
<msg time='2010-02-11T11:12:13.390-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:12:13 * (CONNECT_DATA=(SID=DB2)(CID=(PROGRAM=)(HOST=MSHOME\XPONE)(USER=XPONE\Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1081)) * establish * DB2 * 12518
</txt>
</msg>
<msg time='2010-02-11T11:12:13.437-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
</txt>
</msg>
<msg time='2010-02-11T11:12:35.578-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:12:35 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:13:41.718-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:13:41 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:14:11.765-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:14:11 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:14:14.781-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:14:14 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:14:23.796-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:14:23 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:15:53.843-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:15:53 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:16:11.875-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:16:11 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:16:26.890-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:16:26 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:17:35.921-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:17:35 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:17:37.546-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:17:37 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:17:42.203-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xpone)(PORT=8080))(Presentation=HTTP)(Session=RAW))
</txt>
</msg>
<msg time='2010-02-11T11:17:42.218-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:17:42 * service_died * orcl * 12537
</txt>
</msg>
<msg time='2010-02-11T11:17:54.265-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>System parameter file is E:\app\Oracle\product\11.1.0\db_1\network\admin\listener.ora
</txt>
</msg>
<msg time='2010-02-11T11:17:54.281-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Log messages written to e:\app\oracle\diag\tnslsnr\xpone\listener\alert\log.xml
</txt>
</msg>
<msg time='2010-02-11T11:17:54.281-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Trace information written to e:\app\oracle\diag\tnslsnr\xpone\listener\trace\ora_3060_3104.trc
</txt>
</msg>
<msg time='2010-02-11T11:17:54.281-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Trace level is currently 0
</txt>
</msg>
<msg time='2010-02-11T11:17:54.296-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>
</txt>
</msg>
<msg time='2010-02-11T11:17:54.296-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Started with pid=3060
</txt>
</msg>
<msg time='2010-02-11T11:17:54.296-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
</txt>
</msg>
<msg time='2010-02-11T11:17:54.328-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xpone)(PORT=1521)))
</txt>
</msg>
<msg time='2010-02-11T11:17:56.578-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Listener completed notification to CRS on start
</txt>
</msg>
<msg time='2010-02-11T11:17:56.609-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
</txt>
</msg>
<msg time='2010-02-11T11:18:06.562-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:18:06 * service_register * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:18:09.578-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:18:09 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:18:12.609-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:18:12 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:18:18.625-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:18:18 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:18:39.625-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xpone)(PORT=8080))(Presentation=HTTP)(Session=RAW))
</txt>
</msg>
<msg time='2010-02-11T11:18:39.625-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:18:39 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:18:42.609-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:18:42 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:18:48.609-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:18:48 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:19:00.687-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:00 * (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)(CID=(PROGRAM=E:\app\Oracle\product\11.1.0\db_1\bin\sqlplus.exe)(HOST=XPONE)(USER=Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1095)) * establish * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:19:03.625-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:03 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:19:17.140-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:17 * (CONNECT_DATA=(SID=DB2)(CID=(PROGRAM=)(HOST=MSHOME\XPONE)(USER=XPONE\Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1096)) * establish * DB2 * 12518
</txt>
</msg>
<msg time='2010-02-11T11:19:17.171-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
</txt>
</msg>
<msg time='2010-02-11T11:19:17.265-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:17 * (CONNECT_DATA=(SID=DB2)(CID=(PROGRAM=)(HOST=MSHOME\XPONE)(USER=XPONE\Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1097)) * establish * DB2 * 12518
</txt>
</msg>
<msg time='2010-02-11T11:19:17.296-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
</txt>
</msg>
<msg time='2010-02-11T11:19:20.578-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:20 * (CONNECT_DATA=(SID=DB2)(CID=(PROGRAM=)(HOST=MSHOME\XPONE)(USER=XPONE\Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1098)) * establish * DB2 * 12518
</txt>
</msg>
<msg time='2010-02-11T11:19:20.609-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
</txt>
</msg>
<msg time='2010-02-11T11:19:20.671-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:20 * (CONNECT_DATA=(SID=DB2)(CID=(PROGRAM=)(HOST=MSHOME\XPONE)(USER=XPONE\Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1099)) * establish * DB2 * 12518
</txt>
</msg>
<msg time='2010-02-11T11:19:20.703-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
</txt>
</msg>
<msg time='2010-02-11T11:19:21.640-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:21 * service_update * orcl * 0
</txt>
</msg>
<msg time='2010-02-11T11:19:23.015-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:22 * (CONNECT_DATA=(SID=DB2)(CID=(PROGRAM=)(HOST=MSHOME\XPONE)(USER=XPONE\Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1100)) * establish * DB2 * 12518
</txt>
</msg>
<msg time='2010-02-11T11:19:23.046-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
</txt>
</msg>
<msg time='2010-02-11T11:19:23.156-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>11-FEB-2010 11:19:23 * (CONNECT_DATA=(SID=DB2)(CID=(PROGRAM=)(HOST=MSHOME\XPONE)(USER=XPONE\Oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.0.100)(PORT=1101)) * establish * DB2 * 12518
</txt>
</msg>
<msg time='2010-02-11T11:19:23.187-05:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='XPONE'
host_addr='192.168.0.100'>
<txt>TNS-12518: TNS:listener could not hand off client connection
TNS-12560: TNS:protocol adapter error
TNS-00530: Protocol adapter error
32-bit Windows Error: 2: No such file or directory
</txt>
</msg>
And finally, the listener is starting from Oracle Home and I do not have any other Oracle products installed.
Thanks a billion for all your suggestions.
Regards
Krishna
Similar Messages
-
I am connecting from Oracle to another database server (MS SQL Server, DB2 the error message is the same) through an ODBC connection using Oracle SQL Developer. (This is how I set up)
I want to query the schema of a non-Oracle database using the data dictionary mapping of the Oracle Database Gateway for ODBC.
This works well:
select * from all_tables@katimssql;
But this doesn't:
create table alltables_mssql as
select * from all_tables@katimssql;
Output:
Error report:
SQL Error: ORA-00604: error occurred at recursive SQL level 1
ORA-02047: cannot join the distributed transaction in progress
ORA-06512: at "SYS.HS$_DDTF_SQLTABLES", line 58
ORA-06512: at line 1
Does anyone know the solution of this?
Thanks in advance,
Kata
Details:
Oracle Database 11g Express Edition Release 11.2.0.2.0
Microsoft SQL Server 2008 (SP2) - 10.0.4000.0 (X64)
ODBC Driver: SQL Server Native Client 11.0 (32 bit)
initkatimssql.ora:
HS_FDS_CONNECT_INFO=katimssql
HS_FDS_TRACE_LEVEL = ON
HS_TRANSACTION_MODEL = READ_ONLY_AUTOCOMMIT
I tried these, none of them worked, the error message is the same.
HS_FDS_TRACE_LEVEL = off
HS_TRANSACTION_MODEL = SINGLE_SITE
HS_TRANSACTION_MODEL = READ_ONLY_AUTOCOMMIT
HS_TRANSACTION_MODEL = READ_ONLYHi Kata,
this won't work as the ALL_TABLES is not a table that exists in your SQl Server - instead it is a "mimicked" table. This means the gateway will check if you have on your SQL Server a table called all_tables and when there's no table it will start an internal mechanism to check out what sort of tables exist in your SQL Server database. So the gateway is starting internally another transaction to get details from the foreign database and DG4ODBC can't participate in distributed transactions at all. Instead of using all_tables you have to use a real SQL Server table like SQ Server sys.objects or sys.tables.
- Klaus -
Oracle Database Gateway for MS SQL server
Hi,
we have Oracle Database Appliance.
OS: Oracle Linux 5 x64
DB: 11.2.0.3 enterprise (Oracle Database Gateway for MS SQL server at the same version)
Communication with remote DB is OK, but CPU load is too high without any reason. CPU waste, useless HW load, energy waste.
Enterprise manager console:
http://81.89.49.222/em.JPG
OS top:
http://81.89.49.222/top.JPG
Please can you help me how to solve this issue? How can I restart these procesess? Any ideas?
Thank you
MichalHi,
we are using connection to multiple MS SQL servers:
[oracle@odamaind1 ~]$ cat /u01/app/oracle/product/11.2.0.3/dbhome_1/dg4msql/admin/initaqpdb01.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 init parameters
HS_FDS_CONNECT_INFO=[172.18.250.141]://master
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
HS_FDS_SUPPORT_STATISTICS=FALSE
HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
HS_NLS_LENGTH_SEMANTICS=CHAR
HS_FDS_TRANSACTION_MODEL=READ_ONLY
HS_FDS_TRANSACTION_ISOLATION=UNCOMMITTED
[oracle@odamaind1 ~]$ cat /u01/app/oracle/product/11.2.0.3/dbhome_1/dg4msql/admin/initcosima.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 init parameters
HS_FDS_CONNECT_INFO=[172.20.250.99]//COSIMA
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
# custom init parameters
HS_FDS_SUPPORT_STATISTICS=FALSE
HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
HS_NLS_LENGTH_SEMANTICS=CHAR
HS_FDS_TRANSACTION_MODEL=READ_ONLY
HS_FDS_TRANSACTION_ISOLATION=UNCOMMITTED
[oracle@odamaind1 ~]$ cat /u01/app/oracle/product/11.2.0.3/dbhome_1/dg4msql/admin/initepos.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 init parameters
HS_FDS_CONNECT_INFO=[172.18.250.41]:1433//epos
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
HS_FDS_SUPPORT_STATISTICS=FALSE
HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
HS_NLS_LENGTH_SEMANTICS=CHAR
HS_FDS_TRANSACTION_MODEL=READ_ONLY
HS_FDS_TRANSACTION_ISOLATION=UNCOMMITTED
[oracle@odamaind1 ~]$ cat /u01/app/oracle/product/11.2.0.3/dbhome_1/dg4msql/admin/initepospasohlavky.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 init parameters
HS_FDS_CONNECT_INFO=[172.31.250.41]/SQL2012/epos
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
HS_FDS_SUPPORT_STATISTICS=FALSE
HS_KEEP_REMOTE_COLUMN_SIZE=LOCAL
HS_NLS_LENGTH_SEMANTICS=CHAR
HS_FDS_TRANSACTION_MODEL=READ_ONLY
HS_FDS_TRANSACTION_ISOLATION=UNCOMMITTED
dg4msl process, look at posted attachment (print screen of enterprise manager and top from OS).
Thank you
Michal -
Oracle Database Gateway for ODBC with Oracle XE
Dear Colleague,
Is it possible to use the Oracle Database Gateway for ODBC in conjunction with the Oracle Express Edition (or does one have to use the Standard or Enterprise Editions)? If yes, are there any restrictions when using the Oracle Database Gateway for ODBC in the context of Oracle XE?
Best regards,
RandyHi,
As it says, as long as you have an RDBMS license then you do not need a separate license for DG4ODBC. If the confusion is where it says "Oracle Database Gateway for ODBC can be installed and used on a machine different" then that is just to clarify that you can run the gateway on a completely separate machine from where the licensed RDBMS is running, but you can also run DG4ODBC on the same machine where the RDBMS is installed.
If you install 11g DG4ODBC on the same machine where you have a 10g RDBMS then it must be installed into a separate ORACLE_HOME.
If this is still not clear then please get back and let us know exactly what you need clarifying.
Regards,
Mike -
Hi,
I am tring Gateway for SQL Server ..
I want to Select Oracle Database Gateway for SQL Server 11.1.0.6.0 at the time of installation, but It is not coming in the Avaliable Components List..
Is there any prerequisite for SQL server ?
Any Help please ?Are you following the "Step Through the Oracle Universal Installer" section under
http://download.oracle.com/docs/cd/B28359_01/gateways.111/b31043/sqlserver.htm#CCHEDECC
? -
How to verify if Database gateway for DRDA is installed and configured.
Hi All,
How can we verify if Database gateway for DRDA is installed and configured.
Our OS is AIX 5L 64 bit OS.
Rdbms : 11.2.0.3
Regards,Duplicated
How to verify if Database gateway for DRDA is installed and configured.
+-- thread locked --+
Nicolas. -
Need help trouble shooting Database Gateway for MS SQL Server setup, getting ORA-28546 error
Dear All,
I am trying to setup Oracle Database Gateway for MS SQL Server(I don't have admin access to the MS SQL Server). When I try to test the dblink connection, I get the following error.
I issued select * from dual@xyz;
ORA-28546: connection initialization failed, probable Net8 admin error
ORA-28511: lost RPC connection to heterogeneous remote agent using SID=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SID=dg4msql)))
ORA-02063: preceding 2 lines from xyz
28546. 0000 - "connection initialization failed, probable Net8 admin error"
My setup is the following.
1. Oracle 11gR2 running on Oracle Linux 6, the same version gateway is installed on the same server, but different home directory.
2. Oracle DB home directory is /u01/app/oracle/product/11.2.0/dbhome_1, gateway home directory is /u01/gateway.
3. I use the same listener.ora file for both the db and the gateway.
4. the contents of my listener.ora, tnsnames.ora and the initdg4msql.ora are below.
/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
#(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
(ADDRESS = (PROTOCOL = TCP)(HOST = db.abc.com.tw)(PORT = 1522))
mssql =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME=db.abc.com.tw)
(ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1)
(SID_NAME=orcl)
SID_LIST_mssql =
(SID_LIST =
(SID_DESC =
(SID_NAME=dg4msql)
(ENVS=LD_LIBRARY_PATH=/u01/gateway/dg4msql/driver/lib:/u01/gateway/lib)
(PROGRAM_NAME=/u01/gateway/bin/dg4msql)
/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
LISTENER_ORCL =
(ADDRESS = (PROTOCOL = TCP)(HOST = db.abc.com.tw)(PORT = 1522))
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = db.abc.com.tw)(PORT = 1522))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.abc.com.tw)
dg4msql =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=TCP) (HOST=localhost)(PORT = 1521))
(CONNECT_DATA=(SID=dg4msql))
(HS=OK)
/u01/gateway/dg4msql/admin/initdg4msql.ora
HS_FDS_CONNECT_INFO=[192.168.0.1]:1433//XIETEST
# alternate connect format is hostname/serverinstance/databasename
HS_FDS_TRACE_LEVEL=255
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
dblink was created using statement below.
CREATE DATABASE LINK "xyz.abc.COM.TW"
CONNECT TO SA IDENTIFIED BY
USING 'dg4msql';
Couple more things, that I have done to check the work above.
[oracle@db admin]$ ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=61 time=7.61 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=61 time=7.41 ms
^C
--- 192.168.0.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1818ms
rtt min/avg/max/mdev = 7.417/7.516/7.615/0.099 ms
[oracle@db admin]$ tnsping dg4msql
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 11-SEP-2013 10:53:11
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=TCP) (HOST=localhost)(PORT = 1521)) (CONNECT_DATA=(SID=dg4msql)) (HS=OK))
OK (0 msec)
[oracle@db admin]$ lsnrctl status mssql
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 11-SEP-2013 10:54:23
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
STATUS of the LISTENER
Alias mssql
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 11-SEP-2013 10:09:46
Uptime 0 days 0 hr. 44 min. 37 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/db/mssql/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(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
Obviously, I would like to get this setup to work, but I also have couple other questions regarding this setup.
1. When installing the gateway, it asks to run the root.sh script. the root.sh script as for the following.
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: n
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: n
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: n
is the above answer correct?
Thanks for reading.Dear Klaus,
I did start a new SQL*PLUS session
The output of /u01/gateway/bin/dg4msql is
[oracle@db log]$ /u01/gateway/bin/dg4msql
Oracle Corporation --- WEDNESDAY SEP 11 2013 14:45:06.604
Heterogeneous Agent Release 11.2.0.1.0 - 64bit Production Built with
Oracle Database Gateway for MSSQL
The output of env is
HOSTNAME=db.abc.com.tw
SHELL=/bin/bash
TERM=xterm
HISTSIZE=1000
ORACLE_UNQNAME=orcl
TMPDIR=/tmp
QTDIR=/usr/lib64/qt-3.3
QTINC=/usr/lib64/qt-3.3/include
USER=oracle
LD_LIBRARY_PATH=/u01/app/oracle/product/11.2.0/dbhome_1/lib:/lib:/usr/lib
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
ORACLE_SID=orcl
ORACLE_BASE=/u01/app/oracle
ORACLE_HOSTNAME=db.abc.com.tw
MAIL=/var/spool/mail/oracle
PATH=/u01/app/oracle/product/11.2.0/dbhome_1/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/oracle/bin
PWD=/home/oracle
LANG=en_US.UTF-8
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
HISTCONTROL=ignoredups
SHLVL=1
HOME=/home/oracle
TMP=/tmp
LOGNAME=oracle
QTLIB=/usr/lib64/qt-3.3/lib
CVS_RSH=ssh
CLASSPATH=/u01/app/oracle/product/11.2.0/dbhome_1/jlib:/u01/app/oracle/product/11.2.0/dbhome_1/rdbms/jlib
LESSOPEN=|/usr/bin/lesspipe.sh %s
ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
G_BROKEN_FILENAMES=1
_=/bin/env -
Problem with "Database Gateway for SQL Server"
Hello,
i am testing the different technologies for connecting an oracle database with a sql-server database.
The way using 10g-generic-connectivity with ODBC works fine, but the 11g-DG4MSQL makes problems.
Environment:
Server PEGASUS (32bit Windows Server 2003 R2 SP2) with Oracle Database 10g Release 10.2.0.4.0
Server OBELIXUS (32bit Windows 2000 Sp4) with MS-SQL-Server 2005
On PEGASUS i have installed the gateway in a new oracle home directory:
"D:\oracle\product\10.2.0\db_1" => home directory of 10g
"D:\oracle\product\11.1.0\tg_1\" => home directory of the gateway
D:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames.ora:
MSSQLDG =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = PEGASUS)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = DG4MSQL)
(HS = OK)
MSSQL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = PEGASUS)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = MSSQLTEST)
(HS = OK)
D:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = INTEGRAT)
(ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
(SID_NAME = INTEGRAT)
(SID_DESC =
(SID_NAME = MSSQLTEST)
(PROGRAM = D:\oracle\product\10.2.0\db_1\bin\hsodbc)
(ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
(SID_DESC=
(SID_NAME=DG4MSQL)
(ORACLE_HOME=D:\oracle\product\11.1.0\tg_1)
(PROGRAM=D:\oracle\product\11.1.0\tg_1\BIN\dg4msql)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = pegasus.cursor.de)(PORT = 1521))
D:\oracle\product\11.1.0\tg_1\dg4msql\admin\initDG4MSQL.ora:
HS_FDS_CONNECT_INFO=OBELIXUS/MSSQLSERVER/testuju
HS_FDS_TRACE_LEVEL=DEBUG
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
D:\oracle\product\10.2.0\db_1\hs\admin\initMSSQLTEST.ora:
HS_FDS_CONNECT_INFO=DSN_MSSQL
HS_FDS_TRACE_LEVEL=OFF
HS_LANGUAGE=AMERICAN_AMERICA.WE8MSWIN1252
HS_FDS_FETCH_ROWS=100
HS_RPC_FETCH_REBLOCKING=OFF
How mentioned above, the access from oracle to sqlserver using MSSQL(10g hsodbc.exe) works fine.
But when trying to acces the sqlserver using MSSQLDG (11g dg4msql.exe) I get the following error:
ORA-28500: Verbindung von ORACLE zu Fremdsystem gab diese Nachricht zurück:
[Oracle][ODBC SQL Server Driver][DBNETLIB]Ungültige Verbindung.
[Oracle][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (ParseConnectParams()).
[Oracle][ODBC SQL Server Driver]Ungültiges Attribut für die Verbindungszeichenfolge
ORA-02063: vorherige 2 lines von DBL_MSSQL4
Here the contect of the file "DG4MSQL_agt_2332.trc":
Oracle Corporation --- FREITAG AUG 22 2008 16:17:42.198
Heterogeneous Agent Release
11.1.0.6.0
Oracle Corporation --- FREITAG AUG 22 2008 16:17:42.198
Version 11.1.0.6.0
Entered hgogprd
HOSGIP for "HS_FDS_TRACE_LEVEL" returned "DEBUG"
Entered hgosdip
setting HS_OPEN_CURSORS to default of 50
HOSGIP returned value of "RECOVER" for HS_FDS_RECOVERY_ACCOUNT
HOSGIP returned a value for HS_FDS_RECOVERY_PWD
setting HS_FDS_TRANSACTION_LOG to default of "HS_TRANSACTION_LOG"
setting HS_FDS_TRANSACTION_ISOLATION to default of "READ_COMMITTED"
setting HS_NLS_NCHAR to default of "AL16UTF16"
setting HS_FDS_TIMESTAMP_AS_DATE to default of "TRUE"
setting HS_RPC_FETCH_REBLOCKING to default of "ON"
setting HS_FDS_FETCH_ROWS to default of "100"
setting HS_FDS_RESULTSET_SUPPORT to default of "FALSE"
setting HS_FDS_PROC_IS_FUNC to default of "FALSE"
setting HS_FDS_CHARACTER_SEMANTICS to default of "FALSE"
setting HS_FDS_MAP_NCHAR to default of "TRUE"
setting HS_NLS_DATE_FORMAT to default of "YYYY-MM-DD HH24:MI:SS"
setting HS_FDS_REPORT_REAL_AS_DOUBLE to default of "FALSE"
setting HS_LONG_PIECE_TRANSFER_SIZE to default of "65536"
setting HS_SQL_HANDLE_STMT_REUSE to default of "FALSE"
setting HS_FDS_QUERY_DRIVER to default of "FALSE"
setting HS_CALL_NAME_ISP to "gtw$:SQLTables;gtw$:SQLColumns;gtw$:SQLPrimaryKeys;gtw$:SQLForeignKeys;gtw$:SQLProcedures;gtw$:SQLStatistics"
Exiting hgosdip, rc=0
ORACLE_SID is "DG4MSQL"
Product-Info:
Port Rls/Upd:6/0 PrdStat:0
Agent:Oracle Database Gateway for MSSQL
Facility:hsa
Class:MSSQL, ClassVsn:11.1.0.6.0_0006, Instance:DG4MSQL
Exiting hgogprd, rc=0
Entered hgoinit
HOCXU_COMP_CSET=1
HOCXU_DRV_CSET=178
HOCXU_DRV_NCHAR=2000
HOCXU_DB_CSET=178
HOCXU_SEM_VER=102000
Entered hgolofn at 2008/08/22-16:17:42
RC=-1 from HOSGIP for "PATH"
PATH from environment is "d:\oracle\product\11.1.0\tg_1\bin;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\IBM\Informix\Client-SDK\bin"
Exiting hgolofn, rc=0 at 2008/08/22-16:17:43
HOSGIP for "HS_OPEN_CURSORS" returned "50"
HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
Exiting hgoinit, rc=0 at 2008/08/22-16:17:43
Entered hgolgon at 2008/08/22-16:17:43
reco:0, name:testuju, tflag:0
Entered hgosuec at 2008/08/22-16:17:43
uencoding=UTF16
Entered shgosuec at 2008/08/22-16:17:43
Exiting shgosuec, rc=0 at 2008/08/22-16:17:43
shgosuec() returned rc=0
Exiting hgosuec, rc=0 at 2008/08/22-16:17:43
HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
using testuju as default value for "HS_FDS_DEFAULT_OWNER"
HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
Entered hgocont at 2008/08/22-16:17:43
HS_FDS_CONNECT_INFO = "OBELIXUS/MSSQLSERVER/testuju"
RC=-1 from HOSGIP for "HS_FDS_CONNECT_STRING"
Entered hgogenconstr at 2008/08/22-16:17:43
dsn:OBELIXUS/MSSQLSERVER/testuju, name:testuju
optn:
Entered shgogohn at 2008/08/22-16:17:43
ohn is 'OraGtw11g_home1'
Exiting shgogohn, rc=0 at 2008/08/22-16:17:43
Entered hgocont_OracleCsidToIANA at 2008/08/22-16:17:43
Returning 2252
Exiting hgocont_OracleCsidToIANA at 2008/08/22-16:17:43
##>Connect Parameters (len=223)<##
## DRIVER=Oracle 11g dg4msql-OraGtw11g_home1;
## SERVER=OBELIXUS\MSSQLSERVER;
## Database=testuju;
#! UID=testuju;
#! PWD=*
## AnsiNPW=Yes;
## QuotedId=Yes;
## IANAAppCodePage=2252;
## ArraySize=100;
## PadVarbinary=0;
## SupportNumericPrecisionGreaterThan38=1;
Exiting hgogenconstr, rc=0 at 2008/08/22-16:17:44
Entered hgopoer at 2008/08/22-16:18:00
hgopoer, line 159: got native error 14 and sqlstate 08001; message follows...
[Oracle][ODBC SQL Server Driver][DBNETLIB]Ungültige Verbindung.[Oracle][ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (ParseConnectParams()).[Oracle][ODBC SQL Server Driver]Ungültiges Attribut für die Verbindungszeichenfolge
Exiting hgopoer, rc=0 at 2008/08/22-16:18:00
hgocont, line 1890: calling SqlDriverConnect got sqlstate 08001
Exiting hgocont, rc=28500 at 2008/08/22-16:18:00 with error ptr FILE:hgocont.c LINE:1910 ID:Something other than invalid authorization
Exiting hgolgon, rc=28500 at 2008/08/22-16:18:00 with error ptr FILE:hgolgon.c LINE:612 ID:Calling hgocont
Entered hgoexit at 2008/08/22-16:18:00
Exiting hgoexit, rc=0 at 2008/08/22-16:18:00
Many thanks in advance for any help!
Regards HartmutAt first your configuration is not really correct.
=====================================================
In the LISTENER.ORA from 10g, you must only refer to the database and hsodbc 10g
D:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = INTEGRAT)
(ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
(SID_NAME = INTEGRAT)
(SID_DESC =
(SID_NAME = MSSQLTEST)
(PROGRAM = D:\oracle\product\10.2.0\db_1\bin\hsodbc)
(ORACLE_HOME = D:\oracle\product\10.2.0\db_1)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = pegasus.cursor.de)(PORT = 1521))
===========================================================
Then you have to create a new listener (new name) in the gateway oracle_home on a different port than instance database:
D:\oracle\product\11.1.0\tg_1\network\admin\listener.ora
SID_LIST_LISTENERGTW =
(SID_LIST =
(SID_DESC=
(SID_NAME=DG4MSQL)
(ORACLE_HOME=D:\oracle\product\11.1.0\tg_1)
(PROGRAM=D:\oracle\product\11.1.0\tg_1\BIN\dg4msql)
LISTENERGTW=
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = pegasus.cursor.de)(PORT = 1522))
To start it, use the command below:
D:\oracle\product\11.1.0\tg_1\bin\LSNRCTL start listenergtw
===========================================================
D:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\tnsnames.ora:
match the DG4MSQL with the listener on 1522 port
HSODBC match with binary10g on listener 1521 port
MSSQLDG =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = PEGASUS)(PORT = 1522))
(CONNECT_DATA =(SERVICE_NAME = DG4MSQL))
(HS = OK)
MSSQL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = PEGASUS)(PORT = 1521))
(CONNECT_DATA =(SERVICE_NAME = MSSQLTEST))
(HS = OK)
Try to configure and let me know your feedback
regards,
Mireille -
Not able to create a database link using the database gateway of oracle 11g
HI,
While trying to create a database link to SQL server from Oracle ,using the database gateway provided with 11g, i am getting the following error while making use of it in selecting columns from tables :
Error starting at line 1 in command:
select * from test1@dblink
Error at Command Line:1 Column:20
Error report:
SQL Error: ORA-28513: internal error in heterogeneous remote agent
ORA-02063: preceding line from DBLINK
These are the steps i have followed for setting up:
1.Ran the set up for the Database gateway.and mentioned the SQL server name and database .ALos set up a listener.
2. Added the following in the Listener.ora of Oraclehome 11/NETWORK/ADMIN:
LISTENER_SQL_FCD =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST =localhost) (PORT = 1541)
SID_LIST_LISTENER_SQL_FCD =
(SID_LIST =
(SID_DESC =
(SID_NAME=dg4msql)
(ORACLE_HOME= D:\app\20537\product\11.1.0\db_3)
(PROGRAM=dg4msql)
3.Added the following in tnsnames.ora inOracle home/NETWORK/ADMIN:
dg4msql=
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1541))
(CONNECT_DATA=(SID=dg4msql))
(HS=OK)
4. Following is the entry in initdg4msql.ora in C:\product\11.1.0\tg_5\dg4msql\admin:
HS_FDS_CONNECT_INFO=10.148.45.242:1433//SalesDemo
HS_FDS_TRACE_LEVEL=DEBUG
HS_FDS_RECOVERY_ACCOUNT=RECOVER
HS_FDS_RECOVERY_PWD=RECOVER
5. Created the database link :
create database link dblink
connect to "sa" identified by "<pswd>"
using 'dg4msql'
On running :select * from test1@dblink i get the following error:
Error starting at line 1 in command:
select * from test1@dblink
Error at Command Line:1 Column:20
Error report:
SQL Error: ORA-28513: internal error in heterogeneous remote agent
ORA-02063: preceding line from DBLINK
Is there any issue with the set or definition that I get the above error?What is the version of the Oracle database in which you have specified/and use the database link?
If it is for example 10.2.0.3.0 you need to apply the mandatory patch for RDBMS bug 5965763 first before being able to use an 11g gateway. Have a look at MetaLink note 457808.1 for details about this patch.
Regards,
Ed -
Installation error message for Oracle Database software for version 10g
Would someone be able to advise why I keep getting the following error message whilst installing Oracle trial Database software for version 10g Release 2 Standard Edition, Standard Edition One, and Enterprise Edition? Link listed below : -
http://www.oracle.com/technology/software/products/database/oracle10g/index.html
Error message "Cannot create directory"C:\oracle\product\10.2.0\db_7\cfgtoollogs\dbca\projemp"
Below is the 12 steps that I go through, please advise what I'm doing wrong : -
1. (Operations) default is Create a database
2. (Database templetes) default is general purpose
3. (Database Identification) projemp.local for Global database name & projemp for SID
4. (Management options) default is "Configure the database with Enterprise manager, also the options button has been clicked for "Use database control for database management"
5. (Database Credentials) the options button has been clicked for "Use the same password for all accounts" so I've set up a new password, was that correct?
6. (Storage options) the options button is clicked for "File System - use the file system for database storage.
7. (Database file locations) the options button is clicked for "Use database file locations for template" Is this option correct? Other options are Use common location for all database files or use Oracle-managed files?
8. (Recovery configuration) the options button is clicked for "Specify flash recovery area
9. (Database content) nothing has been selected, the only option is "Sample schemas" should that be clicked?
10. (Initialization parameters) the options button is clicked for "Typical- allocate memory as a % of the total physical memory
11. (Database storage) no options available
12. (Creation options) the options button has been selected for "Create Database"
Click finish
I then get a screen stating General purpose, click OK then I get the following error message as stated at the start of this e-mail ""Cannot create directory"C:\oracle\product\10.2.0\db_7\cfgtoollogs\dbca\projemp".
Regards
Phil855880 wrote:
I have been trying to install the "Oracle Database software for version 10g Release 2 Standard Edition, Standard Edition One, and Enterprise Edition" about six times with no success.Do you realize you just mentioned 3 different and distinct products? So which one are you installing?
>
I've gone through my courses instructions as listed above (1-12) and end up with the following error message"C:\oracle\product\10.2.0\db_7\cfgtoollogs\dbca\projemp".What course?
>
I've removed the software from my computer using control panel, programs & features then uninstall once but the other five times the software hasn't been listed. Whilst the Oracle was on my task bar I was able to install using Start > Programs > Oracle - HOME-NAME > Database Administration > Database Configuration Assistant.No you didn't. Database Configuration Assistant does not remove software. It can remove a database. As I mentioned before, there is a difference between the software and the objects that software manages. Deleting an Excel spreadsheet is not the same as deleting Microsoft Office. Deleting an Oracle database with Database configuration assistant is not the same as removing the Oracle software.
>
Now that oracle is not on my task bar I've unzipped the link below, clicked on db, Disk1, setup, changed the Database password (is that correct?) install and I get the following error message "Check complete. The overall result of this check is: Failed<<<<<
Problem: The install has detected that the primary IP address of the system is DHCP-assigned.
Recommendation: Oracle supports installations on systems with DHCP-assigned IP addresses;
However, before you can do this, you must configure the Microsoft LoopBack Adaptor to be the primary network adapter on the system. See the installation Guide for more details on installing the software on systems configured with DHCP."
So what did you do with the above error message? Did you follow up on what it said? Did you read the very fine Installation Guide that comes with the software? Did you read the section on networking considerations where it discussed DHCP assigned addresses and installing the loopback adapter?
http://www.oracle.com/technology/software/products/database/oracle10g/index.html
Ok, that link takes us to the download page, which does not shed any light at all on your problems
I'm using Windows Vista Home Premium, 32 bit operating system, and my computer is saying I have 142 GB free space.
If you read the installation manual that came with the downloaded software, you'd have seen in the prerequisites that Home editions of Windows are NOT listed as supported platforms, whereas Business, Enterprise, and Ultimate editions specifically ARE listed as supportd.
Hope this is some help.And
I'm not to clever on computers so would you be able to advise how I get to the command window to issue the SET command please?
Also I've no idea what OS user I am, I'm taking an on-line Oracle course and been advised to install "Oracle Database software for version 10g Release 2 Standard Edition, Standard Edition One, and Enterprise Edition"
How do I find out if I'm part of an Administrator, ORA_DBA group ?
Can you walk me through how to create the directory from command line please?Ok, given the above statements from you, I'm not even sure where to begin. I don't want to be cruel, but this self-admitted lack of even the most rudimentary knowledge by someone attempting to learn about Oracle is truly astounding. What course are you taking? Why are you taking this course? -
Using oracle procedural gateway to connect to mq series
Hi,
I am working on setting up my connection to export data from oracle database to db2 using mq-series.
MQ-Series client software and oracle procedural gateway v9 are installed on HP-UX .
initsid.ora & initsid.gtwboot file for the gateway are configured. listener.ora and tnsnames.ora are also configured and running.
I created a dblink and then tried to test my connection using the test scripts given by IBM.
I got the following error,
ORA-04052: error occurred when looking up remote object [email protected]
ORA-00604: error occurred at recursive SQL level 1
ORA-28509: unable to establish a connection to non-Oracle system
ORA-02063: preceding line from DCY3
I generated a trace and I got the following information from listener.trc
nsopen: opening transport...
nttcnp: Validnode Table IN use; err 0x0
nttcnp: getting sockname
nttcnr: waiting to accept a connection.
nttcnr: getting sockname
nttvlser: valid node check on incoming node 172.25.228.7
nttvlser: Accepted Entry: 172.25.228.7
nttcon: set TCP_NODELAY on 11
nsopen: transport is open
nsnainit: inf->nsinfflg[0]: 0xd inf->nsinfflg[1]: 0xd
nsopen: global context check-in (to slot 4) complete
nsanswer: deferring connect attempt; at stage 5
nscon: doing connect handshake...
nscon: got NSPTCN packet
nsevdansw: exit
nsbeqaddr: connecting...
sntpcall: About to exec /u46/oracle/app/oracle/product/bin/pg4mqc90drv
sntpcall: detaching from parent with additional fork
sntpcall: only 0 bytes read
sntpcall: Can't read from pipe; err[1] = 32
nserror: nsres: id=4, op=72, ns=12547, ns2=12560; nt[0]=517, nt[1]=32, nt[2]=0;
ora[0]=0, ora[1]=0, ora[2]=0
nscon: sending NSPTRF packet
nstimarmed: no timer allocated
nsclose: closing transport
nsclose: global context check-out (from slot 4) complete
nsglecmd: Deallocating cxd 0x40045ef0.
Listener.log gave me the following information,
12-JAN-2010 14:47:34 * (CONNECT_DATA=(SID=dcy3)) * (ADDRESS=(PROTOCOL=tcp)(HOST=
172.25.228.7)(PORT=59501)) * establish * dcy3 * 12500
TNS-12500: TNS:listener failed to start a dedicated server process
TNS-12547: TNS:lost contact
TNS-12560: TNS:protocol adapter error
TNS-00517: Lost contact
HPUX Error: 32: Broken pipe
I researched online and made sure that I have enough swap,memory on my OS.I increased the value for processes in init.ora file.
My log files have not exceeded the maximum limit.
The trace shows that my listener is loosing contact when it is trying to read the driver from /u46/oracle/app/oracle/product/bin/pg4mqc90drv.
I am not sure how to proceed from this point,though I have a thought of relinking my libraries in oracle.
Can anyone give any information on this.Hi,
listener.ora,
DCY3LSNR =
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL=IPC)
(KEY=ORAIPC)
(ADDRESS =
(PROTOCOL=TCP)
(HOST=fngtest)
(PORT=1414)
SID_LIST_DCY3LSNR =
(SID_LIST =
(SID_DESC =
(SID_NAME=DCY3)
(ORACLE_HOME=/u46/oracle/app/oracle/product)
(PROGRAM=pg4mqc90drv)
STARTUP_WAIT_TIME_DCY3LSNR=0
CONNECT_TIMEOUT_DCY3LSNR=1000
TRACE_LEVEL_DCY3LSNR=4
TRACE_DIRECTORY_DCY3LSNR=/u46/oracle/app/oracle/product/network/trace
TRACE_FILE_DCY3LSNR=listener
LOG_DIRECTORY_DCY3LSNR=/u46/oracle/app/oracle/product/network/log
LOG_FILE_DCY3LSNR=listener
$ cat initDCY3.ora
#===========================================================================
# GATEWAY INITIALIZATION FILE:
# Oracle Procedural Gateway for IBM MQSeries Client (pg4mqc90).
#===========================================================================
SET HS_DB_NAME=
SET HS_DB_DOMAIN=
SET LOG_DESTINATION=/u46/oracle/app/oracle/product/pg4mqseries/log/DCY3.log
SET QUEUE_MANAGER=DCY3
SET AUTHORIZATION_MODEL=RELAXED
SET TRANSACTION_MODEL=SINGLE_SITE
SET TRANSACTION_LOG_QUEUE=tx_queue_name
SET TRANSACTION_RECOVERY_USER=rec_user
SET TRANSACTION_RECOVERY_PASSWORD=rec_password
SET TRACE_LEVEL=0
$ cat initDCY3.gtwboot
#============================================================================
# GATEWAY BOOT FILE:
# Oracle Procedural Gateway for IBM MQSeries Client (pg4mqc90).
#============================================================================
GATEWAY_SID=DCY3
SERVER_PATH=/u46/oracle/app/oracle/product/bin/pg4mqc90
LOG_DESTINATION=/u46/oracle/app/oracle/product/pg4mqseries/log/DCY3boot.log
LD_LIBRARY_PATH=/usr/lib:/opt/mqm/lib:/u46/oracle/app/oracle/product/lib
MQSERVER=FNGTEST.DCY3/TCP/TCPIP03
#MQCCSID=850
#MODE=DEBUG
I have pasted my listener.ora and init files.
Can anyone pls give me more information on this. -
Facing Problem In Using Oracle Database Cloud Backup Service
Hi Everyone,
I m trying to use Oracle Database Backup Service, for this i have done the following as mentioned in the documentation.
http://www.oracle.com/technetwork/database/features/availability/twp-oracledatabasebackupservice-2183633.pdf
1.Downloaded the opc_installer from otn and unzipped.
2. Executed the following statement from command prompt
java -jar opc_install.jar -serviceName myService -identityDomain myDomain
-opcId [email protected] -opcPass myPassword -configFile "C:\Oracle\OPC\conf"
-walletDir "C:\Oracle\OPC\wallet" -libDir "C:\Oracle\OPC\lib"
Using my credentials, servicename , identitydomain in the above statement.
Download Complete message appears.
3. Connects to RMAN and configure channel for sbt by passing this.
configure channel device type sbt parms
'SBT_LIBRARY=C:\Oracle\OPC\lib\oraopc12.dll
ENV=(OPC_PFILE=C:\Oracle\OPC\conf\conf.txt)';
4.To test the installation i executed the given statement "backup device type sbt current controlfile;"
Starting backup at 31-MAY-14
RMAN-00571:
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS
RMAN-00571:
RMAN-03002: failure of backup command at 05/31/2014 04:41:44
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27000: skgfqsbi: failed to initialize storage subsystem (SBT) layer
OSD-01400: Message 1400 not found; product=RDBMS; facility=SOSD
(OS 7110)
ORA-19511: Error received from media manager layer, error text:
SBT error = 7110, errno = 1400, sbtinit: internal error - invalid argument(s)
Getting the following error.
My database version is 11g 11.2.0.3 and is installed in windows server 2008.
Please help to resolve the error.
Looking for your help.
RegardsHi,
Could you try the following command ? Seems like some dependent Windows DLL is not being loaded..
sbttest foo -libname <abs-path-of-directory>\oraopc12.dll
This will output the reason why oraopc12.dll can't be loaded.
Thanks -
Connection Problem When Using Oracle Developer Tools for Visual Studio
I tried to create an Oracle Connection in my Visual Studio 2008 after installing Oracle 11g, Oracle Data Access Components (ODAC) with Oracle Devleoper Tools for Vissual Studio version 11.1.0.6.20.
I followed the directions according to "Building .NET Applications Using Oracle Developer Tools for Visual Studio, when I click Test Connection, I keep getting the error message below.
Microsoft Visual Studio
ORA-12170: TNS:Connect timeout occurred
OK
---------------------------I solved the problem.
This is what I did for the benefit of the embryonic newbe like me.
On the Add Connection Dialog
1. For Data source name I selected Local Database
2. I clicked on the specific User Name and I typed SYSTEM
3. For Password, I typed orcl (the password I setup during the installation) (HR did not work for me for User name and Password according to the tutorial instructions)
4. For Role, I selected Default
5. Connection Name, I selected Local Database
6. Before proceeding any further went to Windows XP SP3 where I was operating from, under Start Menu, I selected Administrative Tools then Services
a. On the Windows Services (Local) Dialog, under name, I selected OracleServiceORCL and OracleOraDb11g_home1TNSListener. I clicked on them one at a time
b. On the presented Dialog, under Service Status, I Clicked on the Start Button to start the Services
c. Then I went back to the Add Connection Dialog. I clicked on Test Connection, it connected okay. I finally clicked on Okay to connect. -
Hi,
I have joined a company which has a legacy 10.2.0.4 RAC on windows. They did not have anyone to manage and now i am in.
I recommended them to upgrade to the certified version, but they do not want it as it will be decommissioned.
Now we have to connect to sql server from this database. I want to install gateway for that but i cannot find it for download.
Please let me know from where can i download.
And also i saw some discussions, where in it says it is possible to do this with out gateway?
Regardskgronau wrote:
Ed,
here the gateway would be installed on a RAC cluster.
I would put the emphasis on the first part of your statement:
here the gateway would be installed on a RAC cluster.
Installing on the cluster, and the further decision to install on multiple nodes of the cluster, is a local decision. There is nothing about the gateway itself that requires this.
So you have n-node installations (as it does not ake sense to have the gateway just on one node which might be down). When you install DG4MSQL (not DG4ODBC) on 2 machines then you need two licenses as the gateway is licensed on a machine basis and it does not matter to how many MS SQL Server machines you're going to connect to.
- Klaus
I would agree with the obvious. IF (and I doubly-emphasize the "IF") one determined they wanted to install on multiple nodes of a cluster, they would have to consider the licensing implications.
However, my point is that there is no inherent need to install the gateway on a cluster in the first place, and so no need to incur that licensing issue.
From Oracle® Database Gateway Installation and Configuration Guide 11g Release 2 (11.2) for AIX 5L Based Systems (64-Bit), HP-UX Itanium, Solaris Operating System (SPARC 64-Bit), Linux x86, and Linux x86-64 E12013-07 (http://docs.oracle.com/cd/E11882_01/gateways.112/e12013/newoverview.htm#OTGIS100)
1.1 Gateway Installation Configurations
You can install Oracle Database Gateway in either of the following configurations:
On the same computer as an existing Oracle database but in a different Oracle home.
On a system with no Oracle database.
On the same computer as the Oracle database and in the same Oracle home directory. Note that in this case, the Oracle database and the gateway must be at the same release level.
And if anyone is tempted to say "well, that's for *nix installations", the Windows installation guide says the same thing:
From Oracle® Database Gateway Installation and Configuration Guide 11g Release 2 (11.2) for Microsoft Windows E12061-06 (http://docs.oracle.com/cd/E11882_01/gateways.112/e12061/overview.htm#OTGIW100)
1.1 Gateway Installation Configurations
You can install Oracle Database Gateway in either of the following configurations:
On the same computer as an existing Oracle database but in a different Oracle home.
On a system with no Oracle database.
On the same computer as the Oracle database and in the same Oracle home directory. Note that in this case, the Oracle database and the gateway must be at the same release level.
Which is exactly what we opted for at my shop. Since the gateway is a system-wide resource, used to connect ANY of our oracle databases to ANY of our MSSQL databases, no one server made any more sense than any other. I wanted to have to manage only a single gateway and not have to worry about which gateway was on which machine to service which databases. -
Oracle Database link for AS400
Hi
i have two (2) database servers
1) Oracle 9i server
2) AS400 server
I want to create Oracle DataBase Link for AS400.
means i just want to connect AS400 system from oracle prompt by using
oracle database link.
please anybody help me in detail
Nasir,There is two method.
One of that
(1) Buy Oracle Transparent Gateway for AS400/DB2 and install it to AS400.
(2) Set tnsnames.ora for connecting to AS400/DB2.
(3) Create database link
http://download-west.oracle.com/docs/html/A97615_01/toc.htm
Another of that
(1) Get odbc driver for AS400/DB2 (on your OS executing Oracle)
(2) Set listener.ora, inithsodbc.ora and tnsnames.ora.
(3) Create database link
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96544/gencon.htm#1004729
Maybe you are looking for
-
Issue with VO extension in expert mode unchecked
hello i ma try to extend a VO which having Expert Mode Uncheck and Vo is EO base d is it possible to extend that VO regards Vivek
-
How do we alert agents that there are other calls in the queue?
Hey, I'm trying to figure out a way to alert agents that there are other calls in the queue (whether they're ready or not-ready). I've seen systems that have a separate button on the phone that flashes when there's a call sitting in the queue. The p
-
Lightroom catalog/preview multiple folder merging
I have had Lightroom since version 2, have upgraded all along and now have Version 4.2. I noticed as I ugradeed to Version 3, the catalog was still named Lightroom 2 catalog-2. Somehow, along the way, this is now Lightroom 2 Catalog -2-2. This is the
-
Captivate 6 project will not preview or publish in Captivate 7
I have a project created in Captivate 6 that will not preview or publish in Captivate 7. I can make edits to it and save in Captivate 7 though. Does anyone know what may be occurring here?
-
Need Help in Portal Application Project
I am developing a Portal Application Project where i need to use AJAX to show database values in the main JSP. Now while doing an AJAX call (the open method) i need to pass a server pages' URL. I have a second jsp file in my application(pagelet/secon