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.

Similar Messages

  • 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

  • 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

  • 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 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

  • 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 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

  • Error -36 alert displays when connecting to a Windows server

    Hi All
    I am getting error -36 when I tried to copy any file or folder from windows server
    "Error -36 alert displays when connecting to a Windows server"
    Even the file info is zero KB, while from other MAC machine it is right size.

    You shouldn't get the same error when you are doing it from Terminal. The error should be a little different. I just did a test. Is this a Microsoft 2003 server, 2000 or NT4 you are connecting to? Your post isn't specific. Make sure the System Preferences:Network:Advanced:WINS tab is filled in with the domain you are connecting to next to the "Workgroup" name. The WINS server should already be filled in. Open the connect window with command K. Type domainname\username for the login and then the password. If you don't want to enter the domain each time you will need to add the domain in the Applications:Utilities:Directory Uitility application.
    If you are trying to connect to a Windows XP client box, the machine will automatically try to authenticate with the guest account not the username and password you are using even when "registered user" is ticked. You have to edit the registry to change this default. If the username from the Windows PC is the same as the user logon then this is why the PC is able to connect and the mac is not.

  • Mac OS X 10.4: Error -36 alert displays when connecting to a Windows server

    Mac OS X 10.4: Error -36 alert displays when connecting to a Windows server
    http://docs.info.apple.com/article.html?artnum=301580
    A user meet the above problem connecting to Windows 2003 server but have no this error if connected to Windows 2000 Server.
    According to the above solution, will you configure Windows 2003 server or just configure user's Macintosh platform?

    EL2006 wrote:
    Actually, win2003 server's default security options are shown as follows.
    1. MS network client: Digitally sign communications (always) - Disabled
    2. MS network client: Digitally sign communications (if server agrees) - Enabled
    3. MS network server: Digitally sign communications (always) - Disabled
    4. MS network server: Digitally sign communications (if client agrees) - Disabled
    We could both be right on this one; it depends on your setup. By default, if you're running a domain then the Domain Controller is:
    *Microsoft network client: Digitally sign communications (always) Policy Setting: not defined*
    That defaults to the Group Policy setting, which is enabled.
    The local computer group policy for Windows Server 2003 is:
    *Microsoft network client: Digitally sign communications (always) Security Setting: disabled*
    I'm referencing this KB article on Microsoft's website: <http://support.microsoft.com/kb/887429>.
    This does not take into consideration that you may have upgraded from Windows 2000 Server to Windows Server 2003.
    Regardless, you seem to have already eliminated this as a possibility as you mention below.
    In my case, user can connect to win2003 server without problem in the same LAN 192.168.8.x. If connect it from remote lan 192.168.10.x (e.g. smb://192.168.8.250/artwork) error -36 will appear. Since remote lan is connected to local lan by secured VPN, all traffic or any ports are allowed to passe through VPN.
    Rather than a server or client problem I would speculate your VPN connection is the problem. Do you have port TCP 445 open or blocked at your VPN concentrator? I believe this needs to be open.
    Hope this helps!
    bill

  • 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-12514 Error coming whenever trying to connect to database in TOAD

    Hi,
    When i'm logging in database(10g) through TOAD, i'm getting the error as:
    "ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor"
    My listener.ora contains
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    My tnsnames.ora contain:
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    The listener status is as follows:
    Welcome to LSNRCTL, type "help" for information.
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
    ction
    Start Date 05-OCT-2008 06:40:42
    Uptime 0 days 0 hr. 16 min. 31 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File E:\oracle\product\10.2.0\db_1\network\admin\listener.o
    ra
    Listener Log File E:\oracle\product\10.2.0\db_1\network\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    The database is up and running and I've stopped-started the listener.
    Still the error occurs. Could anyone suggest what can be done.
    Regards,
    Souvik

    The error basically means that the connection service which you are requeting in your connection string is not yet to known to the listener of yours. See here the output of the listener's supported services from your post.
    Listening Endpoints Summary...
    +(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))+
    +(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))+
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    It clearly shows that the listener is only working to listen for the PLSExtproc service which is meant for external procedures.
    Is the database just started? If that's the case than it may take a while to get the PMON register the db with the listener. Or you can issue,
    alter system register from your db's sql prompt which can ask listener for immediately register the db with it. Try this command and post feedback. If that won't work than you may have to manualy register your db with the listener.
    HTH
    Aman....

  • Ora-00600 error on select distinct when using cursors

    Hi, we are using oracle9iFS version 9.0.1.1.0. When I execute the following query in sqlPlus an ora-00600 error occurs.
    Here is the query:
    SELECT     DISTINCT ODMV_FOLDER.NAME,
         CURSOR(SELECT ODMV_DOCUMENT.NAME
    FROM     ODMV_DOCUMENT
    WHERE     ODMV_DOCUMENT.ID = ODMV_FOLDERRELATIONSHIP.RIGHTOBJECT)as Document
    FROM     ODMV_FOLDER,
              ODMV_FOLDERRELATIONSHIP
    WHERE     ODMV_FOLDER.CREATOR = 96 /*this is the user 'system'*/
    AND (ODMV_FOLDER.ID = ODMV_FOLDERRELATIONSHIP.LEFTOBJECT)
    I have no clue why is this happening. I might be doing something wrong since a similar query with a nested cursor works with the scott/tiger schema. Your help is greatly appreciated. Thank you in advance.
    Alfonso.

    I was able to reproduce this error. This looks like a bug in the RDBMS; I would suggest posting on their newsgroup or working with support to handle this problem.

Maybe you are looking for

  • Export/import buffer swap high

    hi friends; I  am with ERP Ecc6 system.in oracle 10g & aix5.3 I am facing an issue with Export/import buffer shows a HitRatio 83% and swaps is 1,195,697. can anybody please suggest me how to solve the performance issue regards seethy

  • Unauthorized payment and automatic top-up

    I received notification this morning that my paypal account had been charged $10 for Skype credit, and that Skype had been authorized to automatically make further $10 payments when the skype credit amount went below $2. I did not authorize either of

  • Phonegap and Windows Azure

    Hello Community, I would like to add windows azure notification services to my phonegap project. Does anyone know of any phonegap plugin that can make this process easier? Like installing a phonegap plugin, configuring it with the Azure credentials a

  • Question about java bean

    Hi All, can anyone tell me those all clients share the same java bean??

  • Quality Management / Workforce Optimization - RECON Tool

    As noted in the document below on page 40 there is a RECON tool you can use to pull logs and gather other data from client machines. I called Calabrio and they offer 0 support on this tool. The error we are getting appears to be a C++ issue with a pa