TNSPING - ORA-12532 Error

I've just installed Oracle 11g on red hat and it works as locally. I can connect sqlplus from local without any error. But i can not connect this pc from remote?
Remote machine can connect via telnet, ssh to local machine. There is no problem.
lsnrctl status gives successfull messages that are as follow:
[oracle@localhost admin]$ lsnrctl status
LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 30-APR-2009 16:56:37
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.1.0.6.0 - Production
Start Date 30-APR-2009 16:03:22
Uptime 0 days 0 hr. 53 min. 15 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.1.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
Services Summary...
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orcl_XPT" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
[oracle@localhost admin]$
As you seen there is no problem about listener. But when i run "tnsping 10.10.5.61" from remote machine i am getting "ORA-12532 Invalid Argument" error. What the cause of this error? Could you explain me? How can i fix tihs?
Thanks for responses.

I think that firewall block 1521 port. ( on remote computer i am trying : telnet localhost 1521, that didnt answer ). I could try to enable this port by typing ( in RedHat Linux 5.0 ):
semanage port -a -t oracle_port -p tcp 1521
but, i got an error like this :
libsepol.context_from_record: type oracle_port is not defined
libsepol.context_from_record: could not create context structure
libsepol.port_from_record: could not create port structure for range 1521:1521 (tcp)
libsepol.sepol_port_modify: could not load port range 1521 - 1521 (tcp)
libsemanage.dbase_policydb_modify: could not modify record value
libsemanage.semanage_base_merge_components: could not merge local modifications into policy
/usr/sbin/semanage: Could not add port tcp/1521
I guess the name "oracle_port" was wrong but i couldnt decide to what name was proper to that. Can you help me?
Thanks.
Edited by: A. Fuat Sungur on 04.May.2009 11:37

Similar Messages

  • TNS Ora-12532 error When connecting with Db11 running in the VM

    I created a virtual machine from the PVM Entrerprise Linux 5 64 bits and db11g.
    Inside the virtual Machine the sqlplus system/manager1@VDB11 is working well.
    The tnsping 172.20.0.33 is working well too.
    But from the other external machine using oracle 11g client these command are not working: Tns Ora-12532 error.
    What to do?
    Thanks

    my virtual machine: vm1 have an static ip address 172.20.0.33
    the oracle listener is was configured with the same ip
    in the virtual machine : vm1 the /etc/hosts file content is:
    127.0.0.1 localhost.localdomain
    172.20.0.33 virtualdb11
    in the tnsnames.ora file in the virtual machine i have a service:
    VDB11 ...( host=172.20.0.33) (port=1521)
    under console connection with my virtual machine vm1 the command : sqlplus system/manager1@VDB11 is working well
    but when i working in an other external machine , where the tnsnames.ora have an entry:
    VDB11 ...(host=172.20.0.33)......
    the ping command : ping 172.20.0.33 is working well
    but sqlplus system/manager1@VDB11 is not work and return the error:
    ora-12532 tns

  • ORA-12535 error but TNSPing Works and listener logs connection

    We recently migrated our firewall and then started seeing this problem for users outside of our own subnet. However, although the user gets this error when launching the application, the workstation is able to TNSPing the server successfully and listener.log does log the connection.
    I was hoping someone might have some ideas or suggestions as to what might be causing the error despite the apparent connectivity to the database.
    Thanks in advance.

    Thanks so much for the suggestions.
    1. telnet <host> 1521 connects
    2. sqlplus <username>/<pwd>@<instance> returns the ORA-12535 error
    Finally, the sqlnet.log on the client side doesn't log anything when launching the application so I have no information as to what exactly is occurring at that point. However, the sqlplus command above logged the following:
    VERSION INFORMATION:
    TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
    Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 9.2.0.1.0 - Production
    Time: 26-JAN-2007 08:43:41
    Tracing not turned on.
    Tns error struct:
    nr err code: 0
    ns main err code: 12535
    TNS-12535: TNS:operation timed out
    ns secondary err code: 12560
    nt main err code: 505
    TNS-00505: Operation timed out
    nt secondary err code: 60
    nt OS err code: 0
    I've been doing more research on this -- please note that I'm not an Oracle dba so I am just getting familiar with lots of things -- and have learned that user connect requests come in through 1521 but are then randomly redirected to other ports. Given the new firewall, I'm wondering if it's an issue that the random ports being selected aren't open for the users outside of our subnet. Does this sound like a plausible explanation? If so, how do administrators generally handle this -- by opening the necessary ports on the firewall? Is there some other standard approach?
    Again, thanks so much for any assistance you can provide.

  • Getting ORA-12518 error with DG4ODBC for link with SQL Server

    Hi all,
    We have recently upgraded a test box to 11g2 on a 64bit windows platform and now when setting up our database links with our sql servers we are recieving an 'ORA-12518' error.
    listener.ora
    LISTENERPCIS =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = WILTS-ORCL4)(PORT = 1522))
    SID_LIST_LISTENERPCIS =
    (SID_LIST =
    (SID_DESC =
    (PROGRAM = dg4odbc)
    (SID_NAME = PCIS)
    (ORACLE_HOME = c:\oracle\product\11.2.0\db_1)
    tnsnames.ora
    PCIS =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = WILTS-ORCL4)(PORT = 1522))
    (CONNECT_DATA =
    (SID = PCIS)
    (HS = OK)
    Any help appericated
    Cheers
    David

    C:\Users\administrator.ADMIN>tnsping pcis
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 24-JUN-2
    010 20:55:29
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    C:\ORACLE\PRODUCT\11.2.0\DBhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhos
    t)(PORT = 1522)) (CONNECT_DATA = (SID = PCIS)) (HS = OK))
    OK (0 msec)
    C:\Users\administrator.ADMIN>lsnrctl status LISTENERPCIS
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 24-JUN-2010 20:55
    :47
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1522)))
    STATUS of the LISTENER
    Alias listenerpcis
    Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date 24-JUN-2010 20:55:17
    Uptime 0 days 0 hr. 0 min. 30 sec
    Trace Level admin
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File C:\ORACLE\PRODUCT\11.2.0\DBhome_1\network\admin\listen
    er.ora
    Listener Log File c:\oracle\product\11.2.0\diag\tnslsnr\WILTS-ORCL4\listenerpcis\alert\log.xml
    Listener Trace File c:\oracle\product\11.2.0\diag\tnslsnr\WILTS-ORCL4\listenerpcis\trace\ora_12216_2424.trc
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1522)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\PNPKEYipc)))
    Services Summary...
    Service "PCIS" has 1 instance(s).
    Instance "PCIS", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    C:\Users\administrator.ADMIN>dg4odbc
    Oracle Corporation --- THURSDAY JUN 24 2010 20:55:54.257
    Heterogeneous Agent Release 11.2.0.1.0 - 64bit Production Built with
    Oracle Database Gateway for ODBC
    C:\Users\administrator.ADMIN>

  • ORA-12514 Error in remote office

    I installed and created a 10g (rel2) database while connected to my office's network. Because my company uses DHCP I had to create a loopback connector and give it a fixed IP address. Everything went as expected.
    Now I've travelled to a remote location and, even though the Oracle instance is on my laptop, I'm getting an ORA-12514 error (TNS:listener does not currently know of service requested in connect string). I'm using Windows XP Pro and this is what I get from doing a lsnrctl status:
    LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 14-JAN-2008 14:29:25
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Handler(s):
    "DEDICATED" established:0 refused:0
    LOCAL SERVER
    The command completed successfully
    This is my listener.ora file:
    # listener.ora Network Configuration File: C:\Ora10gHomes\product\10.2.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\Ora10gHomes\product\10.2.0\db_1)
    (PROGRAM = extproc)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = llsmith-069940.cgifederal.com)(PORT = 1521))
    As you can see, it isn't creating a service for anything other than the EXTPROC entry. I tried doing a TNSPING on the SID (LAKOTA) and got this:
    TNS Ping Utility for 32-bit Windows: Version 10.1.0.4.2 - Production on 14-JAN-2
    008 14:24:50
    Copyright (c) 1997, 2003, Oracle. All rights reserved.
    Used parameter files:
    C:\Ora10gHomes\DevSuiteHome\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = llsmith-069940.cgifederal.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = lakota.cgifederal.com)))
    OK (40 msec)
    So now I'm stumped. I've tried stopping and starting the listener, but nothing changed. Is it because I'm physically connected to a different network than when I installed the software and created the database? If that's the case, is there a work-around because I'm going to be travelling a LOT more than I'm going to be in the home office and I need access to my oracle instance no matter where I am or what backbone I'm connected to. Any and all assistance gratefully appreciated.
    Leigh Smith

    You are trying to connect to a service named: lakota.cgifederal.com but from the output of the listener status it can be seen that the instance has not yet been registered against the listener. Your listener is at 1521 port, this means that can be self registered against it. Just make sure your instance is started.
    There is a command to force instance registration, it is from the sql command prompt connected with either sys or system issue: alter system register Automatic instance registration should take less than a minute, if after the time has expired and issuing the command don't work, then if required, instead of relying on automatic instance registration, you can change it to be manually configured. You can do this from the network manager.
    ~ Madrid

  • 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 12154 error when trying to add a database to VS Server Explorer

    Hi Everyone,
    I get the Ora 12154 error when trying to add a database to VS Server Explorer.
    How do I get around this problem.
    The database service is running and I can connect to the database with pl/sql.
    I can also tnsping the database and that is also ok.
    Looks like a problem with the odp.net software.
    I am running the 32 bit Oracle 11g on a Windows7 Home Premium 64 bit PC.
    I am new to this stuff so please help me step by step.
    Thanks.
    Emad

    Hi J. B.
    I have a question related to this. After you told me about the //host:1521/database alias I tried it in a VB 2008 program and it worked and returned data. At least I know that it can be used in a VB program without issues. I just now need to be able to add a connection with the Server Explorer.
    Anyway here is the VB coding I used. I'm new to this and still learning:
    Imports Oracle.DataAccess.Client ' Visual Basic ODP.NET Oracle managed provider
    Public Class Form1
    ' String to connect to the database.
    Dim strConnectionString As String = _
    "Data Source=//emad-pc:1521/emadeva;User ID=scott;Password=tiger;" '
    ' Associate the connection string with a connection object.
    Dim objOracleConnection As New OracleConnection(strConnectionString)
    ' SQL query for returning data rows.
    Dim strSqlQuery As String = _
    "Select dname, deptno " & _
    "From dept " & _
    "Where deptno = 10" '
    ' Command object to make this query work.
    Dim objOracleCommand As New OracleCommand(strSqlQuery, objOracleConnection)
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    ' Identify what type of command is being used.
    objOracleCommand.CommandType = CommandType.Text
    Try
    objOracleConnection.Open()
    ' Set up a Data Reader and load it with data.
    Dim objOracleDataReader As OracleDataReader = _
    objOracleCommand.ExecuteReader()
    objOracleDataReader.Read()
    ' Convert the department number to a string.
    lblDepartmentNumberFromOracle.Text = _
    CStr(objOracleDataReader.Item("deptno"))
    Catch ex As Exception
    MessageBox.Show(ex.Message, "Error")
    End Try
    End Sub
    End Class
    I still want to thank you for the help you are providing.
    Truly,
    Emad

  • 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

  • Ora-12560 error with 8.1.7 under win2k

    I have installed 8.1.7. on windows 2ooo. The install went
    successfully and immediately after the install i could connect
    with scott/tiger.
    After a short period of time I can no longer connect and receive
    the ora-12560 error. The system has not been rebooted or even
    touched during this time period. I have removed the database
    with dbassist and recreated. Again it works for 5 mins and
    stops.
    When I look at tsnrctl status all looks great. Under services
    the tnslistener is working properly. I can do a tnsping as well.
    I just cannot connect to the database.
    Please help!
    Dan Hoover

    I have installed 8.1.7. on windows 2ooo. The install went
    successfully and immediately after the install i could connect
    with scott/tiger.
    After a short period of time I can no longer connect and receive
    the ora-12560 error. The system has not been rebooted or even
    touched during this time period. I have removed the database
    with dbassist and recreated. Again it works for 5 mins and
    stops.
    When I look at tsnrctl status all looks great. Under services
    the tnslistener is working properly. I can do a tnsping as well.
    >
    I just cannot connect to the database.
    Please help!
    Dan Hoover An ORA-12560 WinNT is usually an indication that
    the OS system/environment is not set up correctly.
    You don't need a listener when you connect locallay without alias
    name (sqlplus scott/tiger@alias).
    Please try the following:
    - start cmd box
    - set ORACLE_HOME = <your home>
    - set ORACLE_SID = <your SID>
    - sqlplus scott/tiger
    Thomas

  • ORA-00205: error in identifying control file, check alert log for more

    I am trying to upgrade database software from 11.2.0.1 to 11.2.0.2 and followed the steps given in the Doc ID 1276368.1 in linux 86 OS environment . I am in step 9 where i need to start up the database in startup upgrade mode. I get the the following error. Please help. This out of box upgrade is quite tricky and my database is stigged version. Not able to trouble shoot further, Please help me to go forward.
    sqlplus " / as sysdba "
    SQL> spool /tmp/upgrade.log
    SQL> startup upgrade
    ORACLE instance started.
    Total System Global Area 1607008256 bytes
    Fixed Size 1344476 bytes
    Variable Size 973081636 bytes
    Database Buffers 620756992 bytes
    Redo Buffers 11825152 bytes
    ORA-00205: error in identifying control file, check alert log for more info
    Do i shutdown and restart again? I need to run @catupgrd.sql; and other.sql to upgrade it and then apply CPU patch.
    Please help...regards

    Fatal NI connect error 12637, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for Linux: Version 11.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
         TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.1.0 - Production
    Time: 21-NOV-2011 04:49:04
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12637
    TNS-12637: Packet receive failed
    ns secondary err code: 12532
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    opiodr aborting process unknown ospid (3912) as a result of ORA-609
    Mon Nov 21 04:59:02 2011
    Shutting down instance (immediate)
    Stopping background process SMCO
    Shutting down instance: further logons disabled
    Mon Nov 21 04:59:04 2011
    Stopping background process CJQ0
    Stopping background process QMNC
    Stopping background process MMNL
    Stopping background process MMON
    License high water mark = 26
    All dispatchers and shared servers shutdown
    ALTER DATABASE CLOSE NORMAL
    Mon Nov 21 04:59:09 2011
    SMON: disabling tx recovery
    SMON: disabling cache recovery
    Mon Nov 21 04:59:09 2011
    Shutting down archive processes
    Archiving is disabled
    Mon Nov 21 04:59:09 2011
    ARCH shutting down
    Mon Nov 21 04:59:09 2011
    ARCH shutting down
    ARC3: Archival stopped
    ARC1: Archival stopped
    Mon Nov 21 04:59:09 2011
    ARCH shutting down
    ARC0: Archival stopped
    Mon Nov 21 04:59:09 2011
    ARCH shutting down
    ARC2: Archival stopped
    Thread 1 closed at log sequence 1458
    Successful close of redo thread 1
    Mon Nov 21 04:59:51 2011
    Completed: ALTER DATABASE CLOSE NORMAL
    ALTER DATABASE DISMOUNT
    Completed: ALTER DATABASE DISMOUNT
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Mon Nov 21 04:59:52 2011
    Stopping background process VKTM:
    Mon Nov 21 04:59:56 2011
    Instance shutdown complete
    Mon Nov 21 07:48:43 2011
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =27
    LICENSE_MAX_USERS = 0
    SYS auditing is enabled
    Starting up:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options.
    Using parameter settings in server-side spfile /u01/app/oracle/product/11.2.0/db_1/dbs/spfilertborcl.ora
    System parameters with non-default values:
    processes = 150
    resource_limit = TRUE
    memory_target = 1536M
    control_files = "/u01/app/oracle/oradata/rtborcl/control01.ctl"
    control_files = "/u02/app/oracle/oradata/control02.ctl"
    db_block_size = 8192
    compatible = "11.2.0.1.0"
    log_archive_format = "%t_%s_%r.dbf"
    db_recovery_file_dest = "/u01/app/oracle/flash_recovery_area"
    db_recovery_file_dest_size= 4977M
    undo_tablespace = "UNDOTBS1"
    recyclebin = "OFF"
    db_securefile = "PERMITTED"
    remote_login_passwordfile= "EXCLUSIVE"
    audit_sys_operations = TRUE
    db_domain = ""
    global_names = TRUE
    dispatchers = "(PROTOCOL=TCP) (SERVICE=rtborclXDB)"
    audit_file_dest = "/u01/app/oracle/admin/rtborcl/adump"
    audit_trail = "DB_EXTENDED"
    db_name = "rtborcl"
    open_cursors = 300
    os_authent_prefix = "SOP$"
    sql92_security = TRUE
    sec_protocol_error_further_action= "drop"
    sec_max_failed_login_attempts= 3
    diagnostic_dest = "/u01/app/oracle"
    Mon Nov 21 07:48:47 2011
    PMON started with pid=2, OS id=4275
    Mon Nov 21 07:48:47 2011
    VKTM started with pid=3, OS id=4280
    VKTM running at (100ms) precision
    Mon Nov 21 07:48:47 2011
    GEN0 started with pid=4, OS id=4287
    Mon Nov 21 07:48:47 2011
    DIAG started with pid=5, OS id=4292
    Mon Nov 21 07:48:47 2011
    DBRM started with pid=6, OS id=4297
    Mon Nov 21 07:48:47 2011
    PSP0 started with pid=7, OS id=4302
    Mon Nov 21 07:48:47 2011
    DIA0 started with pid=8, OS id=4307
    Mon Nov 21 07:48:47 2011
    MMAN started with pid=9, OS id=4312
    Mon Nov 21 07:48:47 2011
    DBW0 started with pid=10, OS id=4317
    Mon Nov 21 07:48:47 2011
    LGWR started with pid=11, OS id=4322
    Mon Nov 21 07:48:48 2011
    CKPT started with pid=12, OS id=4327
    Mon Nov 21 07:48:48 2011
    SMON started with pid=13, OS id=4332
    Mon Nov 21 07:48:48 2011
    RECO started with pid=14, OS id=4337
    Mon Nov 21 07:48:48 2011
    Mon Nov 21 04:59:51 2011
    Completed: ALTER DATABASE CLOSE NORMAL
    ALTER DATABASE DISMOUNT
    Completed: ALTER DATABASE DISMOUNT
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Mon Nov 21 04:59:52 2011
    Stopping background process VKTM:
    Mon Nov 21 04:59:56 2011
    Instance shutdown complete
    Mon Nov 21 07:48:43 2011
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =27
    LICENSE_MAX_USERS = 0
    SYS auditing is enabled
    Starting up:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options.
    Using parameter settings in server-side spfile /u01/app/oracle/product/11.2.0/db_1/dbs/spfilertborcl.ora
    System parameters with non-default values:
    processes = 150
    resource_limit = TRUE
    memory_target = 1536M
    control_files = "/u01/app/oracle/oradata/rtborcl/control01.ctl"
    control_files = "/u02/app/oracle/oradata/control02.ctl"
    db_block_size = 8192
    compatible = "11.2.0.1.0"
    log_archive_format = "%t_%s_%r.dbf"
    db_recovery_file_dest = "/u01/app/oracle/flash_recovery_area"
    db_recovery_file_dest_size= 4977M
    undo_tablespace = "UNDOTBS1"
    recyclebin = "OFF"
    db_securefile = "PERMITTED"
    remote_login_passwordfile= "EXCLUSIVE"
    audit_sys_operations = TRUE
    db_domain = ""
    global_names = TRUE
    dispatchers = "(PROTOCOL=TCP) (SERVICE=rtborclXDB)"
    audit_file_dest = "/u01/app/oracle/admin/rtborcl/adump"
    audit_trail = "DB_EXTENDED"
    db_name = "rtborcl"
    open_cursors = 300
    os_authent_prefix = "SOP$"
    sql92_security = TRUE
    sec_protocol_error_further_action= "drop"
    sec_max_failed_login_attempts= 3
    diagnostic_dest = "/u01/app/oracle"
    Mon Nov 21 07:48:47 2011
    PMON started with pid=2, OS id=4275
    Mon Nov 21 07:48:47 2011
    VKTM started with pid=3, OS id=4280
    VKTM running at (100ms) precision
    Mon Nov 21 07:48:47 2011
    GEN0 started with pid=4, OS id=4287
    Mon Nov 21 07:48:47 2011
    DIAG started with pid=5, OS id=4292
    Mon Nov 21 07:48:47 2011
    DBRM started with pid=6, OS id=4297
    Mon Nov 21 07:48:47 2011
    PSP0 started with pid=7, OS id=4302
    Mon Nov 21 07:48:47 2011
    DIA0 started with pid=8, OS id=4307
    Mon Nov 21 07:48:47 2011
    MMAN started with pid=9, OS id=4312
    Mon Nov 21 07:48:47 2011
    DBW0 started with pid=10, OS id=4317
    Mon Nov 21 07:48:47 2011
    LGWR started with pid=11, OS id=4322
    Mon Nov 21 07:48:48 2011
    CKPT started with pid=12, OS id=4327
    Mon Nov 21 07:48:48 2011
    SMON started with pid=13, OS id=4332
    Mon Nov 21 07:48:48 2011
    RECO started with pid=14, OS id=4337
    Mon Nov 21 07:48:48 2011
    MMON started with pid=15, OS id=4342
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Mon C:\Users\MVEMURI 07:48:48 2011
    MMNL started with pid=16, OS id=4347
    starting up 1 shared server(s) ...
    ORACLE_BASE from environment = /u01/app/oracle
    Mon Nov 21 07:48:49 2011
    ALTER DATABASE MOUNT
    Successful mount of redo thread 1, with mount id 2616737889
    Database mounted in Exclusive Mode
    Lost write protection disabled
    Completed: ALTER DATABASE MOUNT
    Mon Nov 21 07:48:54 2011
    ALTER DATABASE OPEN
    LGWR: STARTING ARCH PROCESSES
    Mon Nov 21 07:48:54 2011
    ARC0 started with pid=20, OS id=4398
    ARC0: Archival started
    LGWR: STARTING ARCH PROCESSES COMPLETE
    ARC0: STARTING ARCH PROCESSES
    Mon Nov 21 07:48:55 2011
    ARC1 started with pid=21, OS id=4403
    Mon Nov 21 07:48:55 2011
    ARC2 started with pid=22, OS id=4408
    ARC1: Archival started
    ARC2: Archival started
    ARC2: Becoming the 'no FAL' ARCH
    ARC2: Becoming the 'no SRL' ARCH
    Mon Nov 21 07:48:55 2011
    ARC3 started with pid=23, OS id=4413
    ARC1: Becoming the heartbeat ARCH
    Thread 1 opened at log sequence 1458
    Current log# 3 seq# 1458 mem# 0: /u01/app/oracle/oradata/rtborcl/redo03.log
    Current log# 3 seq# 1458 mem# 1: /u02/app/oracle/oradata/redo03b.log
    Successful open of redo thread 1
    MTTR advisory is disabled because FAST_START_MTTR_TARGET is not set
    SMON: enabling cache recovery
    ARC3: Archival started
    ARC0: STARTING ARCH PROCESSES COMPLETE
    Successfully onlined Undo Tablespace 2.
    Undo initialization finished serial:0 start:977954 end:979234 diff:1280
    Verifying file header compatibility for 11g tablespace encryption..
    Verifying 11g file header compatibility for tablespace encryption completed
    Mon Nov 21 07:48:58 2011
    SMON: enabling tx recovery
    Database Characterset is WE8MSWIN1252
    No Resource Manager plan active
    replication_dependency_tracking turned off (no async multimaster replication found)
    Starting background process QMNC
    Mon Nov 21 07:49:03 2011
    QMNC started with pid=24, OS id=4418
    Mon Nov 21 07:49:10 2011
    db_recovery_file_dest_size of 4977 MB is 13.68% used. This is a
    user-specified limit on the amount of space that will be used by this
    database for recovery-related files, and does not reflect the amount of
    space available in the underlying filesystem or ASM diskgroup.
    Mon Nov 21 07:49:12 2011
    Completed: ALTER DATABASE OPEN
    Mon Nov 21 07:49:12 2011
    Starting background process CJQ0
    Mon Nov 21 07:49:12 2011
    CJQ0 started with pid=25, OS id=4470
    Mon Nov 21 07:54:05 2011
    Starting background process SMCO
    Mon Nov 21 07:54:05 2011
    SMCO started with pid=26, OS id=4515
    Mon Nov 21 10:08:01 2011
    ALTER SYSTEM ARCHIVE LOG
    Mon Nov 21 10:08:01 2011
    Thread 1 advanced to log sequence 1459 (LGWR switch)
    Current log# 1 seq# 1459 mem# 0: /u01/app/oracle/oradata/rtborcl/redo01.log
    Current log# 1 seq# 1459 mem# 1: /u02/app/oracle/oradata/redo01b.log
    Mon Nov 21 10:08:04 2011
    Archived Log entry 1421 added for thread 1 sequence 1458 ID 0x990b1f4c dest 1:
    Mon Nov 21 10:12:53 2011
    ALTER SYSTEM ARCHIVE LOG
    Mon Nov 21 10:12:53 2011
    Thread 1 advanced to log sequence 1460 (LGWR switch)
    Current log# 2 seq# 1460 mem# 0: /u01/app/oracle/oradata/rtborcl/redo02.log
    Current log# 2 seq# 1460 mem# 1: /u02/app/oracle/oradata/redo02b.log
    Mon Nov 21 10:12:53 2011
    Archived Log entry 1422 added for thread 1 sequence 1459 ID 0x990b1f4c dest 1:
    Mon Nov 21 10:14:44 2011
    Shutting down instance (immediate)
    Stopping background process SMCO
    Shutting down instance: further logons disabled
    Mon Nov 21 10:14:45 2011
    Stopping background process CJQ0
    Stopping background process QMNC
    Stopping background process MMNL
    Stopping background process MMON
    License high water mark = 4
    All dispatchers and shared servers shutdown
    ALTER DATABASE CLOSE NORMAL
    Mon Nov 21 10:14:49 2011
    SMON: disabling tx recovery
    SMON: disabling cache recovery
    Mon Nov 21 10:14:54 2011
    Shutting down archive processes
    Archiving is disabled
    Mon Nov 21 10:14:54 2011
    ARCH shutting down
    ARC3: Archival stopped
    Mon Nov 21 10:14:54 2011
    ARCH shutting down
    ARC0: Archival stopped
    Mon Nov 21 10:14:54 2011
    ARCH shutting down
    ARC2: Archival stopped
    Mon Nov 21 10:14:54 2011
    ARCH shutting down
    ARC1: Archival stopped
    Thread 1 closed at log sequence 1460
    Successful close of redo thread 1
    Mon Nov 21 10:15:01 2011
    Completed: ALTER DATABASE CLOSE NORMAL
    ALTER DATABASE DISMOUNT
    Completed: ALTER DATABASE DISMOUNT
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    ARCH: Archival disabled due to shutdown: 1089
    Shutting down archive processes
    Archiving is disabled
    Archive process shutdown avoided: 0 active
    Mon Nov 21 10:15:02 2011
    Stopping background process VKTM:
    Mon Nov 21 10:15:08 2011
    Instance shutdown complete
    Mon Nov 21 11:52:11 2011
    Starting ORACLE instance (normal)
    LICENSE_MAX_SESSION = 0
    LICENSE_SESSIONS_WARNING = 0
    Shared memory segment for instance monitoring created
    Picked latch-free SCN scheme 2
    Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
    Autotune of undo retention is turned on.
    IMODE=BR
    ILAT =27
    LICENSE_MAX_USERS = 0
    SYS auditing is enabled
    Starting up:
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options.
    Using parameter settings in server-side pfile /u01/app/oracle/product/11.2.0/db_2/dbs/initrtborcl.ora
    System parameters with non-default values:
    processes = 150
    memory_target = 1536M
    control_files = "/u01/app/oracle/oradata/rtborcl/control01.ctl"
    control_files = "/u01/app/oracle/flash_recovery_area/rtborcl/control02.ctl"
    db_block_size = 8192
    compatible = "11.2.0.0.0"
    log_archive_format = "%t_%s_%r.dbf"
    db_recovery_file_dest = "/u01/app/oracle/flash_recovery_area"
    db_recovery_file_dest_size= 4977M
    undo_tablespace = "UNDOTBS1"
    remote_login_passwordfile= "EXCLUSIVE"
    audit_sys_operations = TRUE
    db_domain = ""
    global_names = TRUE
    dispatchers = "(PROTOCOL=TCP) (SERVICE=rtborclXDB)"
    audit_file_dest = "/u01/app/oracle/admin/rtborcl/adump"
    audit_trail = "DB_EXTENDED"
    db_name = "rtborcl"
    open_cursors = 300
    os_authent_prefix = "SOP$"
    sql92_security = TRUE
    sec_protocol_error_further_action= "drop"
    sec_max_failed_login_attempts= 3
    diagnostic_dest = "/u01/app/oracle"
    Create Relation DFW_CONFIG_CAPTURE
    Create Relation DFW_CONFIG_ITEM
    Mon Nov 21 11:52:17 2011
    PMON started with pid=2, OS id=7339
    Mon Nov 21 11:52:17 2011
    PSP0 started with pid=3, OS id=7344
    Mon Nov 21 11:52:18 2011
    VKTM started with pid=4, OS id=7349
    VKTM running at (100ms) precision
    Mon Nov 21 11:52:18 2011
    GEN0 started with pid=5, OS id=7356
    Mon Nov 21 11:52:19 2011
    DIAG started with pid=6, OS id=7361
    Mon Nov 21 11:52:19 2011
    DBRM started with pid=7, OS id=7366
    Mon Nov 21 11:52:19 2011
    DIA0 started with pid=8, OS id=7371
    Mon Nov 21 11:52:19 2011
    MMAN started with pid=9, OS id=7376
    Mon Nov 21 11:52:19 2011
    DBW0 started with pid=10, OS id=7381
    Mon Nov 21 11:52:19 2011
    LGWR started with pid=11, OS id=7386
    Mon Nov 21 11:52:19 2011
    CKPT started with pid=12, OS id=7391
    Mon Nov 21 11:52:19 2011
    SMON started with pid=13, OS id=7396
    Mon Nov 21 11:52:19 2011
    RECO started with pid=14, OS id=7401
    Mon Nov 21 11:52:19 2011
    MMON started with pid=15, OS id=7406
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Mon Nov 21 11:52:19 2011
    MMNL started with pid=16, OS id=7411
    starting up 1 shared server(s) ...
    ORACLE_BASE from environment = /u01/app/oracle
    Mon Nov 21 11:52:20 2011
    ALTER DATABASE MOUNT
    ORA-00210: cannot open the specified control file
    ORA-00202: control file: '/u01/app/oracle/flash_recovery_area/rtborcl/control02.ctl'
    ORA-27037: unable to obtain file status
    Linux Error: 2: No such file or directory
    Additional information: 3
    ORA-205 signalled during: ALTER DATABASE MOUNT...
    Mon Nov 21 11:52:21 2011
    Checker run found 1 new persistent data failures

  • 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

  • Suddenly getting ORA-12514 error Oracle 11gr2

    I installed Oracle 11g r2 fine, had 2 databases (se3 and mydb, both have db_domain .orcl i.e. mydb.orcl and se3.orcl) running on it fine till yesterday. but suddenly im getting ORA-12514 error (TNS:listener doesn't know of service requested in connect descriptor)..
    My tnsnames.ora file:
    # tnsnames.ora Network Configuration File: G:\oracledb\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER_MYDB =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    MYDB =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = mydb.orcl)
    SE3 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = se3.orcl)
    LISTENER_SE3 =
      (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    and my listener.ora file is as follows:
    # listener.ora Network Configuration File: G:\oracledb\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ADR_BASE_LISTENER = G:\oracledb
    * i have both of databases up and running(confirmed through administration assistant), the listener is up.. im able to execute "tnsping mydb/se3".. i'm not able to connect to either one of them through sqlplus/sql developer.. The result of "lsnrctl service" is as follows:
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
      TNS-00511: No listener
       32-bit Windows Error: 2: No such file or directory
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    The command completed successfully
    PLEASE HELP ME FRIENDS!! I HAVE A PROJECT DUE IN EARLY OCTOBER

    Hi,
    Instead of this:
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    have the following in your listener file
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:G:\oracledb\product\11.2.0\dbhome_1\bin\oraclr11.dll")
       (SID_DESC =
          (SID_NAME = mydb)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)
        (SID_DESC =
          (SID_NAME = se3)
          (ORACLE_HOME = G:\oracledb\product\11.2.0\dbhome_1)   
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    Also, dont have 'localhost' in your listener.ora file, provide the actual IP or hostanme. NEVER YOU should have
    localhost.
    Restart listener and try.
    Thanks &
    Best Regard,

  • Ora-12514 error - please help

    Hi,
    I get this error and i really don't know what to do..
    C:\Documents and Settings\Sorin>sqlplus /nolog
    SQL*Plus: Release 11.2.0.1.0 Production on Sat Jul 2 19:03:43 2011
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    SQL> conn system/password@scoala
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptorCan you advise me of what to do?
    Edited by: Roger22 on 02.07.2011 19:05

    Roger22 wrote:
    Yes, probably they have been asked (e.g. ora-12514 error) and i already have googled it. But maybe i have a problem that i did not found already on google or on this forum. And maybe here i can get helpThis particular error is not arcane or difficult to debug. Did you read the link I gave you? There's really only 3 steps
    on the client - tnsping - to see where the connection request is going and what service is being requested.
    on the server - lsnrctl - to see what services the listener supports.
    If the listener supports no services, the database needs to be register itself with the listener.

  • Cannot connect: ORA-12505 error (listener does not know SID..)

    I have an Oracle 10g installation insde a VM with private IP (192.168.109.128) and I'm trying to access it from the host operating system with aqua data studio, but get ORA-12505 error (listener does not currently know of SID...). The identical error occurs if I try to cennect from within the VM itself.
    "tnsping dbdemo" prints:
    ==================
    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 = VMDSINW2K3S)(PORT = 1521)) (CONNECT_DATA =
    (SERVER = DEDICATED) (SERVICE_NAME = dbdemo.datadsin)))
    OK (10 msec)
    and 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 - Production
    Start Date 12-MAR-2007 15:22:55
    Uptime 0 days 0 hr. 5 min. 14 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\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=VMDSINW2K3S)(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
    and the listener.log:
    ===============
    12-MAR-2007 15:29:21 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=dbdemo.datadsin)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1325)) * establish * dbdemo.datadsin * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    12-MAR-2007 15:29:21 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=dbdemo.datadsin)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1327)) * establish * dbdemo.datadsin * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    12-MAR-2007 15:29:21 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=dbdemo.datadsin)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1328)) * establish * dbdemo.datadsin * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    12-MAR-2007 15:29:45 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=dbdemo.datadsin)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1331)) * establish * dbdemo.datadsin * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    12-MAR-2007 15:29:51 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=dbdemo.datadsin)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1335)) * establish * dbdemo.datadsin * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    12-MAR-2007 15:29:51 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=dbdemo.datadsin)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1336)) * establish * dbdemo.datadsin * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    12-MAR-2007 15:29:51 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=dbdemo.datadsin)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1338)) * establish * dbdemo.datadsin * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    12-MAR-2007 15:29:51 * (CONNECT_DATA=(CID=(PROGRAM=)(HOST=__jdbc__)(USER=))(SERVICE_NAME=dbdemo.datadsin)) * (ADDRESS=(PROTOCOL=tcp)(HOST=10.10.10.10)(PORT=1339)) * establish * dbdemo.datadsin * 12514
    TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    my sqlnet.ora is:
    ============
    # sqlnet.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
    # Generated by Oracle configuration tools.
    # This file is actually generated by netca. But if customers choose to
    # install "Software Only", this file wont exist and without the native
    # authentication, they will not be able to connect to the database on NT.
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)

    12514, 00000, "TNS:listener does not currently know of service requested in connect descriptor"
    // *Cause:  The listener received a request to establish a connection to a
    // database or other service. The connect descriptor received by the listener
    // specified a service name for a service (usually a database service)
    // that either has not yet dynamically registered with the listener or has
    // not been statically configured for the listener.  This may be a temporary
    // condition such as after the listener has started, but before the database
    // instance has registered with the listener.
    // *Action:
    //  - Wait a moment and try to connect a second time.
    //  - Check which services are currently known by the listener by executing:
    //    lsnrctl services <listener name>
    //  - Check that the SERVICE_NAME parameter in the connect descriptor of the
    //    net service name used specifies a service known by the listener.
    //  - If an easy connect naming connect identifier was used, check that
    //    the service name specified is a service known by the listener.
    //  - Check for an event in the listener.log file.

  • 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

Maybe you are looking for

  • Default sign in for HP Officejet Pro X576dw MFP series

    There is a "sign in" at the bottom left of the printer's control panel screen.  When I press it, it asks for a password.  I just set up the printer and it did not prompt me to set a password.  I have tried entering nothing, and also have entered my h

  • How do use Time Machine to back up to my network drive?

    I have been dealing with this issue for days. When I had bought my MacBook Pro a couple of weeks ago I figured Id try and back it up to my 1.5tb Western Digital HD that's plugged into the USB port on my router. I Have connected to it through finder a

  • Sales order in EURO - invoice in PLN currency

    we have 2 customers for them we need to create price list for 150 materials in EURO these customers could put orders only via mail or phone when they would send mail with sales order to our Sales Department we need to put this order in Euro currency

  • Error in activating BI content objects first in P

    Hello, We make an error and activate the BI Content objects as Infoarea, SAP components and application components, InfoObjects first in productiv system without begining with the project in DEV or QA. Now we find the error, would it be a big problem

  • Displaying filter names in case of "No Results"

    Hi All, Is there a way to display the customized prompt names in the filter view rather than showing the original names, at the dashboard level itself, I am avoiding making changes in presentation layer of RPD. For example my presentation layer conta