ORA-12504:

Hi,
I have configured Standby for my 1206 instance, but I am getting the below error. I can tnsping both the SERVICE NAMES
my primary instance is MART
and my Standby service name is STBY
SQL> select error from v$archive_Dest;
ERROR
ORA-12504: TNS:listener was not given the SID in CONNECT_DATA
10 rows selected.
This is the entry for Standby in Primary tnsnames.ora
STBY = (DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=<myhost>)(PORT=1522))
(CONNECT_DATA=(SID=MART))
Please suggest

Both
Think of Data Guard as one database in two different roles, Primary and Standby. Tnsnames and Listener should match both sides.
( would consider using default ports too )
Tnsnames
STANDBY =
  (DESCRIPTION =
   (SDU=32767)
    (SEND_BUF_SIZE=2092500)
     (RECV_BUF_SIZE=2092500)
     (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = yourdomain.com)(PORT = 1521))
    (CONNECT_DATA =
      (SERVICE_NAME = STANDBY.yourdomain.com)
PRIMARY =
  (DESCRIPTION =
  (SDU=32767)
    (SEND_BUF_SIZE=2092500)
     (RECV_BUF_SIZE=2092500)
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = yourdomain.com)(PORT = 1521))
    (CONNECT_DATA =
      (SERVICE_NAME = PRIMARY.yourdomain.com)
  )Listener on Primary
# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = yourdomain.com)(PORT = 1521))
SID_LIST_LISTENER = (SID_LIST=(SID_DESC=(SID_NAME = PRIMARY)
                        (ORACLE_HOME=/u01/app/oracle/product/11.2.0)
                           (GLOBAL_DBNAME = PRIMARY_DGMGRL.yourdomain.com)))
ADR_BASE_LISTENER = /u01/app/oracle
INBOUND_CONNECT_TIMEOUT_LISTENER=120
Listener on Standby
# listener.ora Network Configuration File: /u01/app/oracle/product/11.2.0/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = yourdomain.com)(PORT = 1521))
SID_LIST_LISTENER = (SID_LIST =(SID_DESC =(SID_NAME = STANDBY)
                      (ORACLE_HOME = /u01/app/oracle/product/11.2.0)
                      (SDU=32767)
                      (GLOBAL_DBNAME = STANDBY_DGMGRL.yourdomain.com)))   
ADR_BASE_LISTENER = /u01/app/oracle
INBOUND_CONNECT_TIMEOUT_LISTENER=120Best Regards
mseberg

Similar Messages

  • ORA-12504 tns listener was not given the SERVICE_NAME in CONNECT-DATA

    Hi
    i installed a fresh oracle linux and installes 11.2.0 database server. the server works fine but i have a proplem to connect to the database from a windows 2008 r2
    client. For the client connection i installed the oracle instantclient on the windows system. Now i want to configure the system dsn to connect to the oracle
    server like this
    data source description: vSphere 64
    description: ----
    TNS Service Name: VCDB
    user id: system
    then i go to TEST connection
    Service Name: VCDB
    user name: system
    Password: mypassword
    so i copied the tnsnames.ora from the server to the client
    then i get
    ora-12504 tns listener was not given the SERVICE_NAME in CONNECT-DATA
    here´s my tnsnames.ora from the client
    VCDB =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 172.31.98.173)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = vcdb.vmware)
    i tested serveral config´s but nothing works. I can ping the server and also i cn telnet the server on port 1521. The listener on the server works fine
    lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 20-SEP-2010 20:48:52
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=vc-db1.mydomain)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 20-SEP-2010 20:47:45
    Uptime 0 days 0 hr. 1 min. 7 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/vc-db1/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=vc-db1mydomain)(PORT=1521)))
    Services Summary...
    Service "vcdb.vmware" has 1 instance(s).
    Instance "vcdb", status READY, has 1 handler(s) for this service...
    Service "vcdbXDB.vmware" has 1 instance(s).
    Instance "vcdb", status READY, has 1 handler(s) for this service...
    The command completed successfully
    but it´s not possible to create a connection to the server. My enviroment variables are this
    ORACLE_BASE=/u01/app/oracle
    ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
    ORACLE_HOSTNAME=vc-db1.mydomain
    ORACLE_SID=vcdb
    ORACLE_TERM=xterm
    so i think on the server site everything is correct. How could i establish a connection from the windows client
    to the linux database server. Or is ODBC the wrong method for this?
    Kind regards
    ACID25

    Hi,
    Check the listener log and see if the connection information is logged (in this case with error)
    If logged, then we are reaching the correct listener.
    Then check tnsping VCDB works fine along with sqlplus connection through listener using VCDB as connect string.
    If above both works, then issue can be isolated to ODBC configuration or setup issue.
    In case even if the tnsping / sqlplus is failing to connect with VCDB, then worth taking a client sqlent trace at level 16 and listener trace at level 16 to analyse the issue further.
    Thanks,
    Sathya

  • ORA-12504 error when connecting to Oracle 11G DB using OCI and instantclient-basic-nt-11.2.0.3.0.zip

    Dear Friends,
    I am using OCI and instant_client (11.2.0.3.0)  in my C++ program (on Windows 7) to connect remotely to 11G database.
    While doing a connection using server name as well as servername:port/service_name as connection strings, I am getting error of ORA-12504 TNS:listener was not given the SERVICE_NAME in CONNECT_DATA.
    According to instant client FAQ & white paper at http://www.oracle.com/technetwork/database/features/instant-client/index.html, no tnsnames.ora is required for instant client. Then why could I be getting this error?
    I ensured that only the instant client directory is in Path environment variable. There was a ODBC driver installed on this same host. Could that be modifying the behavior of instant client?
    Kindly guide.
    Many thanks in advance for your help and time.
    Best Regards,
    - ganesh

    >>what is the exact connect string you are using?
    For connection, I am using the plain hostname on which the DB server is running.
    >>are you calling OCIServerAttach before OCISessionBegin?
    I am not using OCISessionBegin. For connecting to DB server, I am using the following sequence of OCI calls (in this same order):
    1) g_OCIEnvNlsCreate
    2) g_OCIHandleAlloc //-- error handle: OCI_HTYPE_ERROR
    3) g_OCIHandleAlloc // --- sevice context: OCI_HTYPE_SVCCTX
    4) Setting driver name and application name for the session:
        OCISession* usersession = 0;
        ret = g_OCIAttrGet(m_pSvcCtx, OCI_HTYPE_SVCCTX, &usersession, NULL,
                                 OCI_ATTR_SESSION, m_pErrHdl);
        if (ret == OCI_SUCCESS)
            ret = g_OCIAttrSet(usersession, OCI_HTYPE_SESSION, (void*)"OCI_DRV", 2,OCI_ATTR_DRIVER_NAME, m_pErrHdl);
            ret = g_OCIAttrSet(usersession, OCI_HTYPE_SESSION, (void*)"ClientApplication", <ub4>(strlen("DataReconScanning")), OCI_ATTR_CLIENT_IDENTIFIER, m_pErrHdl);
    5) g_OCILogon() using the user, password and host name, as below:
    g_OCILogon(m_pDbCon, m_pErrHdl, &m_pSvcCtx,
                                   (text*)user.c_str(), static_cast<ub4>(user.length()),
                                   (text*)pass.c_str(), static_cast<ub4>(pass.length()),
                                   (text*)host.c_str(), static_cast<ub4>(host.length()));
    Thanks.

  • Hyperion FDM and ERPi 11.1.2.2: ORA-12504 on Import with ERPI-FIN-E

    Hi everyone,
    We are implementing Hyperion 11.1.2.2 FDM with HFM (Target Adapter = FM11X-G6-A) and ERPi (Source Adapter = ERPI-FIN-E) running on ODI 11.1.1.6. Backend databases are all Oracle DBs. We have been able to successfully configure ERPi and ODI & successfully run a Data Load Rule with all green checks in ODI Operator. We have also successfully tested the full FDM workflow with load to HFM using the traditional flat file method.
    We have also setup an FDM Location and Import Format (File Type = Adapter; Adapter = ERPI-FIN-E) for use with the ERPI Source Adapter. When kicking off an Import either manually via FDM Web or via Batch Loader, we are getting a grey fish, Information Bar with "Error: Import failed. Invalid Data or Empty content", and pop-up error dialog displaying "ORA-12504: TNS: Listener was not given the SERVICE_NAME in CONNECT_DATA.
    While previous versions of ERPi Source Adapter have the "ERPi Database Server/Service" option, ERPI-FIN-E does not have this option. Additionally, we have tested the TNSNames.ora files SID's with SQL Developer and SQL Plus and they all seem to be working.
    Has the "ERPi Database Server/Service" option moved somewhere behind the scenes? Another options or DBLink that needs to be setup somewhere else? Any thoughts or assistance would help.
    Thank you.
    Contents of ERPI-FIN-E.log is below:
    *** 1/22/2013 9:30:01 AM ***
    LoggedInUser = +redacted+
    Token = iZKY0Aj/AeTH9AV6F/k980xCFWDzrk5im3n2E0SnmNg6c/fNa/XjSfSU6+wemuIo3IQdzrUlhAj8
    M9J9SJpU5TvCibwJZaUJOh3nlA83UlfKOHpUC7oPGOqhedu+XIPbMC022Ftcb4LexFa/M1R6Rw1h
    4D7nbb0nLQv/viNdZyXzORrXzKD41ljWAnw/J/R84ZYt3yHyjxI2KBz6f7x9FKyfNnD5XJuR+50y
    klV8tjlLY6EvfKyiv/ecSanQuWeA1p2D8MBIFUftHtqgnbABXOEyRll4kT9yaPUaClpvLDaD7knt
    iBUSXU1fIOoKuHtrrD4XCvjMKcowWv/SnLIrbkn2HXotkKwqCulHx2is6yWnJfni96tZGvG8z4ds
    WRgm7tsJRV12Tp5zeNLSxZTZoK/5AMCdN5MC6u88G59prlI=
    ERPIdbConnString = Oracle://EPMD1.ges.+redacted+.com:1521/EPMD1
    m_ERPIdbUserID = ERPI
    ERPIdbPassword.Length = 6
    *** 1/22/2013 9:30:17 AM ***
    PeriodKey = 11/30/2012 12:00:00 AM
    PriorPeriodKey = 10/31/2012 12:00:00 AM
    Rule Name = DLR_1
    Execution Mode = FULLREFRESH
    executeRule...OK.
    *** 1/22/2013 9:30:17 AM ***
    System.Runtime.InteropServices.COMException (0x80040E14): ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
    at ADODB.ConnectionClass.Execute(String CommandText, Object& RecordsAffected, Int32 Options)
    at fdmErpiFin_E.clsDW.fTransferData(String strSQL, Int64& lngRecAffected)
    -----------------------------------------------------------------------------

    Below are the contents of the "E:\Oracle\product\11.2.0\client_32\network\admin" and "E:\Oracle\product\11.2.0\client_64\network\admin" folders on application server. EPMD1 = ERPi, HFMD1 = HFM, FDMD1 = FDM, EPMD5 = R12.
    Since we are able to connect via SQL Developer and SQL Plus to EPMD1, I believe these settings are OK, but open to additional checks if suggested.
    EPMD1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = EPMD1.ges.+redacted+.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = EPMD1.ges.+redacted+.com)
    HFMD1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = HFMD1.ges.+redacted+.com)(PORT = 1522))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HFMD1.ges.+redacted+.com)
    FDMD1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = FDMD1.ges.+redacted+.com)(PORT = 1523))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = FDMD1)
    EPMD5 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = tus1ebsdbsdin11.ges.+redacted+.com)(PORT = 15212))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = EPMD5.ges.+redacted+.com)
    )

  • ORA-12560 and ORA-12504

    I recently installed Oracle XE 11g
    Windows 7 PRO x64
    this are the installation data:
    Destination Folder: C:\oraclexe\
    Oracle Home: C:\oraclexe\app\oracle\product\11.2.0\server\
    Oracle Base:C:\oraclexe\
    Port for 'Oracle Database Listener': 1521
    Port for 'Oracle Services for Microsoft Transaction Server': 2030
    Port for 'Oracle HTTP Listener': 8080
    When I tried to connect
    SQL*Plus: Release 11.2.0.2.0 Production on Fri Sep 5 14:57:39 2014
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    SQL> connect
    Enter user-name: system
    Enter password:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    SQL> connect
    Enter user-name: system@jmontoyaz
    Enter password:
    ERROR:
    ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
    SQL>
    Any clue?

    C:\Users\jmontoyaz>sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.2.0 Production on Fri Sep 5 17:07:05 2014
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    Enter user-name:
    ERROR:
    ORA-12560: TNS:protocol adapter error
    SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
    C:\Users\jmontoyaz>sqlplus / as sysdba startup
    SQL*Plus: Release 11.2.0.2.0 Production
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Use SQL*Plus to execute SQL, PL/SQL and SQL*Plus statements.
    Usage 1: sqlplus -H | -V
        -H             Displays the SQL*Plus version and the
                       usage help.
        -V             Displays the SQL*Plus version.
    Usage 2: sqlplus [ [<option>] [{logon | /nolog}] [<start>] ]
      <option> is: [-C <version>] [-L] [-M "<options>"] [-R <level>] [-S]
        -C <version>   Sets the compatibility of affected commands to the
                       version specified by <version>.  The version has
                       the form "x.y[.z]".  For example, -C 10.2.0
        -L             Attempts to log on just once, instead of
                       reprompting on error.
        -M "<options>" Sets automatic HTML markup of output.  The options
                       have the form:
                       HTML [ON|OFF] [HEAD text] [BODY text] [TABLE text]
                       [ENTMAP {ON|OFF}] [SPOOL {ON|OFF}] [PRE[FORMAT] {ON|OFF}]
        -R <level>     Sets restricted mode to disable SQL*Plus commands
                       that interact with the file system.  The level can
                       be 1, 2 or 3.  The most restrictive is -R 3 which
                       disables all user commands interacting with the
                       file system.
        -S             Sets silent mode which suppresses the display of
                       the SQL*Plus banner, prompts, and echoing of
                       commands.
      <logon> is: {<username>[/<password>][@<connect_identifier>] | / }
                  [AS {SYSDBA | SYSOPER | SYSASM}] [EDITION=value]
        Specifies the database account username, password and connect
        identifier for the database connection.  Without a connect
        identifier, SQL*Plus connects to the default database.
        The AS SYSDBA, AS SYSOPER and AS SYSASM  options are database
        administration privileges.
        <connect_identifier> can be in the form of Net Service Name
        or Easy Connect.
          @[<net_service_name> | [//]Host[:Port]/<service_name>]
            <net_service_name> is a simple name for a service that resolves
            to a connect descriptor.
            Example: Connect to database using Net Service Name and the
                     database net service name is ORCL.
               sqlplus myusername/mypassword@ORCL
            Host specifies the host name or IP address of the database
            server computer.
            Port specifies the listening port on the database server.
            <service_name> specifies the service name of the database you
            want to access.
            Example: Connect to database using Easy Connect and the
                     Service name is ORCL.
               sqlplus myusername/mypassword@Host/ORCL
        The /NOLOG option starts SQL*Plus without connecting to a
        database.
        The EDITION specifies the value for Session Edition.
      <start> is: @<URL>|<filename>[.<ext>] [<parameter> ...]
        Runs the specified SQL*Plus script from a web server (URL) or the
        local file system (filename.ext) with specified parameters that
        will be assigned to substitution variables in the script.
    When SQL*Plus starts, and after CONNECT commands, the site profile
    (e.g. $ORACLE_HOME/sqlplus/admin/glogin.sql) and the user profile
    (e.g. login.sql in the working directory) are run.  The files may
    contain SQL*Plus commands.
    Refer to the SQL*Plus User's Guide and Reference for more information.
    C:\Users\jmontoyaz>

  • ORA-12504 in an Oracle 9.2.0.1 RAC  setup

    Hi I keep getting the following error when connecting to either nodes in a RAC setup:
    ORA-12504: TNS:listener was not given the SID in CONNECT_DATA
    I tried different permutations for the tnsnames.ora but keep getting this error. Does anybody know how to fix this problem?
    Here's my tnsnames.ora entries:
    LISTENERS_dotbk =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL= TCP)(Host= srvrwin.corp.wassup.com)(Port= 1521))
    (ADDRESS = (PROTOCOL= TCP)(Host= srvrtwo.corp.wassup.com)(Port= 1526))
    LISTENER1_dotbk1 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL= TCP)(Host= srvrwin.corp.wassup.com)(Port= 1521))
    LISTENER2_dotbk2 =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL= TCP)(Host= srvrtwo.corp.wassup.com)(Port= 1526))
    dotbk1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL= TCP)(Host= srvrwin.corp.wassup.com)(Port= 1521))
    (CONNECT_DATA = (SERVICE_NAME = dotbk1)(INSTANCE_NAME = dotbk1))
    dotbk2 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL= TCP)(Host= srvrtwo.corp.wassup.com)(Port= 1526))
    (CONNECT_DATA = (SERVICE_NAME = dotbk2)(INSTANCE_NAME = dotbk2))

    Hi Carsten
    Thanks for the response. My versions of OWB are the same it's just the database versions that are different.
    I ended up opening an SR but since the version is so old there wasn't much help except to try and apply the 10.1.0.5 OWB patch and cross my fingers.
    I think I'll just end up putting the new repository in a different Oracle 10g database.
    Thanks again for your help.
    -gary

  • Again: ORA-12504: TNS:listener was not given the SERVICE_NAME...

    Hi Guys,
    I got this already discussed error and I am sorry, to start a new topic, but I just have no idea what to do else.
    I have oracle11g - 32 bit running on my Windows 7 64 bit machine.
    The database-server is running fine according to the Database-Control Webinterface.
    Connecting with SQLPlus also works
    Now my application tries to connect to
    Server: localhost
    Database: orcl
    User: System
    PW: myPw
    I get: ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
    I was reading many threads here and so I tried to configure the standard-listener using the netmanager with an additional SID named "orcl" which results in this listener.ora:
    Line: -----
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = E:\app\Andinger\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:E:\app\Andinger\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    (SID_DESC =
    (GLOBAL_DBNAME = Oracle8)
    (SID_NAME = ORCL)
    LISTENER =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Andband)(PORT = 1521))
    ADR_BASE_LISTENER = E:\app\Andinger
    Line: -----
    This is my tnsnames.ora
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = Andband)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    Line: -----
    What else could I check? What else could be the reason, that it doesn't work.
    I appreciate any help, suggestins, hints... :)
    Thanks
    Andy
    Edited by: 943829 on 01.07.2012 04:56
    Edited by: 943829 on 01.07.2012 04:57

    Thanks for your fast reply!
    Attached all the stuff you asked for:
    First the result of tnsping:
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 01-JUL-2
    012 19:19:33
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Parameterdateien benutzt:
    E:\app\Andinger\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Adapter EZCONNECT zur Aufl÷sung des Alias benutzt
    Verbindungsversuch mit (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROT
    OCOL=TCP)(HOST=fe80::341a:eb0:3f57:ff6d%13)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(H
    OST=192.168.0.146)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=2001:0:5ef5:79fb:341a
    :eb0:3f57:ff6d)(PORT=1521)))
    OK (20 ms)
    This is the content of sqlnet.ora
    # sqlnet.ora Network Configuration File: E:\app\Andinger\product\11.2.0\dbhome_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)
    The status of the Listener:
    C:\Users\Andinger>lsnrctl status
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 01-JUL-2012 19:23
    :25
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Anmeldung bei (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=Andband)(PORT=1521)))
    STATUS des LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Startdatum 01-JUL-2012 13:07:18
    Uptime 0 Tage 6 Std. 16 Min. 7 Sek.
    Trace-Ebene off
    Sicherheit ON: Local OS Authentication
    SNMP OFF
    Parameterdatei des Listener E:\app\Andinger\product\11.2.0\dbhome_1\network\admi
    n\listener.ora
    Log-Datei des Listener e:\app\andinger\diag\tnslsnr\Andband\listener\alert\lo
    g.xml
    Zusammenfassung Listening-Endpunkte...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Andband)(PORT=1521)))
    Services ▄bersicht...
    Dienst "CLRExtProc" hat 1 Instanzen.
    Instanz "CLRExtProc", Status UNKNOWN, hat 1 Handler f³r diesen Dienst...
    Dienst "Oracle8" hat 1 Instanzen.
    Instanz "ORCL", Status UNKNOWN, hat 1 Handler f³r diesen Dienst...
    Dienst "orcl" hat 1 Instanzen.
    Instanz "orcl", Status READY, hat 1 Handler f³r diesen Dienst...
    Dienst "orclXDB" hat 1 Instanzen.
    Instanz "orcl", Status READY, hat 1 Handler f³r diesen Dienst...
    Der Befehl wurde erfolgreich ausgef³hrt.
    And the Listener Service information:
    C:\Users\Andinger>lsnrctl service
    LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 01-JUL-2012 19:24
    :37
    Copyright (c) 1991, 2010, Oracle. All rights reserved.
    Anmeldung bei (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=Andband)(PORT=1521)))
    Services ▄bersicht...
    Dienst "CLRExtProc" hat 1 Instanzen.
    Instanz "CLRExtProc", Status UNKNOWN, hat 1 Handler f³r diesen Dienst...
    Handler:
    "DEDICATED" eingerichtet:0 abgewiesen:0
    LOCAL SERVER
    Dienst "Oracle8" hat 1 Instanzen.
    Instanz "ORCL", Status UNKNOWN, hat 1 Handler f³r diesen Dienst...
    Handler:
    "DEDICATED" eingerichtet:12 abgewiesen:0
    LOCAL SERVER
    Dienst "orcl" hat 1 Instanzen.
    Instanz "orcl", Status READY, hat 1 Handler f³r diesen Dienst...
    Handler:
    "DEDICATED" festgelegt:371 abgelehnt:0 Status:ready
    LOCAL SERVER
    Dienst "orclXDB" hat 1 Instanzen.
    Instanz "orcl", Status READY, hat 1 Handler f³r diesen Dienst...
    Handler:
    "D000" eingerichtet:0 abgewiesen:0 aktuell:0 max:1022 Status:ready
    DISPATCHER <machine: ANDBAND, pid: 3980>
    (ADDRESS=(PROTOCOL=tcp)(HOST=Andband)(PORT=49189))
    Der Befehl wurde erfolgreich ausgef³hrt.
    I hope that you understand it. I installed a german version. If it is a problem, I can install the english version.

  • Visio 2010 reverse engineering ora-12504 error

    I am trying to create Database Model Diagram via MS Visio 2010 from my existing Oracle Database. But everytime i am having ORA-12504:TNS:listener was not given the SERVICE_NAME in CONNECT_DATA. If i use Oracle Data Modeler i dont have any error. What is the reason of this error for Visio? Here you can show the error:
    http://imageshack.us/photo/my-images/143/errorop.jpg/

    Hi,
    You need to complete your install by editing th tnsnames.ora file which can be found under %ORACLE_HOME%\netwrok\admin folder.
    A simple tnsnames.ora entry would look like:
    ORCL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = <machine_name or ip_address where the database & listener is running>)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = ORCL)
      )Or simpler, go to the start menu, and start the Oracle Net Manager to configure your tnsnames.
    HTH,
    Thierry

  • Error: ORA-16778: redo transport error for one or more databases.   please help.

    Hello everyone :
    I can't switchover to primary. following is error and information.
    RHEL 6.3 x86-64
    Oracle database 11.2.0.3.0 Enterprise edition
    Primary database = orclprmy
    Standby database = orclstby1
    ##### /etc/hosts on orclstby1
    [root@orclstby1 admin]# cat /etc/hosts
    127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
    192.168.50.211    ttprmy
    192.168.50.212    orclstby1
    ### DG broker error
    DGMGRL for Linux: Version 11.2.0.3.0 - 64bit Production
    Copyright (c) 2000, 2009, Oracle. All rights reserved.
    Welcome to DGMGRL, type "help" for information.
    Connected.
    DGMGRL> show configuration;
    Configuration - TTDGConfig1
      Protection Mode: MaxPerformance
      Databases:
        orclstby1 - Primary database
          Error: ORA-16778: redo transport error for one or more databases
        orclprmy  - Physical standby database
    Fast-Start Failover: DISABLED
    Configuration Status:
    ERROR
    DGMGRL>
    ########### listener.ora on orclstby1
    [root@orclstby1 admin]# cat listener.ora
    # listener.ora Network Configuration File: /u2/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = orclstby1)(PORT = 1521))
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME=orcl)
          (SID_NAME = orclstby1)
          (ORACLE_HOME = /u2/oracle/product/11.2.0/dbhome_1)
        (SID_DESC =
          (GLOBAL_DBNAME=orclstby1)
          (SID_NAME = orclstby1)
          (ORACLE_HOME = /u2/oracle/product/11.2.0/dbhome_1)
        (SID_DESC =
          (GLOBAL_DBNAME=orclstby1_DGMGRL)
          (SID_NAME = orclstby1)
          (ORACLE_HOME = /u2/oracle/product/11.2.0/dbhome_1)
    ADR_BASE_LISTENER = /u2/oracle
    ############## tnsnames.ora on orclstby1
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.212)(PORT = 1521))
        (CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orcl))
    orclprmy =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.211)(PORT = 1521))
        (CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orclprmy))
    orclprmy_DGMGRL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.211)(PORT = 1521))
        (CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orclprmy_DGMGRL))
    orclstby1 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.212)(PORT = 1521))
        (CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orclstby1))
    orclstby1_DGMGRL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.50.212)(PORT = 1521))
        (CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = orclstby1_DGMGRL))
    ##### alert log on orclstby1.
    Fatal NI connect error 12504, connecting to:
    (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=)(CID=(PROGRAM=oracle)(HOST=orclstby1)(USER=oracle)))(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.50.211)(PORT=1521)))
      VERSION INFORMATION:
            TNS for Linux: Version 11.2.0.3.0 - Production
            TCP/IP NT Protocol Adapter for Linux: Version 11.2.0.3.0 - Production
      Time: 06-SEP-2013 13:19:55
      Tracing not turned on.
      Tns error struct:
        ns main err code: 12564
    TNS-12564: TNS:connection refused
        ns secondary err code: 0
        nt main err code: 0
        nt secondary err code: 0
        nt OS err code: 0
    There is problem  in alert log.
    In the /etc/hosts file. The standby server (orclstby1) ip is 192.168.50.212. but alert log is 192.168.50.211.
    Is any idea?
    Thanks for help.
    消息编辑者为:user4914135

    #### on primary database
    SQL>  select dest_name,status,target,archiver,schedule, valid_type,valid_role,db_unique_name,error from v$archive_dest;
    DEST_NAME            STATUS    TARGET  ARCHIVER   SCHEDULE VALID_TYPE      VALID_ROLE   DB_UNIQUE_NAME
    ERROR
    LOG_ARCHIVE_DEST_1   VALID     LOCAL   ARCH       ACTIVE   ALL_LOGFILES    ALL_ROLES    orclprmy
    LOG_ARCHIVE_DEST_2   VALID     REMOTE  LGWR       PENDING  ALL_LOGFILES    PRIMARY_ROLE orclstby1
    LOG_ARCHIVE_DEST_3   INACTIVE  LOCAL   ARCH       INACTIVE ALL_LOGFILES    ALL_ROLES    NONE
    #### on standby database
    SQL> select dest_name,status,target,archiver,schedule, valid_type,valid_role,db_unique_name,error from v$archive_dest;
    DEST_NAME            STATUS    TARGET  ARCHIVER   SCHEDULE VALID_TYPE      VALID_ROLE   DB_UNIQUE_NAME
    ERROR
    LOG_ARCHIVE_DEST_1   VALID     PRIMARY ARCH       ACTIVE   ALL_LOGFILES    ALL_ROLES    orclstby1
    LOG_ARCHIVE_DEST_2   ERROR     STANDBY LGWR       PENDING  ONLINE_LOGFILE  PRIMARY_ROLE orclprmy
    ORA-12504: TNS:listener was not given the SERVICE_NAME in
    CONNECT_DATA
    LOG_ARCHIVE_DEST_3   INACTIVE  PRIMARY ARCH       INACTIVE ALL_LOGFILES    ALL_ROLES    NONE 
    ####  log_archive_dest on primary database  
    SQL> show parameter log_archive_dest
    NAME                                 TYPE        VALUE
    log_archive_dest                     string
    log_archive_dest_1                   string      location=/u3/arch/orcl vali
                                                     d_for=(ALL_LOGFILES,ALL_ROLES)
                                                      db_unique_name=orclprmy
    log_archive_dest_10                  string
    log_archive_dest_11                  string
    log_archive_dest_12                  string
    log_archive_dest_13                  string
    log_archive_dest_14                  string
    log_archive_dest_15                  string
    log_archive_dest_16                  string
    log_archive_dest_17                  string
    log_archive_dest_18                  string
    log_archive_dest_19                  string
    log_archive_dest_2                   string      service="orclstby1", LGWR ASYNC
                                                     NOAFFIRM delay=0 optional comp
                                                     ression=disable max_failure=0
                                                     max_connections=1 reopen=300 d
                                                     b_unique_name="orclstby1" net_ti
                                                     meout=30, valid_for=(all_logfi
                                                     les,primary_role)
    log_archive_dest_20                  string
    log_archive_dest_21                  string
    log_archive_dest_22                  string
    ####  log_archive_dest on standby database
    SQL> show parameter log_archive_dest
    NAME                                 TYPE        VALUE
    log_archive_dest                     string
    log_archive_dest_1                   string      location=/u3/arch/orclstby1 vali
                                                     d_for=(ALL_LOGFILES,ALL_ROLES)
                                                      db_unique_name=orclstby1
    log_archive_dest_10                  string
    log_archive_dest_11                  string
    log_archive_dest_12                  string
    log_archive_dest_13                  string
    log_archive_dest_14                  string
    log_archive_dest_15                  string
    log_archive_dest_16                  string
    log_archive_dest_17                  string
    log_archive_dest_18                  string
    log_archive_dest_19                  string
    log_archive_dest_2                   string      service=orclprmy ASYNC valid_for
                                                     =(ONLINE_LOGFILE,PRIMARY_ROLE)
                                                      db_unique_name=orclprmy
    log_archive_dest_20                  string
    log_archive_dest_21                  string
    log_archive_dest_22                  string
    log_archive_dest_23                  string
    log_archive_dest_24                  string
    log_archive_dest_25                  string
    #### spfile on standby database
    </u2/oracle/product/11.2.0/dbhome_1/dbs> strings spfileorclstby1.ora
    orcl.__db_cache_size=1040187392
    orclstby1.__db_cache_size=1090519040
    orcl.__java_pool_size=16777216
    orclstby1.__java_pool_size=16777216
    orcl.__large_pool_size=16777216
    orclstby1.__large_pool_size=16777216
    orcl.__oracle_base='/u2/oracle'#ORACLE_BASE set from environment
    orclstby1.__oracle_base='/u2/oracle'#ORACLE_BASE set from environment
    orcl.__pga_aggregate_target=536870912
    orclstby1.__pga_aggregate_target=536870912
    orcl.__sga_target=1610612736
    orclstby1.__sga_target=161061273
    orcl.__shared_io_pool_size=0
    orclstby1.__shared_io_pool_size=0
    orcl.__shared_pool_size=503316480
    orclstby1.__shared_pool_size=469762048
    orcl.__streams_pool_size=16777216
    orclstby1.__streams_pool_size=0
    *.archive_lag_target=0
    *.audit_file_dest='/u2/oracle/admin/orclstby1/adump'
    *.audit_trail='db'
    *.compatible='11.2.0.0.0'
    *.control_files='/u2/oracle/oradata/orclstby1/control01.ctl','/u2/oracle/fast_recovery_area/orclstby1/control02.ctl'
    *.db_block_size=8192
    *.db_domain=''
    *.db_file_nam
    e_convert='orcl','orclstby1'
    *.db_name='orcl'
    *.db_recovery_file_dest='/u2/oracle/fast_recovery_area'
    *.db_recovery_file_dest_size=5218762752
    *.db_unique_name='orclstby1'
    *.deferred_segment_creation=FALSE
    *.dg_broker_start=TRUE
    *.diagnostic_dest='/u2/oracle'
    *.fal_client='orclstby1'
    *.fal_server='orclprmy'
    *.log_archive_config='dg_config=(orclprmy,orclstby1)'
    *.log_archive_dest_1='location=/u3/arch/orclstby1 valid_for=(ALL_LOGFILES,ALL_ROLES) db_unique_name=orclstby1'
    *.log_archive_dest_2='ser
    vice=orclprmy ASYNC valid_for=(ONLINE_LOGFILE,PRIMARY_ROLE) db_unique_name=orclprmy'
    *.log_archive_dest_state_2='ENABLE'
    orcl.log_archive_format='orcl_%t_%s_%r.arc'
    *.log_archive_format='orclstby1_%t_%s_%r.arc'
    orclstby1.log_archive_format='orclstby1_%t_%s_%r.arc'
    *.log_archive_max_processes=4
    *.log_archive_min_succeed_dest=1
    orcl.log_archive_trace=0
    orclstby1.log_archive_trace=0
    *.log_file_name_convert='orcl','orclstby1'
    *.open_cursors=300
    *.pga_aggregate_target=536870912
    *.processes=
    1500
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sessions=1655
    *.sga_target=1610612736
    *.standby_file_management='AUTO'
    *.undo_tablespace='UNDOTBS1'
    </u2/oracle/product/11.2.0/dbhome_1/dbs>
    Thank you for your help.

  • TSNnames.ora & Listener.ora - Where do I find these files

    Greetings!
    I'm trying to connect from a SQL server to an Oracle server through the SQL management studio's Linked Server. I'm a bit confused as I get the error ORA 12504, which it says "Listener was not given the SERVICE_NAME in CONNECT_DATA" .
    Where are these files suppouse to be? In the SQL server or the Oracle Server? I did a search in both servers and I don't get any results with the mentioned files names. What do I need to have them?
    If someone could point me to an article or some guide, I would be in great debt as I need to figure this out preety soon.
    Thanks!

    Hello,
    YOu can find these files on oracle server under $ORACLE_HOME/admin/network directory.
    Examples of listener.ora_
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = <hostname where database is running>)(PORT = 1521))
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME =<path to oracle home>)
          (PROGRAM = extproc)
        (SID_DESC =
          (GLOBAL_DBNAME = <database instance name>)
          (ORACLE_HOME =<path to oracle home>)
          (SID_NAME = <your database instance name>)
    Example of tnsames.ora_
    <your database instance name>=
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = <hostname where database is running>)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME =<your database instance name>)
      )Regards
    Edited by: OrionNet on Jan 26, 2009 1:23 PM

  • Database link from 11g to 10g

    I am trying to create a database link from the 11g database to the 10g database using:
    create database link ORCL10R2 connect to <username10g> identified by <password10g> using <db10g>;
    It Returns
    Database link created.
    select sysdate from dual@ORCL10R2 returns error:
    ERROR at line 1:
    ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
    Please let me know what changes I need to make to tnsnames and listener at both servers.

    11g database: 10.1.1.10
    10g database: 10.1.1.12
    TNSNAMES.ORA at 10.1.1.10
    XYZ =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.1.10)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XYZ)
    LISTENER.ORA at 10.1.1.10
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.1.10)(PORT = 1521))
    what needs to be modified here?
    Edited by: 944558 on 5 Jul, 2012 12:27 AM

  • Database link from 11g to 10 g

    I am trying to create a database link from the 11g database to the 10g database using:
    create database link ORCL10R2 connect to <username10g> identified by <password10g> using <db10g>;
    It Returns
    Database link created.
    select sysdate from dual@ORCL10R2 returns error:
    ERROR at line 1:
    ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
    Please let me know what changes I need to make to tnsnames and listener at both servers.

    i think this question is not related to sql or pl sql.
    Please Post here
    General Database Discussions
    Venkadesh

  • Error while launcing Planning applications from colloborator Workbench

    Hi all,
    We are on Demantra 7.3.1, Oracle 11g and we have the following problem:
    When trying to launch from Collaborator Workbench any of the applications from the Planning Application tab (ie: Member Management, Business Modeler..) it results in the following error:
    *"Can't connect to database ora - 12504: TNS: listener was not given the SERVICE_NAME in CONNECT_DATA".*
    I investigated and found that from 11g onwards, the way of using the Hostname adapter has changed.Refer ID 556996.1
    I am using a WIN 7 - 64 bit Machine , So I have installed 32-bit client too on my machine .
    The tnsnames.ora ( under 32 bit client)*_
    *# tnsnames.ora Network Configuration File: C:\Oracle\Client32bit\product\11.2.0\clienthome\network\admin\tnsnames.ora*_
    *# Generated by Oracle configuration tools.*
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = GAEA-20)(PORT = 1521))
    (CONNECT_DATA =
    (SID = ORCL)
    Listener.ora file is under the database home
    *# listener.ora Network Configuration File: C:\Oracle\database64bit\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 = C:\Oracle\database64bit\product\11.2.0\dbhome_1)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\Oracle\database64bit\product\11.2.0\dbhome_1\bin
    \oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = GAEA-20)(PORT = 1521))
    ADR_BASE_LISTENER = C:\Oracle\database64bit
    DEFAULT_SERVICE_listener_name= GAEA-20
    Edited by: SenthilMuthuKumar on 03-May-2012 06:43

    Hi,
    Thanks for your suggestion's here i am going to run the datapump script so while i am running in workbench it is throwing data access error.So as you guy's suggested i created one import format and added this script to that import format which is added to one of my location even it is throwing the same error.I am getting the error at this sentence   "strWorkTableName" I want to know what is this where it reflect's?So my question is Is there any difference while running data pump or integration script.Please let me know a detailed navigation steps to run this script's with out data access error to run these kind of scripts.
    Note:Again my target is to load the data to planning database through fdqm which i am doing through sql statement's.
    Suggest your valuable suggestion's
    Thanks in advance...
    I am getting the error at this sentence   "strWorkTableName" I want to know what is this where it reflect's?

  • Access database issue in SQL Plus

    Hi Friends,
    I download a oracle 10g to install sql Plus without create database. (I download client and does not find SQL Plus)
    I can ping database server from client PC and also set up a TNS.
    However I got a error ORA 12504 --TNS:listener was not start.
    I can access database by sql plua from server side. I do not think we need to put a listener file in client PC under admin path.
    my database set as RAC module and system as window 2003
    how to fix this issue?
    Thanks,
    JIm

    OK, just to be clear, you have a single client machine where you have installed something with the 10g label. Are you saying that you installed the Oracle database bits, but did not create a database? Rather than doing a client-only install? Is there a single Oracle home on the client machine?
    And then you have a RAC database running on multiple Windows 2003 servers, right? Is there a listener running for this RAC database? Can you connect to it from other client machines?
    Are you certain that the service name you specified in the client machine's tnsnames.ora file matches the service the listener is listening for?
    Justin

  • Connect using HOSTNAME adapter with DNSalias

    Hi everyone
    I am trying to test hostname naming method with Instant Client and DNS aliases. According to docs I should be able to:
    - on database TEST: add 'testdb.domain.com' to SERVICE_NAMES parameter
    - in DNS: create an Alias named "testdb.domain.com" which points to the server where database TEST is running
    - on client mypc.domain.com: connect e.g. with: "sqlplus user/[email protected]" or even "sqlplus user/pass@testdb" since it is in the same domain.
    So far so good. With Instant Client 10.2.0.4.0 this works just fine. But if I try with Instant Client 11.1.0.6.0, I instead get the following error message:
    ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
    With a trace, I found out that Instant Client 10.2.0.4.0 converts the string "testdb.domain.com" into the connect string "(DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=testdb.domain.com))(ADDRESS=(PROTOCOL=TCP)(HOST=1.2.3.4)(PORT=1521)))" after switching to the hostname adapter.
    Instant Client 11.1.0.6.0 converts the same string "testdb.domain.com" into the following connect string: "(DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=))(ADDRESS=(PROTOCOL=TCP)(HOST=1.2.3.4)(PORT=1521)))" after switching to the hostname adapter.
    ==> So it is no wonder the listener complains about a missing service_name if the parameter is present in connect_data but with an empty value!
    btw.: setting DEFAULT_SERVICE_listener on the server side didn't help and wouldn't be an option anyway.
    Does anyone know why this happens? Any ideas on how to fix it?
    I would be grateful for any help...
    Regards
    Urs

    Hi,
    To access any database fromm XI, using the JDBC adapter, the corresponding drivers have to be installed on the XI server.
    Just check this note 831162.
    Also, check this PDF to install Drivers in XI,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10

Maybe you are looking for

  • Hard Drive space dropped from 70gig to 24gig???

    Hi everyone, While streaming a video online (as I have done often) I got the standard "your system is low on memory" message. Thinking that's strange because I should have 70 gigs, I notice my computer was down to 100mb. Then it dropped to 0 space. I

  • Footnotes Spanning Pages?

    Given my recent frustrations with Word 2008, I'm looking into moving to Pages. Last I checked, Pages doesn't support long footnotes. I primarily do academic writing and occasionally have notes that need to span two pages. Does Pages support this? If

  • Alarm Clock giving weird notification when using song

    When using my alarm clock with the new song feature, I am getting a notification that says "Download over cellular? Additional fees may apply when downloading songs over cellular." Options are Cancel or Download. The songs I have chosen are already o

  • How do i get words with friends to work on facebook?

    i am trying to play words with friends through facebook on my samsung galaxy tablet, and it wont load. what do i need to do to get it to load?

  • One node is failing

    One node is periodically are failing . When users are connecting , they are getting the error : ERROR: ORACLE connection error: ORA-01034: ORACLE not availableORA-27101: shared memory realm does not existLinux-x86_64 Error: 2: No such file or directo