Oracle 11g Database Gateway for MSSQL
Hello All,
I can't seem to find any information whether or not i can have an Oracle Express Ed. with Oracle Gateway?
Thanks in advance.
jan
Hi jan;
Please see below link:
http://download.oracle.com/docs/cd/B28359_01/license.111/b28287/editions.htm
Regard
Helios
Similar Messages
-
I want to download Oracle 11g Database Gateways please can anyone help me in this regard from where i can download this software.
ThanksAll oracle downloads can be found in http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html &
https://edelivery.oracle.com/ -
Issue in installation oracle 11g database gateway
Installation error logs:
INFO: make: *** [/u01/oracle/product/oracle11.2/rdbms/lib/dg4msql] Error 1
INFO: End output from spawned process.
INFO: ----------------------------------
INFO: Exception thrown from action: make
Exception Name: MakefileException
Exception String: Error in invoking target 'idg4msql' of makefile '/u01/oracle/product/oracle11.2/rdbms/lib/ins_rdbms.mk'. ~
Exception Severity: 1
Installation Environment:
Oracle info: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
Linux info:
LSB Version: :core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 5.0 (Santiago)
Release: 5.0
Codename: Santiago
Oracle installed on 64-bit Linux, database gateway needs to be installed on Linux. Gateway select 'Oracle Database Gateway for Microsoft SQL Server'.
Above error prompted during installation, online did not find the exact solution, please help.
Similar problems:
http://www.itpub.net/forum.php?mod=viewthread&tid=1615113Hello, check if your gateway software that you is installing is 64bits, I think you have gateway software 32 bits.
If you are sure that you have Gateway software 64 bits, check if the next RPM were installed:
libstdc++-devel-3.4.3-22.1
glibc-devel-2.5-58
libaio-devel-0.3.106 -
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 -
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 -
Oracle Tuxedo 8.1 With Oracle 11g Database
Hi,
I have an old application that must be compiled with oracle 8.1 and Oracle9i Database.
We are migrating to Oracle 11g Database, and now we have some inssues to compile with Oracle 11g Database. For example some Libraries that the Tuxedo XA Resource Manager needs from the Oracle Database, that just u can found on older versions like Oracle9i (kpudfo.o file).
what can be the solution for that problem?
An Oracle 11g database config or a Tuxedo config ?Hi,
When you say "Tuxedo XA Resource Manager" I'm not sure what you are referring to. Do you mean the Tuxedo transaction management servers (TMS) servers that are built with the buildtms command? If so, if there are linking errors, it has to do with either your library paths or the RM definition for Oracle Database in the $TUXDIR/udataobj/RM file. Tuxedo itself only uses the XA switch from the resource manager such as Oracle database. Now the resource manager may require a bunch of libraries, which is why I suggested you check your library path. If the above doesn't help, can you post the error you are getting and what is generating/creating the error?
Regards,
Todd Little
Oracle Tuxedo Chief Architect -
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
? -
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 -
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
KrishnaHello 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 -
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 -
What are the privileges required for explain plan in Oracle 11g database
I am facing the problem in doing a explain plan for a view in Oracle 11g database. When I select from the view like this:
select * from zonewisearpu
It does a select on the view but when I give explain plan like
explain plan for
select * from zonewisearpu
I get the error like insufficient privileges.
Please let me know if things are getting missed out as I guess system level privileges are required to execute this.
I hope, my question is clear.
It’s a humble request to revert urgently if possible as I need to complete a task and do not know the way out.
Regards975148 wrote:
Thanks for your reply. I have found out that an explain plan is possible on the user's own objects and is not possible on the granted objects from a different schema. For eg, if I do a explain plan on a view querying on tables from a different view, it would not allow the explain plan to proceed. This could mean that explain plan needs different privileges than just a select.
Requesting for a revert to this.
Here is a simple test case that I have perfomed
SQL> create user test1 identified by test1;
User created.
SQL> create user test2 identified by test1;
User created.
SQL> grant connect, resource to test1,test2;
Grant succeeded.
SQL> create table test1.tab1 as select * from v$session;
Table created.
SQL> connect test2/test1
Conencted.
SQL> show user
USER is "TEST2"
SQL>
SQL> explain plan for
2 select sid,serial#,status,username from test1.tab1 where username<> '';
Explained.
SQL>
So, as can be seen I am able to do a explain plan from user test2 for tables belong to user test1.
As far as privileges are concerned, following is the list
SQL> select * from dba_role_privs where grantee in ('TEST1','TEST2') order by 1;
GRANTEE GRANTED_ROLE ADM DEF
TEST1 CONNECT NO YES
TEST1 RESOURCE NO YES
TEST2 CONNECT NO YES
TEST2 RESOURCE NO YES
SQL>
SQL> select grantee,owner,table_name,privilege from dba_tab_privs where grantee in ('TEST1','TEST2') order by 1;
GRANTEE OWNER TABLE_NAME PRIVILEGE
TEST2 TEST1 TAB1 SELECT
SQL>
SQL> select * from dba_sys_privs where grantee in ('TEST1','TEST2') order by 1;
GRANTEE PRIVILEGE ADM
TEST1 UNLIMITED TABLESPACE NO
TEST2 UNLIMITED TABLESPACE NO
SQL> -
Oracle 11G database for 64 bit windows installation error
Hi,
I downloaded the 11G 64bit for windows and unzipped the files into one folder and ran the setup.exe as an administrator. It opened up the java screen and I chose, create and configure a database. Next screen I chose, Desktop Class, when I click next it dies. It does not show me teh next screen. I went to the appdata folder and saw this error but not sure what to do EXCEPTION_ACCESS_VIOLATION (0xc0000005). Please help. Thanks for your time and help.Adipur wrote:
Hello, have you tried to create new administrator user, and install using that newly created user...?You found this to be a band-aid solution in your specific instance. (Strange case of installation on windows 7 - unable to complete installation But you have drawn the wrong conclusions and never found the real issue in the cited thread. Under the circumstances, I would not be offering this up as a generalized solution, as you are doing in this thread and in others:
Re: Oracle 11G database for 64 bit windows installation error
Re: Trouble installing Oracle Personal in Windows 7 64-bit environment
I have been doing Oracle DBA work since v 7.3, and have never seen advice like this to be anything more than a work-around the real issue.
Edited by: EdStevens on May 15, 2013 7:03 AM -
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 -
Factors for increase in memory occupied by Oracle 11g database
I wanted to know all the possible factors which can account for the increase in the memory required for an Oracle 11g database. Let’s take an example,
1) Say if the memory allocated for an Oracle 11g instance is 8GB which is 50% of the memory of 16GB allocated to the machine on which Oracle 11g is installed.
2) The max sessions are 300.
With this example in mind, I had the following queries:
1) Is the memory taken by 100 sessions or 300 sessions going to be within the limit of 8GB allocated to the Oracle?
2) Say if the max sessions is increased to 400, would the memory taken the 100 extra sessions would be within 8GB or would that be extra?
I hope my query is clear.
Please revert with the reply to my query.
RegardsMemory is allocated for the session only when that session is created by the listener, and the memory used by that session will fluctuate depending on the workload it's doing.
300 or 400 it won't pre-allocate all the memory for the fixed maximum number of sessions, it's dynamic. What oracle does is allocated all the memory you gave it in the PGA and the SGA and will do it's best to work with it for the current workload, it won't suddenly eat more memory without you telling it's okay to.
The only scenario I could see this happening is if you have a lot of sessions and a small PGA. In that case, oracle does go ahead and eat more memory than you gave it because it can't make due with the current PGA. So it eats more memory so sessions can be created and maintened. See PGA over- allocation.
To quote the good ol' docs:
Over allocating PGA memory can happen if the value ofPGA_AGGREGATE_TARGET is too small. When this happens, the Oracle Database cannot honor the value ofPGA_AGGREGATE_TARGET and extra PGA memory needs to be allocated. -
What should i do with an Oracle 11g Database, MySQL database and a dump file.
I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
So the quest is converting Oracle Database to MySQL database.
Of course i cant try to convert it in the main Database, so i create one Oracle 11g Database on my LocalHost, and it already actived in " Localhost:1158 " etc.
I have another Sever test that already set up MySQL database, and a dump file from the system.
So I want to ask these 2 questions :
1. How to create an new Oracle Database from that dump file ?
2. Is it alright if i use tool to convert Oracle Database into MySql, or i should do it manually ?
Thanks alot.I just joining to a new work field, almost about a database and i know "NOTHING" about this field.
My company has a system that running by Oracle Database, the problem is that Oracle Database will cost a lot of money when my company expands.
So the quest is converting Oracle Database to MySQL database.
I predict that converting to MySQL will cost your company more as it expands. As you expand managing contention becomes more important - Oracle does this for you. I do not think MySQL does, so you'll have to write more code to deal with this, costing the company money. A big part of making application scalable and reliable is to use stored procedures, how good are MySQL's compared to PL/SQL's. What other features are there that MySQL has that will benefit your company that Oracle doesn't. What do you need to think about as your company expands that need to be taken care of in the database. I would have thought a migration from MySQL to Oracle would be more common to deal with expansion.
As you know "NOTHING" you need to think about what each database can give you for the next 10 years to cope with you businesses potential requirements, and extimate how much it will cost to implement these requirements, then make the decision
Maybe you are looking for
-
My e-mails do not appear in Mail on my MacBook Pro
For the last week my incoming mails on my iCloud account does not appear in Mail on my MacBook Pro. E-mails appear as normal on my iCloud and iPhone. I have logged out of iCloud on my Mac and logged on again, still the same problem. Any advice anyon
-
When creating SO, I am getting following messages- " MRP area for material # xxxx not determined, continue with plant MRP area - ", . The system allows me to save the SO, but the message pops up 3 different times- including when it check for ATP. Th
-
I have an A1288 ipod touch I bought about 3 years ago. I am currently trying to download an app however the I'm getting an error message which is essentially saying that the "ios" I'm using isn't up to date and the itunes summary says otherwise? Othe
-
How to change Print Zoom in IE ?
Hello all, I got a special request when printing on Internet Explorer : I would like to definitely change the Zoom in adjustment in Print Preview of IE (I want to set it to 70% instead of 100%). I need to print pages with 70% adjustment, but every ti
-
Hi I am making a book using iBooks author. It will be image heavy. (40-50 images) I have a few question on images. 1. I do not want the file to be huge or take an age to download so an Apple rep informed me that the images should ideally be no more t