ORA-28545: error diagnosed by Net8 when connecting to an agent error

Hi,
I've to setup the Oracle Gateway service in order to access the SQL Server 2005 db from Oracle11g 11.1.0.7.0 db which is running on a LINUX os.
Basically, i've to periodically PULL data from SQL Server to oracle.
Have done the necessary setup as specified in Oracle docs.
1. Oracle ini file: initdg4msql.ora
HS_FDS_CONNECT_INFO=999.168.0.1:1433//SqlServerDb
HS_FDS_TRACE_LEVEL=OFF
HS_FDS_RECOVERY_ACCOUNT=sqlserver_user_id
HS_FDS_RECOVERY_PWD=sqlserver_user_password
2. listener.ora entry
LISTENER_GATEWAY =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = oracle.portal.internal)(PORT = 1522))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = OBIM1)
(ORACLE_HOME = /app/oracle/product/11.1.0/db_1)
(SID_DESC =
(SID_NAME = dg4msql)
(ORACLE_HOME = /app/oracle/product/11.1.0/db_1)
(ENVS=LD_LIBRARY_PATH=/app/oracle/product/11.1.0/db_1/dg4msql/driver/lib;/app/oracle/product/11.1.0/db_1/lib)
(PROGRAM = dg4msql)
3. tnsnames.ora entry
dg4msql =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp)(HOST = oracle.portal.internal)(PORT = 1522))
(CONNECT_DATA =(SID = dg4msql))
(HS = OK)
4. Create database link on oracle
create public database link sqlserver connect to "sqlserver_user_id" identified by "sqlserver_user_password" using 'dg4msql';
Database link created.
Upon the completion of the configuration, I did the following and all are successful and working:
- starting the listener by
lsnrctl start LISTENER_GATEWAY
- tnsping my gateway
tnsping dg4msql
However, when I tried to retreive data and got the following error:
SQL> desc myTestingTable@sqlserver;
ERROR:
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 SQLSERVER
I have stepped through the doc of "How to Setup DG4MSQL (Oracle Database Gateway for MS SQL Server) Release 11" but unable to figure out where the error lies.
Any inputs on this?? please help, I am in urgent.

Hi Mike,
As suggested, I have tried both formats with the spaces at the front. When I tried to start the listener, still get the error as show below:
Starting /app/oracle/product/11.1.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.1.0.7.0 - Production
System parameter file is /app/oracle/product/11.1.0/db_1/network/admin/listener.ora
Log messages written to /app/oracle/diag/tnslsnr/p1db01/listener_gateway/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle.portal.internal)(PORT=1522)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1522)))
TNS-01155: Incorrectly specified SID_LIST_LISTENER_GATEWAY parameter in LISTENER.ORA
NL-00305: the specified path name does not exist
As answers to your points -
- you have the HOST defined as -
(HOST = oracle.portal.internal)
is this the actual host name or did you change it to hide it in the post ?
*** It is just a mark up host for security reason
- what happens if you use the IP address instead of the hostname ?
*** Have tried the IP address but same error
- is the gateway installed in the directory /app/oracle/product/11.1.0/db_1 ?
*** Yes
- can you set up listener level 16 tracing and check the trace file for further information about the errors ? Add this to the listener.ora file -
trace_level_listener=16
and start the listener.
*** Have added the trace level 16 and tried to start the listener but same error. Please refer the snapshot from the log.xml. Please note that the host_id "oracle" is just a make-up.
<txt>Listener completed notification to CRS on start
</txt>
</msg>
<msg time='2010-04-17T15:37:56.544+10:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oracle'
host_addr='99.999.99.99'>
<txt>
TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
</txt>
</msg>
<msg time='2010-04-17T15:37:56.545+10:00' org_id='oracle' comp_id='tnslsnr'
type='UNKNOWN' level='16' host_id='oracle'
host_addr='10.254.84.32'>
<txt>TNS-01155: Incorrectly specified SID_LIST_LISTENER_GATEWAY parameter in LISTENER.ORA
NL-00305: the specified path name does not exist
</txt>
</msg>
- I have repeated the same steps above by changing the SID_LIST_LISTENER_GATEWAY back to SID_LIST_LISTENER parameter in LISTENER.ORA
The listener can be started but back to square one with ORA-28545 error as show below:
SQL> desc myTestingTable@sqlserver;
ERROR:
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 SQLSERVER
Thanks

Similar Messages

  • ORA-28545: error diagnosed by Net8 when connecting to an agent Unable to retrieve text of NETWORK/NCR message 65535

    Hello All,
    I have verified entire otn community, but none of the solution working for me and hence posting this problem. I'm getting below error message when I try to connect from oracle 11g to sqlserver database. All details are given below and request some body to provide resolution.
    Oracle 11 g server installed in "Red Hat Enterprise Linux Server release 6.3"
    Sqlserver running in Windows server enterprise 64bit OS.
    $ cat initdg4msql.ora
    # This is a customized agent init file that contains the HS parameters
    # that are needed for the Database Gateway for Microsoft SQL Server
    # HS init parameters
    HS_FDS_CONNECT_INFO=[SJCGNMWQA2WEB01]:SQLEXPRESS//msdb
    # alternate connect format is hostname/serverinstance/databasename
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_RECOVERY_ACCOUNT=RECOVER
    HS_FDS_RECOVERY_PWD=RECOVER
    $ cat listener.ora
    # listener.ora Network Configuration File: /home/oracle/11g/product/11/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
         (SID_NAME = dg4msql)
         (ORACLE_HOME = /home/oracle/11g/product/11)
         (PROGRAM = dg4msql)
    $ cat tnsnames.ora
    # tnsnames.ora Network Configuration File: /home/oracle/11g/product/11/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    GNMDB =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = sjcgnm62v2db1.skta.com)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = GNMDB)
    dg4msql  =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = sjcgnm62v2db1.skta.com)(PORT = 1521))
        (CONNECT_DATA = (SID = msdb))
        (HS = OK)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = sjcgnm62v2db1.skta.com)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    ADR_BASE_LISTENER = /home/oracle/11g
    Output of lsnrctl start
    $ lsnrctl start
    LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 22-NOV-2013 15:17:08
    Copyright (c) 1991, 2011, Oracle.  All rights reserved.
    Starting /home/oracle/11g/product/11/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.3.0 - Production
    System parameter file is /home/oracle/11g/product/11/network/admin/listener.ora
    Log messages written to /home/oracle/11g/diag/tnslsnr/sjcgnm62v2db1/listener/alert/log.xml
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sjcgnm62v2db1.skta.com)(PORT=1521)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=sjcgnm62v2db1.skta.com)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for Linux: Version 11.2.0.3.0 - Production
    Start Date                22-NOV-2013 15:17:08
    Uptime                    0 days 0 hr. 0 min. 0 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /home/oracle/11g/product/11/network/admin/listener.ora
    Listener Log File         /home/oracle/11g/diag/tnslsnr/sjcgnm62v2db1/listener/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=sjcgnm62v2db1.skta.com)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    Services Summary...
    Service "dg4msql" has 1 instance(s).
      Instance "dg4msql", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    SQL> CREATE PUBLIC DATABASE LINK sqlserver CONNECT TO "sa" IDENTIFIED BY "gnm123" USING 'dg4msql';
    Database link created.
    SQL> select * from dual@sqlserver;
    select * from dual@sqlserver
    ERROR at line 1:
    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 SQLSERVER
    SQL> select * from "sys"."tables"@sqlserver;
    select * from "sys"."tables"@sqlserver
    ERROR at line 1:
    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 SQLSERVER
    Pl help.

    Hi Klaus,
    I just pick the gateway 11.2.0.3 patch to the installation. Here I got error and patch installation failed.
    [oracle@sjcgnm62v2db1 13092292]$ opatch apply
    Invoking OPatch 11.2.0.1.7
    Oracle Interim Patch Installer version 11.2.0.1.7
    Copyright (c) 2011, Oracle Corporation.  All rights reserved.
    Oracle Home       : /home/oracle/11g/product/11
    Central Inventory : /home/oracle/oraInventory
       from           : /etc/oraInst.loc
    OPatch version    : 11.2.0.1.7
    OUI version       : 11.2.0.3.0
    Log file location : /home/oracle/11g/product/11/cfgtoollogs/opatch/opatch2013-11-26_12-41-27PM.log
    Applying interim patch '13092292' to OH '/home/oracle/11g/product/11'
    Verifying environment and performing prerequisite checks...
    Prerequisite check "CheckApplicable" failed.
    The details are:
    Patch 13092292: Required component(s) missing : [ oracle.rdbms.tg4db2, 11.2.0.3.0 ]
    [ Error during Prerequisite for apply Phase]. Detail: ApplySession failed during prerequisite checks: Prerequisite check "CheckApplicable" failed.
    Log file location: /home/oracle/11g/product/11/cfgtoollogs/opatch/opatch2013-11-26_12-41-27PM.log
    Recommended actions: This patch requires some components to be installed in the home. Either the Oracle Home doesn't have the components or this patch is not suitable for this Oracle Home.
    OPatch failed with error code 39
    [oracle@sjcgnm62v2db1 13092292]$
    Pl help.

  • ORA-28545: error diagnosed by Net8 when connecting to an agent

    Dear all,
    This question has been asked many times in this forum, and I have gone to many threads in this forum, but unfortunately i failed.
    I want to connect to MySQL database from oracle. I have the following configurations.
    Oracle database enterprise edition 12c  (12.1.0.2.0) 64bit on Windows server 2012 64bit
    i have MySQL 5.6.11 on windows 7 64bit
    i have downloaded ODBC driver from oracle delivery site (MySQL Connector/ODBC 5.3.4 MSI for Windows x86 (64bit))
    i install the ODBC on my oracle server, a full installation which install the Unicode and Ansi versions both.
    i create ODBC connection for Unicode by going to Control Panel-->Administrator Tools-->ODBC Data Sources (64-bit)-->System DSN. i test it and the test was successful.
    i configure my Listner.ora, Tnsname.ora and initmysql.ora files as below;
    Listner.ora
    SID_LIST_LISTENER =
    (SID_LIST =
       (SID_DESC =
       (SID_NAME = CLRExtProc)
       (ORACLE_HOME = c:\app\Administrator\product\12.1.0\dbhome_1)
       (PROGRAM = extproc)
       (ENVS = "EXTPROC_DLLS=ONLY:c:\app\Administrator\product\12.1.0\dbhome_1\bin\oraclr12.dll")
      (SID_DESC=
       (SID_NAME = mysql)
       (ORACLE_HOME = C:\app\Administrator\product\12.1.0\dbhome_1)
       (PROGRAM = dg4odbc)
       (ENVS=LD_LIBRARY_PATH = C:\app\Administrator\product\12.1.0\dbhome_1\LIB)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = ORADEV.hct.org)(PORT = 1521))
    Tnsnames.ora
    PDBORCL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = ORADEV.hct.org)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = pdborcl.hct.org)
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = ORADEV.hct.org)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl.hct.org)
    mysql =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = N410FS02)(PORT = 1521))
        (CONNECT_DATA =
        (SID = mysql)
        (HS = OK)
    initmysql.ora ( C:\app\Administrator\product\12.1.0\dbhome_1\hs\admin\)
    HS_FDS_CONNECT_INFO = mysql
    HS_FDS_TRACE_LEVEL = OFF
    then i stop and start the listener, the listener status is below
    LSNRCTL for 64-bit Windows: Version 12.1.0.2.0 - Production on 23-APR-2015 09:16
    :52
    Copyright (c) 1991, 2014, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ORADEV.hct.org)(PORT=152
    1)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 12.1.0.2.0 - Produ
    ction
    Start Date                23-APR-2015 09:13:56
    Uptime                    0 days 0 hr. 2 min. 59 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   c:\app\Administrator\product\12.1.0\dbhome_1\network\a
    dmin\listener.ora
    Listener Log File         c:\app\Administrator\diag\tnslsnr\ORADEV\listener\aler
    t\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ORADEV.hct.org)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "mysql" has 1 instance(s).
      Instance "mysql", status UNKNOWN, has 1 handler(s) for this service...
    Service "orcl.hct.org" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.hct.org" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "pdborcl.hct.org" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    tnsping MySQL
    TNS Ping Utility for 64-bit Windows: Version 12.1.0.2.0 - Production on 23-APR-2
    015 09:17:54
    Copyright (c) 1997, 2014, Oracle.  All rights reserved.
    Used parameter files:
    c:\app\Administrator\product\12.1.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = N410FS02
    )(PORT = 1521)) (CONNECT_DATA = (SID = mysql)) (HS = OK))
    OK (40 msec)
    then i open sqlplus and connect to my pluggable database as sys user and create a public database link for the test schema which i already created in MySQL database.
    create public database link mysql connect to test identified by test using 'mysql';
    then i try the table1 which is in test schema in MySQL from sqlplus as below
    SQL> select * from table1@mysql;
    select * from table1@mysql
    ERROR at line 1:
    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 MYSQL
    i have tried both the Ansi and Unicode versions of ODBC but the same issue.
    where is the problem in my configuration?
    Thank you.

    ODBC
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC]
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI]
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\mysql]
    "Driver"="C:\\Program Files\\MySQL\\Connector ODBC 5.3\\myodbc5w.dll"
    "SERVER"="10.153.102.98"
    "UID"="test"
    "PWD"="test"
    "PORT"="3306"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources]
    "mysql"="MySQL ODBC 5.3 Unicode Driver"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI]
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\MySQL ODBC 5.3 ANSI Driver]
    "UsageCount"=dword:00000001
    "Driver"="C:\\Program Files\\MySQL\\Connector ODBC 5.3\\myodbc5a.dll"
    "Setup"="C:\\Program Files\\MySQL\\Connector ODBC 5.3\\myodbc5S.dll"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\MySQL ODBC 5.3 Unicode Driver]
    "UsageCount"=dword:00000001
    "Driver"="C:\\Program Files\\MySQL\\Connector ODBC 5.3\\myodbc5w.dll"
    "Setup"="C:\\Program Files\\MySQL\\Connector ODBC 5.3\\myodbc5S.dll"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Core]
    "UsageCount"=dword:00000001
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers]
    "SQL Server"="Installed"
    "Oracle in OraDB12Home1"="Installed"
    "MySQL ODBC 5.3 ANSI Driver"="Installed"
    "MySQL ODBC 5.3 Unicode Driver"="Installed"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Translators]
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Oracle in OraDB12Home1]
    "APILevel"="1"
    "CPTimeout"="60"
    "ConnectFunctions"="YYY"
    "Driver"="c:\\app\\Administrator\\product\\12.1.0\\dbhome_1\\BIN\\SQORA32.DLL"
    "DriverODBCVer"="03.51"
    "FileUsage"="0"
    "Setup"="c:\\app\\Administrator\\product\\12.1.0\\dbhome_1\\BIN\\SQORAS32.DLL"
    "SQLLevel"="1"
    [HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\SQL Server]
    "CPTimeout"="60"
    "SQLLevel"="1"
    "DriverODBCVer"="03.50"
    "APILevel"="2"
    "ConnectFunctions"="YYY"
    "Setup"=hex(2):25,00,57,00,49,00,4e,00,44,00,49,00,52,00,25,00,5c,00,73,00,79,\
      00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,71,00,6c,00,73,00,72,00,\
      76,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,00,00
    "UsageCount"=dword:00000001
    "Driver"=hex(2):25,00,57,00,49,00,4e,00,44,00,49,00,52,00,25,00,5c,00,73,00,79,\
      00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,53,00,51,00,4c,00,53,00,52,00,\
      56,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,00,00
    "FileUsage"="0"
    Thanks

  • Once again - ORA-28545: error diagnosed by Net8 when connecting to an agent

    I'm trying to connect to a SQL server 2012
    I've make the ODBC connections (called MOFIBO2, MOFIBO3, MOFIBO4) and i've a succesfull connection to then SQL server.
    The Oracle Database is:
    Oracle Database 11g Release 11.2.0.3.0 - 64bit Production
    I've made 3 versions of the initdg4odbc.ora and they all look the same:
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = MOFIBOx (MOFIBO2, MOFIBO3 and MOFIBO4)
    HS_FDS_TRACE_LEVEL = off
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    My lisener.ora look like this:
    # listener.ora Network Configuration File: C:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = resp-ora01)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
      (SID_DESC =
       (SID_NAME = PLSExtProc)
       (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
       (PROGRAM = extproc)
      (SID_DESC =
       (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
       (SID_NAME = RESPTEST)
    (SID_DESC =
       (SID_NAME=MOFIBO2)
       (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
       (PROGRAM = dg4odbc)
    (SID_DESC =
       (SID_NAME=MOFIBO3)
       (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
       (PROGRAM = dg4odbc)
    (SID_DESC =
       (SID_NAME=MOFIBO4)
       (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_1)
       (PROGRAM = dg4odbc)
    ADR_BASE_LISTENER = C:\app\Administrator\product\11.2.0\dbhome_1\log
    And my mofibo part of then tnsnames.ora look like this (I've made three variants because different "manuals" uses different methods ):
    MOFIBO2=
    (DESCRIPTION=
       (ADDRESS=(PROTOCOL=TCP)(HOST=resp-ora02)(PORT=1521))
       (CONNECT_DATA=
        (SID=MOFIBO2)
       (HS=OK)
    MOFIBO3=
    (DESCRIPTION=
       (ADDRESS=(PROTOCOL=TCP)(HOST=resp-ora02)(PORT=1521))
       (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SID_NAME = MOFIBO3)
       (HS=OK)
    MOFIBO4=
    (DESCRIPTION=
       (ADDRESS=(PROTOCOL=TCP)(HOST=resp-ora02)(PORT=1521))
       (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = MOFIBO4)
       (HS=OK)
    When tnsping to the three versions i get this:
    C:\Users\Administrator>tnsping mofibo2
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.3.0 - Production on 24-APR-2014 12:48:17
    Copyright (c) 1997, 2011, Oracle.  All rights reserved.
    Used parameter files:
    C:\app\Administrator\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=resp-ora02)(PORT=1521)) (CONNECT_DATA= (SID=MOFIBO2)) (
    HS=OK))
    OK (10 msec)
    C:\Users\Administrator>tnsping mofibo3
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.3.0 - Production on 24-APR-2014 12:48:23
    Copyright (c) 1997, 2011, Oracle.  All rights reserved.
    Used parameter files:
    C:\app\Administrator\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=resp-ora02)(PORT=1521)) (CONNECT_DATA = (SERVER = DEDIC
    ATED) (SID_NAME = MOFIBO3)) (HS=OK))
    OK (10 msec)
    C:\Users\Administrator>tnsping mofibo4
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.3.0 - Production on 24-APR-2014 12:48:27
    Copyright (c) 1997, 2011, Oracle.  All rights reserved.
    Used parameter files:
    C:\app\Administrator\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=resp-ora02)(PORT=1521)) (CONNECT_DATA = (SERVER = DEDIC
    ATED) (SERVICE_NAME = MOFIBO4)) (HS=OK))
    OK (0 msec)
    I created three database link with then following (username and password was in wright case):
    create database link MOFIBODB2 connect to "<username>" identified by "<password>" using 'MOFIBO2';
    create database link MOFIBODB3 connect to "<username>" identified by "<password>" using 'MOFIBO3';
    create database link MOFIBODB4 connect to "<username>" identified by "<password>" using 'MOFIBO4';
    when i was trying to select from a table (select * from customers@<DATABASELINKHERE>) i get the errors (substitute MOFIBO2 with MOFIBO3/4 and same error occours):
    SQL> select * from customers@MOFIBODB2;
    select * from customers@MOFIBODB2
    ERROR at line 1:
    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 MOFIBODB2
    What is my mistake?

    Hi,
      In the listener.ora you have the host as -
    (HOST = resp-ora01)
    but in the tnsnames.ora entries you have -
    (HOST=resp-ora02)
    The tnsnames.ora host must be the same as the listener host.
    Unless you have a listener running on resp-ora02 it isn't clear why the tnsping returns a result.
    Change the host in the tnsnames.ora and let us know what happens.
    Regards,
    Mike

  • Error : ORA-28545: error diagnosed by Net8 when connecting to an agent

    I try to connect my Oracle 11.2 database to SQL server 2012. I installed Oracle Gateway on a window 2012 R2 and followed Oracle Gateway configure instruction.
    Here is the initdg4msql.ora
    # HS init parameters
    HS_FDS_CONNECT_INFO=ctmcsql2012.dot.state.co.us:1433/CTMCSQLSVR12/external
    HS_FDS_TRACE_LEVEL=OFF
    HS_FDS_TRANSACTION_MODEL=READ_ONLY
    HS_DB_NAME=external
    HS_DB_DOMAIN=ITS.DOT.STATE.CO.US
    LISTENER.ORA
    SID_LIST_LISTENER =
    (SID_LIST =
       (SID_DESC =
    (SID_NAME=PLSExtProc)
    (ORACLE_HOME=D:\product\11.2.0\tg_1)
    (PROGRAM=extproc)
       (SID_DESC =
    (SID_NAME=dg4msql)
    (ORACLE_HOME=D:\product\11.2.0\tg_1)
    (PROGRAM=dg4msql)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = CTMCSQL2012.dot.state.co.us)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    ADR_BASE_LISTENER = D:\product\11.2.0\tg_1
    TNSNAMES.ORA
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    dg4msql.its.dot.state.co.us =
       (DESCRIPTION=
         (ADDRESS=(PROTOCOL=tcp)(HOST=ctmcsql2012.dot.state.co.us)(PORT=1521))
        (CONNECT_DATA=
          (SID=dg4msql))
        (HS=OK)
    lsnrctl status output:
    PS D:\product\11.2.0\tg_1\bin> lsnrctl status LISTENER
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 23-APR-2015 14:26:54
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=CTMCSQL2012.dot.state.co.us)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date                21-APR-2015 16:00:11
    Uptime                    1 days 22 hr. 26 min. 42 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   D:\product\11.2.0\tg_1\network\admin\listener.ora
    Listener Log File         d:\product\11.2.0\tg_1\diag\tnslsnr\CTMCSQL2012\listener\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=CTMCSQL2012.dot.state.co.us)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
      Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "dg4msql" has 1 instance(s).
      Instance "dg4msql", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    I copied TNS entry to the database TNSNAMES.ora and created a DB link and get error:
    CREATE DATABASE LINK "EXTERNAL.ITS.DOT.STATE.CO.US@CODOT"
    CONNECT TO "CoDOT"
    IDENTIFIED BY <PWD>
    USING 'dg4msql.its.dot.state.co.us';
    Link : "EXTERNAL.ITS.DOT.STATE.CO.US@CODOT"
    Error : 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 EXTERNAL@CODOT

    Check if this helps you - https://community.oracle.com/thread/466786
    Pradeep

  • ORA-28545: error diagnosed by Net8  for DG4ODBC for link with SQL Server

    Database: 11.2.0 Windows 32-bit (on WindowsXP SP3)
    ORACLE_HOME = D:\Oracle\Product\11.2.0\dbhome
    GATEWAY_HOME = D:\Oracle\Product\11.2.0\tg
    odbc : sqlserver (working... i can import table's data in MS Excel) its ok...
    D:\Oracle\Product\11.2.0\dbhome\hs\admin\initsqlserver.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for the Database Gateway for ODBC
    # HS init parameters
    HS_FDS_CONNECT_INFO = sqlserver
    HS_FDS_TRACE_LEVEL = 0
    # Environment variables required for the non-Oracle system
    #set <envvar>=<value>
    D:\Oracle\Product\11.2.0\dbhome\NETWORK\ADMIN\listener.ora
    # listener.ora Network Configuration File: D:\Oracle\Product\11.2.0\dbhome\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = orcl)
    (ORACLE_HOME = D:\Oracle\Product\11.2.0\dbhome)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:D:\Oracle\Product\11.2.0\dbhome\bin\oraclr11.dll")
    (SID_DESC=
    (SID_NAME=sqlserver)
    (ORACLE_HOME = D:\Oracle\Product\11.2.0\dbhome)
    (PROGRAM = dg4odbc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.0.32)(PORT = 1521))
    ADR_BASE_LISTENER = D:\Oracle\Product\11.2.0\dbhome
    Listener Status
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=172.20.0.32)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 30-SEP-2011 11:13:53
    Uptime 0 days 0 hr. 0 min. 24 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File D:\Oracle\Product\11.2.0\dbhome\network\admin\listener
    .ora
    Listener Log File d:\oracle\product\11.2.0\dbhome\diag\tnslsnr\stylo-dba
    \listener\alert\log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.20.0.32)(PORT=1521)))
    Services Summary...
    Service "orcl" has 1 instance(s).
    Instance "orcl", status UNKNOWN, has 1 handler(s) for this service...
    Service "sqlserver" has 1 instance(s).
    Instance "sqlserver", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    LSNRCTL>
    D:\Oracle\Product\11.2.0\dbhome\NETWORK\ADMIN\tnsnames.ora
    # tnsnames.ora Network Configuration File: D:\Oracle\Product\11.2.0\dbhome\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.20.0.32)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    sqlserver =
    (DESCRIPTION=
         (ADDRESS=(PROTOCOL=tcp)(HOST=172.20.0.32)(PORT=1521))
    (CONNECT_DATA =
    (SID=sqlserver))
    (HS = OK)
    TNS PING Restult
    C:\Documents and Settings\Administrator>tnsping sqlserver
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 30-SEP-2
    011 11:15:47
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    D:\Oracle\Product\11.2.0\dbhome\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=172.20.0.32)(PO
    RT=1521)) (CONNECT_DATA = (SID=sqlserver)) (HS = OK))
    OK (50 msec)
    C:\Documents and Settings\Administrator>
    Database Link
    create database link sqlserver connect to uoracle identified by uoracle using 'sqlserver';
    SQL>
    SQL> select from sysobjects@sqlserver*
    ERROR:
    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 DG4ODBC
    SQL>
    Waiting for help. What thing im missing.....

    Hi Naeem,
    You have said the install setup is -
    ORACLE_HOME = D:\Oracle\Product\11.2.0\dbhome
    GATEWAY_HOME = D:\Oracle\Product\11.2.0\tg
    but in the listener.ora you have set ORACLE_HOME for the gateway as -
    (ORACLE_HOME = D:\Oracle\Product\11.2.0\dbhome)
    To use DG4ODBC installed in the 'tg' ORACLE_HOME then you should configure a listener in the gateway OH -
    D:\Oracle\Product\11.2.0\tg\network\admin
    and start this listener. This listener will need to use a different port from the RDBMS listener in the other OH.
    Change the gateway tnsnames.ora entry used by the RDBMS to reflect this port change.
    One other point - SQL*Server is case sensitive so you may need to create the database link as -
    create database link sqlserver connect to "uoracle" identified by "uoracle" using 'sqlserver';
    if the user/password are defined in lower case in SQL*Server.
    Also, the same for object names depending on the SQL*Server configuration -
    select "column_name" from "owner"."table_name"@sqlserver ;
    Regards,
    Mike
    Edited by: mkirtley on Sep 30, 2011 8:12 AM

  • ORA-28545 ERROR

    Hi I'm getting the error ORA-28545 ERROR when trying to connect to sql server database.
    i followed the documentation and created the initsqlserver.ora and edited the listener.ora, stopped and started the listener every thing was fine but when i tested the connection i got the r error.
    under
    u01/app/oracle/product/11.2.0 i have 2 directories dbhome-2 and grid1, i'm not sure which one is oracle home, the reason is because listener.ora is under grid1 and not under dbhome_2 and i created a initsqlserver.ora under the directory grid1.
    Is it necessary that directory which has listener.ora and tnsnames.ora is the home?
    Please need help.
    Thanks

    Hi I'm getting the error ORA-28545 ERROR when trying to connect to sql server database.
    i followed the documentation and created the initsqlserver.ora and edited the listener.ora, stopped and started the listener every thing was fine but when i tested the connection i got the r error.
    under
    u01/app/oracle/product/11.2.0 i have 2 directories dbhome-2 and grid1, i'm not sure which one is oracle home, the reason is because listener.ora is under grid1 and not under dbhome_2 and i created a initsqlserver.ora under the directory grid1.
    Is it necessary that directory which has listener.ora and tnsnames.ora is the home?
    Please need help.
    Thanks

  • Got Error  ora-28545 when trying to  establish  connect sqlserver frm orcle

    1) Able to configure ODBC DRIVER CONFIGURATION
    2) EDITED LISTNER.ORA FILE
    SID_LIST_LISTENER01 =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME= MDB)
    (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_4)
    (PROGRAM = hsodbc)
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_4)
    (PROGRAM = hsodbc)
    LISTENER01 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = HYRDWS4179.ES.AD.ADP.com)(PORT = 1524))
    3)tnsnames.ora file
    xxxxxx =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1524))
    (CONNECT_DATA =
    (SID = MDB)
    (HS = OK)
    4) Status of tnsping is good
    4) unable to retrive the data
    ORA-28545: error diagnosed by Net8 when connecting to an agent
    Unable to retrive text of network/ncr message 65535
    ora-2063 preceding two lines from msd

    28545 is a configuration issue -
    Have a look into your listener.ora file . it lists an Oracle_home 11.2.0 but the executable you specified in the listener.ora file is hsodbc which was its name in 10g. In 11g the executable is now called dg4odbc.
    So please correct your listener.ora entry:
    (SID_DESC =
    (SID_NAME= MDB)
    (ORACLE_HOME = C:\app\Administrator\product\11.2.0\dbhome_4)
    (PROGRAM = dg4odbc) #### use dg4odbc instead of hsodbc
    Now STOP and START the listener using lsnrctl command (lsnrctl stop listener01 - lsnrctl start listener01)
    When it continues to fail, please provide me the output of the listener status listener01 command, the tnsping command output and which windows version (including the word size -32/64bit) and Oracle dg4odbc release you are trying to use.

  • Ora-28545 : Net8 problem :::Plz Help me :)

    Hi to all,
    I try to setup HSODBC (Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit on Linux) to MySQL on Linux.
    fo this I correctly setup :
    1- Setting up Grant Tables in MySQL
    2- Setting up ODBC Driver Manager for Linux
    3-Setting up MySQL ODBC Driver for Linux
    4- Configure Environment Variables for the oracle User ID
    5-Testing the MySQL ODBC Driver and it works
    then I configure these files below :
    1-Oracle TNS listener
    2- tnsnames.ora file
    3- init<SID>.ora of the HS subsystem (the HS Gateway)
    After doing these changes I restart the listener and tnsping command works fine and returns OK.
    After I create a public database link using the hs connection added in tnsnames.ora file and then when I execute a query on this DBlink i get this error :
    ora-28545 : error diagnosed by Net8 when connecting to an agent
    Unadble to retrive text of NETWORK/NCR message 65535
    ORA-02063 : proceding 2 lines from TESTDB
    any idea please?
    thans a lot

    Hello,
    thanks for your replay;
    * yum install unixODBC.x86_64
    * yum install MyODBC.x86_64
    * vim /etc/odbc.ini :
    ======================
    [offer_client]
    Trace = Off
    TraceFile= stderr
    Driver = /usr/lib64/libmyodbc.so
    DSN = offer_client
    SERVER = x04.d15.lan
    USER = root
    PASSWORD = AdkunsOot
    PORT = 3306
    #OPTIONS = 1
    #DATABASE= test
    #SOCKET = /tmp/mysql.sock
    [oracle@devxen03 bin]$ echo $ORACLE_HOME
    /u01/app/oracle/oracle/product/10.2.0/devxen03
    [oracle@devxen03 bin]$ ll $ORACLE_HOME/bin/hsodbc
    -rwxr-xr-x 1 oracle oinstall 0 Oct 22 2005 /u01/app/oracle/oracle/product/10.2.0/devxen03/bin/hsodbc
    [oracle@devxen03 bin]$ cat /u01/app/oracle/oracle/product/10.2.0/devxen03/network/admin/listener.ora
    # listener.ora Network Configuration File: /u01/app/oracle/oracle/product/10.2.0/devxen03/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/oracle/product/10.2.0/devxen03)
    (PROGRAM = extproc)
    (SID_DESC =
    (PROGRAM = hsodbc)
    (ORACLE_HOME = /u01/app/oracle/oracle/product/10.2.0/devxen03)
    (SID_NAME = offer_client)
    (ENVS = "LD_LIBRARY_PATH=/u01/app/oracle/oracle/product/10.2.0/devxen03/lib32:/usr/lib:/u01/app/oracle/oracle/product/10.2.0/devxen03/hs/lib32")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = devxen03.es.egwn.lan)(PORT = 1521))
    [oracle@devxen03 bin]$
    [oracle@devxen03 bin]$ cat /u01/app/oracle/oracle/product/10.2.0/devxen03/network/admin/tnsnames.ora
    HSODBC =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = devxen03.es.egwn.lan)
    (PORT = 1521)
    (CONNECT_DATA =
    (SID= offer_client)
    (HS=OK)
    [oracle@devxen03 bin]$
    [oracle@devxen03 bin]$ echo $LD_LIBRARY_PATH
    /u01/app/oracle/oracle/product/10.2.0/devxen03/lib32:/usr/lib:/u01/app/oracle/oracle/product/10.2.0/devxen03/hs/lib32
    [oracle@devxen03 bin]$
    [oracle@devxen03 bin]$ cat /u01/app/oracle/oracle/product/10.2.0/devxen03/hs/admin/initoffer_client.ora
    # This is a sample agent init file that contains the HS parameters that are
    # needed for an ODBC Agent.
    # HS init parameters
    HS_FDS_CONNECT_INFO = offer_client
    HS_FDS_TRACE_LEVEL = off
    HS_FDS_SHAREABLE_NAME = /usr/lib64/libmyodbc.so
    # ODBC specific environment variables
    set ODBCINI=/etc/odbc.ini
    [oracle@devxen03 bin]$
    CREATE PUBLIC DATABASE LINK testdb CONNECT TO "root" IDENTIFIED BY "AdkunsOot" USING 'HSODBC';
    SELECT * FROM "EMP"@"testdb.es.egwn.lan"
    here I get the error : ora-28545
    Edited by: OracleJavaLinux on Dec 2, 2009 3:45 PM
    Edited by: OracleJavaLinux on Dec 2, 2009 3:47 PM

  • ORA-28545 on mySQL - Oracle database link

    Hi All,
    I'm trying to make a connection to mySQL database from oracle.
    Oracle database runs on windows 2003 64 bit machine and version is 10.2.0.4.0.
    my init<dbname>, listner and tnsnames looks like this and I can create database links without any problem at all. Also oracle to oracle database links are working fine on that machine as well.
    HS_FDS_CONNECT_INFO=BOOKDB
    HS_FDS_TRACE_LEVEL=debug
    BOOKDB=
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522))
    (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_BOOKDB=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=BOOKDB)
    (ORACLE_HOME=C:\oracle\product\10.2.0\db_1)
    (PROGRAM=hsodbc)
    BOOKDB=
      (DESCRIPTION=
        (ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522))
        (CONNECT_DATA=(SID=BOOKDB))
        (HS=OK)
      )When I try start the listner and then do the tnsping everything seems fine.
    C:\Documents and Settings\adminkh>lsnrctl start bookdb
    LSNRCTL for 64-bit Windows: Version 10.2.0.4.0 - Production on 20-JUL-2010 12:01:40
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    Starting tnslsnr: please wait...
    TNSLSNR for 64-bit Windows: Version 10.2.0.4.0 - Production
    System parameter file is C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Log messages written to C:\oracle\product\10.2.0\db_1\network\log\bookdb.log
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522)))
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\PNPKEYipc)))
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522))
    STATUS of the LISTENER
    Alias                     bookdb
    Version                   TNSLSNR for 64-bit Windows: Version 10.2.0.4.0 - Production
    Start Date                20-JUL-2010 12:01:42
    Uptime                    0 days 0 hr. 0 min. 3 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Listener Log File         C:\oracle\product\10.2.0\db_1\network\log\bookdb.log
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\PNPKEYipc)))
    Services Summary...
    Service "bookdb" has 1 instance(s).
      Instance "bookdb", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    C:\Documents and Settings\adminkh>tnsping bookdb
    TNS Ping Utility for 64-bit Windows: Version 10.2.0.4.0 - Production on 20-JUL-2010 12:02:16
    Copyright (c) 1997,  2007, Oracle.  All rights reserved.
    Used parameter files:
    C:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION= (ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522)) (CONNECT_DATA=(SID=bookdb)) (HS=OK))
    OK (10 msec)And then I create the database link and it created without a problem.
    create database link booklink connect to bookuser identified by ITDepartment using 'BOOKDB';And then I try to run small query.
    SQL> select * from admins@booklink;
    select * from admins@booklink
    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 BOOKLINKSo can anyone help me with regards to this error.
    Edited by: garuka on Jul 20, 2010 4:08 AM
    Edited by: garuka on Jul 20, 2010 4:09 AM

    listner.ora from 11g
    BOOKDB=
         (ADDRESS_LIST=
         (ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522))
         (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY)))
    SID_LIST_BOOKDB=
         (SID_LIST=
         (SID_DESC=
         (SID_NAME=BOOKDB)
         (ORACLE_HOME=C:\Oracle11g\product\11.2.0\tg_1)
         (PROGRAM=hsodbc)
         )status:
    C:\Oracle11g\product\11.2.0\tg_1\bin>lsnrctl status bookdb
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 20-JUL-2010 15:35:34
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522))
    STATUS of the LISTENER
    Alias                     bookdb
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
    Start Date                20-JUL-2010 15:34:51
    Uptime                    0 days 0 hr. 0 min. 43 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\Oracle11g\product\11.2.0\tg_1\network\admin\listener.ora
    Listener Log File         c:\oracle11g\product\11.2.0\tg_1\log\diag\tnslsnr\khhq-xs-ifsb01\bookdb\alert\log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=10.16.72.176)(PORT=1522)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\PNPKEYipc)))
    Services Summary...
    Service "bookdb" has 1 instance(s).
      Instance "bookdb", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfullyEdited by: garuka on Jul 20, 2010 7:42 AM

  • Trying to connect to AS400 from Oracle =  ORA-28545

    Hello,
    I woul like to connect to an AS400 DB from an Oracle DB (OS: Windows Server 2003 SP2 - 32 bits, DB: Oracle DB 10g Release 10.2.0.1.0).
    To that, I have done the following steps:
    1) Create System DSN
    Name: AS400_DTA
    Driver: iSeries Access ODBC Driver
    2) Edit tnsnames.ora:
    SID_LIST_LISTENER =
    (SID_DESC =
    (SID_NAME = AS400_DTA)
    (ORACLE_HOME = D:\oracle\bise1\db)
    (PROGRAM = hsodbc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = HOST)(PORT = 1521))
    3) Edit listener.ora:
    (SID_DESC =
    (SID_NAME = AS400_DTA)
    (ORACLE_HOME = D:\oracle\bise1\db)
    (PROGRAM = hsodbc)
    4) create initAS400_DTA in D:\oracle\bise1\db\hs\admin:
    (SID_DESC =
    (SID_NAME = AS400_DTA)
    (ORACLE_HOME = D:\oracle\bise1\db)
    (PROGRAM = hsodbc)
    5) Restart the listener
    6) Create DB link:
    create public database link AS400_DTA connect to "user" identified by "pwd" using 'AS400_DTA';
    In this step I have the following error:
    Link  : "CRPDTA.REGRESS.RDBMS.DEV.US.ORACLE.COM"
    Error : ORA-28545: error diagnosticado por Net8 al conectar a un agente
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: 2 lines precediendo a DTA
    What I am doing wrong? How can I solve the issue?
    How can I test the ODBC drivers to ensure that connectivity is made to the AS400 database?
    If I execute > tnsping AS400_DTA, the result is:
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 15-JUN-2011 15:05:37
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Archivos de parámetros utilizados:
    D:\oracle\bise1\db\network\admin\sqlnet.ora
    Adaptador TNSNAMES utilizado para resolver el alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.18.125.103)(PORT = 1521))) (CONNECT_DATA = (SID = AS400_CRPDTA)) (HS = OK))
    TNS-12541: TNS:no hay ningún listener
    I appreciate any idea/suggestion.
    Thank you in advance!
    Regards,
    Mónica.

    Monica,
    The error reported from the tnsping is -
    Adaptador TNSNAMES utilizado para resolver el alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.18.125.103)(PORT = 1521))) (CONNECT_DATA = (SID = AS400_CRPDTA)) (HS = OK))
    TNS-12541: TNS:no hay ningún listener
    so looks like a problem with the listener and it is also reporting the SID as AS400_CRPDTA and not AS400_DTA as you have in the tnsnames.ora. Are you accessing the correct tnsnames.ora file ?
    Also, the listener.ora entry is -
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = HOST)(PORT = 1521))
    Are you using the actual host name in the HOST entry instead of (HOST = HOST) ?
    What is the output from issuing -
    lsncrtl
    then the 'status' and 'services' command ?
    And an obvious question - did you stop and start the listener after adding the new entry ?
    Also, this is completely incorrect -
    4) create initAS400_DTA in D:\oracle\bise1\db\hs\admin:
    (SID_DESC =
    (SID_NAME = AS400_DTA)
    (ORACLE_HOME = D:\oracle\bise1\db)
    (PROGRAM = hsodbc)
    The initAS400_DTA.ora file should only have these entries -
    HS_FDS_CONNECT_INFORMATION =AS400_DTA
    HS_FDS_TRACE_LEVEL=debug
    And finally, 10.2 HSODBC is now desupported and you should install and use the replacement product which is the 11g Database Gateway for ODBC (DG4ODBC).
    The following note has links to further information -
    Note.1083703.1 Master Note for Oracle Gateway Products
    If you want to continue to use HSODBC then refer to this note -
    Note 109730.1 How to setup generic connectivity (HSODBC) for Windows NT
    but we strongly recommend you install and use DG4ODBC so that you are on a fully supported version.
    Regards,
    Mike

  • ORA-28545 Between ORACLE 10G and SQL SERVER 2008

    Hi All,
    i'am doing heterogeneous connectivity as oracle 10G (Unbreakable linux4) to sql server (SQL SERVER 2008)
    The DSN and the connections works ok (FreeTDS and UniXODBC).
    I create the dblink
              create database link inforpyme connect to "sa" identified by " " using 'INFORPYME';
    and when I do select * from "sysobjects"@inforpyme I get the next error:
    ORA-28545: error diagnosticado por Net8 al conectar a un agente
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: 2 lines precediendo a INFORPYME
    This is my listener:
    IBK =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.1)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY=PNPKEY))
    SID_LIST_IBK =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = ibk)
    (ORACLE_HOME = /App/oracle/ora10g2)
    (SID_NAME = ibk)
    (SID_DESC=
    (SID_NAME=inforpyme)
    (ORACLE_HOME=/App/oracle/ora10g2)
    (PROGRAM=hsodbc)
    My tnsnames:
    INFORPYME =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME=inforpyme))(HS=OK)
    The TNSping gets
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.1)(PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME=inforpyme))(HS=OK))
    OK (0 msec)
    and the initINFORPYME.ora:
    HS_FDS_CONNECT_INFO = inforpyme
    HS_FDS_TRACE_LEVEL = debug
    HS_FDS_TRACE_FILE_NAME = /tmp/freetds.trc
    HS_FDS_SHAREABLE_NAME = /usr/local/lib/libtdsodbc.so
    # ODBC specific environment variables
    set ODBCINI=/usr/local/etc/odbc.ini
    Anybody may help me? Thanks

    Sorry i think has been a misunderstanding
    this is my /App/oracle/ora10g2/network/admin/listener.ora
    IBK =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.10.1)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY=PNPKEY))
    SID_LIST_IBK =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = ibk)
    (ORACLE_HOME = /App/oracle/ora10g2)
    (SID_NAME = ibk)
    (SID_DESC=
    (SID_NAME=inforpyme)
    (ORACLE_HOME=/App/oracle/ora10g2)
    (PROGRAM=hsodbc)
    I stop a start and this is the status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 25-SEP-2012 13:18:30
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 25-SEP-2012 13:16:40
    Uptime 0 days 0 hr. 1 min. 49 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /App/oracle/ora10g2/network/admin/listener.ora
    Listener Log File /App/oracle/ora10g2/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ovm1ora.drvsa.com)(PORT=1521)))
    Services Summary...
    Service "ibk" has 1 instance(s).
    Instance "ibk", status READY, has 1 handler(s) for this service...
    Service "ibkXDB" has 1 instance(s).
    Instance "ibk", status READY, has 1 handler(s) for this service...
    Service "ibk_XPT" has 1 instance(s).
    Instance "ibk", status READY, has 1 handler(s) for this service...
    The command completed successfully
    i don'nt know why doesn't appears the service inforpyme, this it normal?

  • ORA-12154 Error - NET8 Connection Tester Works Though

    I have copied over a tnsnames.ora file from another machine I know that works fine. It has one Oracle home.
    When I try to connect via SQLPlus or Oracle DBA studio, I get told that it cannot resolve the service name and the ORA-12154 error. However, when I go into Net8 Assistant and test the connection, it work without an issue no matter what login/password I use, from a developers to the system login and password.
    Any ideas?

    I have copied over a tnsnames.ora file from another machine I know that works fine. It has one Oracle home.
    When I try to connect via SQLPlus or Oracle DBA studio, I get told that it cannot resolve the service name and the ORA-12154 error. However, when I go into Net8 Assistant and test the connection, it work without an issue no matter what login/password I use, from a developers to the system login and password.
    Any ideas?

  • ORA-12699: error when connecting to server with FIPS enabled

    Hi all,
    I have a oracle client and server with FIPS enabled on them. When I use SQL Developer from the client, I can connect to the server and run queries on them.
    I have an ADO based application, which I am trying to run on the client to query the oracle server, but the open database call seems to fail on this with the ORA-12699 error ..
    Heres the connection string I am using ... "Provider=OraOLEDB.Oracle;Data Source=Test;User Id=scott;Password=tiger;"
    Are there any other options to be added to the connection string string ?? any ideas / comments would be of great help ...
    Note : I am using Oracle 11G ..
    --sachi                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Naveen,
    Forms 5.0 is not certified and not tested with Oracle DB 10g because it was desupported before 10g got released.
    The other problem is hard to give a generic answer for and I suggest to address this to metalink.oracle.com
    Frank

  • ORA-25228 error occurs when Foreign JMS Server connecting to the Oracle AQ

    Hi,
    I configure of a Foreign JMS Server that uses the Oracle JDBC Driver to connect to the AQ Topic. I use OSB messaging proxy service as a JMS client to connect the Foreign JMS Server. After the launch, I get the following error:
    ####<Jan 30, 2013 4:51:49 AM MSK> <Error> <EJB> <EPRUSARW0520> <osb_server1> <RequestEJB7826682746890400115XX35047bed.13c85602eea.X7f53> <<anonymous>> <> <0000Jm8w2Es6qI_5xRh8iW1H1sMk0001sD> <1359507109078> <BEA-010079> <An error occurred while attempting to receive a message from JMS for processing by a message-driven bean: oracle.jms.AQjmsException: JMS-120: Dequeue failed
    Nested exception: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at line 11
    ORA-25228: timeout or end-of-fetch during message dequeue from MDM.ALL_NSI
    The exception is : oracle.jms.AQjmsException: JMS-120: Dequeue failed
         at oracle.jms.AQjmsError.throwEx(AQjmsError.java:315)
         at oracle.jms.AQjmsConsumer.jdbcDequeue(AQjmsConsumer.java:1620)
         at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:1035)
         at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:960)
         at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:938)
         at oracle.jms.AQjmsConsumer.receive(AQjmsConsumer.java:790)
         at weblogic.deployment.jms.WrappedMessageConsumer.receive(WrappedMessageConsumer.java:201)
         at weblogic.ejb.container.internal.JMSMessagePoller$1.run(JMSMessagePoller.java:262)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.ejb.container.internal.JMSConnectionPoller.doPrivilegedJMSAction(JMSConnectionPoller.java:2752)
         at weblogic.ejb.container.internal.JMSMessagePoller.processOneMessage(JMSMessagePoller.java:257)
         at weblogic.ejb.container.internal.JMSMessagePoller.pollContinuously(JMSMessagePoller.java:351)
         at weblogic.ejb.container.internal.JMSMessagePoller.pollForParent(JMSMessagePoller.java:483)
         at weblogic.ejb.container.internal.JMSMessagePoller.run(JMSMessagePoller.java:499)
         at java.lang.Thread.run(Thread.java:722)
    Caused by: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at line 11
    ORA-25228: timeout or end-of-fetch during message dequeue from MDM.ALL_NSI
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:397)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389)
         at oracle.jdbc.driver.T4Caqdq.processError(T4Caqdq.java:497)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
         at oracle.jdbc.driver.T4Caqdq.doOAQDQ(T4Caqdq.java:183)
         at oracle.jdbc.driver.T4CConnection.doDequeue(T4CConnection.java:4704)
         at oracle.jdbc.driver.PhysicalConnection.dequeue(PhysicalConnection.java:17863)
         at oracle.jdbc.driver.PhysicalConnection.dequeue(PhysicalConnection.java:17949)
         at oracle.jdbc.OracleConnectionWrapper.dequeue(OracleConnectionWrapper.java:1624)
         at weblogic.jdbc.wrapper.XAConnection_oracle_jdbc_driver_LogicalConnection.dequeue(Unknown Source)
         at weblogic.jdbc.wrapper.JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection.dequeue(Unknown Source)
         at oracle.jms.AQjmsConsumer.jdbcConnectionDequeueCheck25242(AQjmsConsumer.java:1713)
         at oracle.jms.AQjmsConsumer.jdbcDequeue(AQjmsConsumer.java:1295)
         ... 13 moreHowever, when I put message to AQ topic, the OSB proxy receives and processes it. But SQLException occurs every five seconds and pollute logs.
    Request help to resolve this.
    Thanks in advance.
    Regards
    Alexander.

    Maybe this can help: http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::p11_question_id:4018285967344

Maybe you are looking for

  • Ajax4jsf filter is not getting stated...

    Hi, I am using jboss-portal-4.0.2 and JSF myfaces implementation. In one of my pages, I want to use ajax functionality for dropdown boxes. For that i m usinf ajax4jsf.jar. And i am trying to configure the Filter which is there in this jar. But i am u

  • Problem with opening page in new window in firefox 5

    When I open a page in a new window in firefox 5, it doesn't copy the URL into the address bar (it is blank), so I can't refresh the page. The address bar of the new window is blank, with default 'Go to a web site' text in it.

  • ITunes Issue

    I'm trying to download a couple of films on my laptop, ITunes but keep getting the following message - "There was a problem downloading. An unknown error occurred (-50)" any ideas?

  • Newbie general Question

    I have been attacking my training on DW8 for the past 2 months. Several books and 1-2 hours a day at the computer playing with it and I still feel a bit rudderless. There seems to be 5 different ways to do the same thing. I paid a guy (professor at a

  • Does Siri take up minutes on your data plan?

    Also does it you use wifi instead of Internet does it use data on your plan? I am dying to know! Please and thank you.