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

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

  • 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

  • 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

  • -3095 error and then 5 when connected for first time.

    I Inboxes the AppleTV and I get the -3905 error and when I tried again I get error 5.
    cant seem to connect to my Wifi.
    Thanks in advance!

    Hi LeoCal,
    I apologize, I'm a bit unclear on the exact nature of the issue you are describing, and/or when exactly you are seeing these error messages. If your Apple TV doesn't appear to be working correctly on first setup, you may find the troubleshooting steps outlined in the following article helpful:
    Apple TV: Basic troubleshooting - Apple Support
    Regards,
    - Brenden

  • 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

  • Once again ora 12514

    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jan 22 22:28:13 2013
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining optionsI am referring [url https://forums.oracle.com/forums/thread.jspa?threadID=2318993&start=0&tstart=0]this link
    and the links within the above link,( Ed Stevens link )
    tnsping orcl works
    sqlplus "/as sysdba" works
    ora 12514 when i try to test the string with net manager
    sql developer on the other hand shows ora 12505...
    my tnsnames file
    ORCL_2 =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 15021))
        (CONNECT_DATA =
          (SERVICE_NAME = orcl)
    ORCL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 15021))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
      )my sqlnet file
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)my listener file
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = G:\oracle\product\10.2.0\db_1)
          (PROGRAM = extproc)
    LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.100)(PORT = 15021))
      )also c:\app\dfernandes\diag\tnslsnr\sedona\listener\alert\log.xml is not there in my system
    i have
    fastCopyLog.xml
    installIP1Log.xml
    they are all modified in the year 2012
    the issue has cropped up after i bought an internet connection.. all was well before this
    i have tried a few solutions in vain
    this is for my personal learning purposes
    any help wil be a lot helpful
    thanks
    Edited by: 946207 on Jan 22, 2013 10:51 PM

    thank you for your prompt reply
    here is what you asked for
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 22-JAN-2013 22:13:50
    Copyright (c) 1991, 2005, Oracle.  All rights reserved.
    Welcome to LSNRCTL, type "help" for information.
    LSNRCTL> start
    Starting tnslsnr: please wait...
    Service OracleOraDb10g_home1TNSListener already running.
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    LSNRCTL> stop
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.100)(PORT=15021)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 61: Unknown error
    LSNRCTL> start
    Starting tnslsnr: please wait...
    Service OracleOraDb10g_home1TNSListener already running.
    TNS-12560: TNS:protocol adapter error
    TNS-00530: Protocol adapter error
    LSNRCTL> exitand
    Welcome to LSNRCTL, type "help" for information.
    LSNRCTL> status
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.100)(PORT=15021)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 61: Unknown error
    LSNRCTL>and
    LSNRCTL> service
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.100)(PORT=15021)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 61: Unknown error
    LSNRCTL>
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> select open_mode from v$database;
    OPEN_MODE
    READ WRITE
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    C:\Documents and Settings\Administrator.W-8947E10749A84>tnsping orcl
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 22-JAN-2013 23:08:23
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    G:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 15021))) (CONNECT_DATA
    = orcl)))
    OK (30 msec)a cut out of listener.log file
    17-JAN-2013 04:31:46 * service_update * orcl * 0
    17-JAN-2013 04:55:07 * service_update * orcl * 0
    17-JAN-2013 04:58:05 * service_died * orcl * 12547
    TNS-12547: TNS:lost contact
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 17-JAN-2013 14:12:22
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is G:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Log messages written to G:\oracle\product\10.2.0\db_1\network\log\listener.log
    Trace information written to G:\oracle\product\10.2.0\db_1\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=1920
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=w-8947e10749a84)(PORT=15021)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    17-JAN-2013 14:13:53 * service_register * orcl * 0
    17-JAN-2013 14:18:01 * service_update * orcl * 0
    17-JAN-2013 14:18:09 * service_died * orcl * 12547
    TNS-12547: TNS:lost contact
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 21-JAN-2013 21:49:10
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is G:\oracle\product\10.2.0\db_1\network\admin\listener.ora
    Log messages written to G:\oracle\product\10.2.0\db_1\network\log\listener.log
    Trace information written to G:\oracle\product\10.2.0\db_1\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=272
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=15021)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    21-JAN-2013 21:49:22 * (CONNECT_DATA=(SID=orcl)(CID=(PROGRAM=SQL Developer)(HOST=__jdbc__)(USER=Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1737)) * establish * orcl * 12505
    TNS-12505: TNS:listener does not currently know of SID given in connect descriptor
    21-JAN-2013 21:57:22 * (CONNECT_DATA=(SERVICE_NAME=orcl)(SERVER=DEDICATED)(CID=(PROGRAM=G:\oracle\product\10.2.0\db_1\jdk\jre\bin\java.exe)(HOST=W-8947E10749A84)(USER=Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1876)) * establish * orcl * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 21-JAN-2013 22:13:24
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is G:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    Log messages written to G:\oracle\product\10.2.0\db_1\network\log\listener.log
    Trace information written to G:\oracle\product\10.2.0\db_1\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=3684
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=15021)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    21-JAN-2013 22:13:27 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
    21-JAN-2013 22:06:09 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
    21-JAN-2013 22:28:13 * (CONNECT_DATA=(SID=orcl)(CID=(PROGRAM=SQL Developer)(HOST=__jdbc__)(USER=Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=4671)) * establish * orcl * 12505
    TNS-12505: TNS:listener does not currently know of SID given in connect descriptor
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 22-JAN-2013 21:44:07
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is G:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    Log messages written to G:\oracle\product\10.2.0\db_1\network\log\listener.log
    Trace information written to G:\oracle\product\10.2.0\db_1\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=2260
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=15021)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    22-JAN-2013 21:44:10 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
    No longer listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=15021)))
    Listener completed notification to CRS on stop
    22-JAN-2013 21:44:22 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=stop)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * stop * 0
    TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production on 22-JAN-2013 21:44:33
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    System parameter file is G:\oracle\product\10.2.0\db_1\NETWORK\ADMIN\listener.ora
    Log messages written to G:\oracle\product\10.2.0\db_1\network\log\listener.log
    Trace information written to G:\oracle\product\10.2.0\db_1\network\trace\listener.trc
    Trace level is currently 0
    Started with pid=4068
    Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=15021)))
    Listener completed notification to CRS on start
    TIMESTAMP * CONNECT DATA [* PROTOCOL INFO] * EVENT [* SID] * RETURN CODE
    22-JAN-2013 21:44:36 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=)(USER=Administrator))(COMMAND=status)(ARGUMENTS=64)(SERVICE=LISTENER)(VERSION=169869568)) * status * 0
    22-JAN-2013 21:44:50 * (CONNECT_DATA=(SERVICE_NAME=orcl)(SERVER=DEDICATED)(CID=(PROGRAM=G:\oracle\product\10.2.0\db_1\jdk\jre\bin\java.exe)(HOST=W-8947E10749A84)(USER=Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1294)) * establish * orcl * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    22-JAN-2013 21:50:27 * (CONNECT_DATA=(SERVICE_NAME=orcl)(SERVER=DEDICATED)(CID=(PROGRAM=G:\oracle\product\10.2.0\db_1\jdk\jre\bin\java.exe)(HOST=W-8947E10749A84)(USER=Administrator))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=15
    Edited last by: 946207 on Jan 22, 2013 11:49 PM to delete the unneccesary portion

  • ORA-12705 Error Message while trying to connect to the DB

    A colleague of mine has been trying to connect to the DB through PL/SQL Developer. The error message returned is :
    ORA-12705: invalid or unknown NLS parameter value specified
    Checked the registry for NLS_LANG which is set to NA. I did that because the ORA message references the NLS_LANG parameter. However, I doubt that is the problem. Went about to create a new TNS Name entry through Oracle NET Manager and get the same Error Message while performing the TEST function.
    Any clues ? I am clueless at this point.

    This can occur with any NLS_ environment variable of registry value.
    Your assertion ' the ORA message references the NLS_LANG parameter' is incorrect.
    You can set NLS_TERRITORY, NLS_DATE_FORMAT etc, etc, etc.
    The order of precedence is environment variable, registry, Oracle provided default.
    To find out what is going on set every NLS related environment variable to the empty string.
    In sqlplus
    select * from v$nls_valid_values
    will show you what can be set,
    This error will also occur when you installed the software with English as the only language.
    SQL developer doesn't use tnsnames.ora
    The new tnsname entry has nothing to do with it.
    You have an incorrect environment variable or registry value somewhere
    (in HKLM\software\oracle)
    Sybrand Bakker
    Senior Oracle DBA

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

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

  • Error message (-3256) appears when connecting to remote speaker

    An error occured when connecting to remote speaker. An unknown error occured (-3256).
    ANy help would be most appreciated. Thank you.

    I get the same message and have been stuck with this for weeks since upgrade to iTunes 8, now running 8.02 and did a firmware upgrade on airport express to 6.3 but still no joy...anybody got any other ideas ? I'm about to give up and move to sonos

Maybe you are looking for

  • Processing of OO ALV reports in background

    Hello, I am using Object Oriented ALV grid dispaly in Report, I am trying to process the report in Background The job is cancelled issuing a message GUI screen not reached. Can we run the OOALV Grid display in Background, if not any other way to over

  • Radio button and select option in one line

    Hi, I have an requirement in which i need to display the radio button and select option in one line in an report program. How can i do it?  Regards, Arun.

  • Spot Removal VERY slow in LR CC

    Doing my tests and the spot removal is atrociously slow...what gives?

  • Switching a MobileMe & local Calender to iCloud

    Hello, I have recently upgraded my old MacBook from SnowLeopard to Lion (a little late, I know, but it won't go to Mountain Lion). Until now the calendar on the MacBok was a hybrid of local and MobileMe stuff. Now I want iCal to display the iCloud Ca

  • How do I buy Snow Leopard?

    I am trying to updare my software to the the mountatin lion butI still had version 10.5.8 on my macbook pro. I dont know how to update this thing!! nothing is working. please help me