Cant connect to oracle error 12154

It appears I also have a simple cannot connect to the oracle database error when starting to use crystal reports from my desk top.
Have installed the oracle client 10.2.0.4 and can connect using oracle net manager and the tnsnames.ora file was created. How does crystal reports know what tnsnames file to look for?  I am using the oracle server option from crystal reports.
This should be pretty straight forward but very little doc on this specific area.
thanks
bhm

Hi
Got the direct connection to work by removing the oracle client and crystal reports.
Re-installed another oracle client (same version 10.2.0.1 but has more options) and all connections worked.
Then reinstalled crystal reports and can connect directly using the SAP database password. Not sure why the first install did not work, had sqlplus, odbc etc. Some areas worked others did not.
I am going to do some investigation into the sap connectors to understand what exactly that gets us.
thanks
brad

Similar Messages

  • Intermittent not connected to Oracle error

    Hi ,
    I keep getting not connected to oracle error for one of our client' server. The application is an Windows service and the client OS is Windows 2003 Server with Oracle Client version 9.2.0.7
    I haven't see this error for any other client. I have got the following exception being reported from oracle.
    Any ideas? I initially thought it was the service, but debugging it in Visual Studio has not shown any exception, MS Exception or buffer overruns.
    Regards
    Viresh
    ORANTCP9! 619137b9()
    ORAN9! 614d7625()
    ORAN9! 614c6954()
    ORAN9! 614a95a6()
    ORAN9! 614a0256()
    ORAN9! 6149f72d()
    ORAN9! 6149d743()
    ORANONAME9! 617d110d()
    ORAN9! 614a35db()
    ORAN9! 614a276c()
    ORANL9! 614105c0()
    ORAN9! 614f914c()
    ORAN9! 614a4f80()
    ORAN9! 61493c84()
    ORACLIENT9! 60716c43()
    ORACLIENT9! 606a9b93()
    ORACLIENT9! 60652018()
    ORACLIENT9! 60601457()
    ORAOLEDB! 02c0c549()
    040d8450()

    i think you will need to check your tnsnames.ora file on your client machine. make sure the ip is same as that of one at the server.
    also check the listener.ora has the correct ip (this should be same as the server machine run ipconfig/all) .
    try to restart the listener on the server.
    from command prompt
    --lsnrctl
    --status
    --start                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • ASP SCRIPT CANT CONNECT TO ORACLE 9i via Oracle9i Client

    Please help...i get an ORA-12154 when attempting to link access and oracle. what are some ways to correct this issue. i have researched as much as i understand..
    error that occurrs is as follows:
    [Microsoft][ODBC driver for Oracle][Oracle]ORA-12154: TNS:could not resolve service name(#12154...........
    I HAVE installed and CONFIGURED ORACLE 9i ODBC DRIVER.
    ODBC to Oracle works mit Excel or Access.
    TNS works good with Developer 6i and SQL Plus.
    Only my ASP VBSCRIPT on my IIS5 cant connect.
    please can anyone help me !

    Microsoft OLE DB Provider for ODBC Drivers- Fehler '80004005'
    Aufgrund des Systemfehlers 5 (Oracle in Oracle9i_Client) konnte der angegebene Treiber nicht geladen werden.
    /apps/connection/uxprod.asp, line 4
    hat folgenden Inhalt:
    <%
    ' ************* DB-Connection ***************
    Set conn = Server.CreateObject("ADODB.Connection")
    conn.Open "DSN=UXPROD;UID=anwlist;Password=xxxx;"
    %>
    ODBC Driver with Excel works well; anly with ASP via
    OLE DB ist doesnt work !

  • Tnsping doesnt work. cant connect to oracle on linux from windows client

    Installed Oracle 11g on Linux VM. Tried connecting from Tora/SqlDeveloper from Windows machine, but fails. TNSPING fails. PING works fine. Any idea how to resolve below issue?
    Below is the info and checks made :
    [oracle@oraclelinux6 admin]$ more *.ora
    listener.ora
    # listener.ora Network Configuration File: /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = orcl)
          (ORACLE_HOME = /apps/app/oracle/product/11.2.0/dbhome_1)
          (SID_NAME = orcl)
    LISTENERLX =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ADR_BASE_LISTENER = /apps/app/oracle
    sqlnet.ora
    # sqlnet.ora Network Configuration File: /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    ADR_BASE = /apps/app/oracle
    SQLNET.EXPIRE_TIME=10
    SQLNET.INBOUND_CONNECT_TIMEOUT=240
    tnsnames.ora
    # tnsnames.ora Network Configuration File: /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = orcl)
    [oracle@oraclelinux6 admin]$
    [oracle@oraclelinux6 admin]$ ifconfig
    eth1      Link encap:Ethernet  HWaddr 08:00:27:CA:B7:5D
              inet addr:192.168.1.121  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::a00:27ff:feca:b75d/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:243465 errors:0 dropped:0 overruns:0 frame:0
              TX packets:143708 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:347575845 (331.4 MiB)  TX bytes:9778008 (9.3 MiB)
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:36859 errors:0 dropped:0 overruns:0 frame:0
              TX packets:36859 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:2400424 (2.2 MiB)  TX bytes:2400424 (2.2 MiB)
    virbr0    Link encap:Ethernet  HWaddr 52:54:00:8D:63:05
              inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
    [oracle@oraclelinux6 admin]$ hostname
    oraclelinux6.localdomain
    [oracle@oraclelinux6 admin]$ more /etc/hosts
    127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
    10.0.2.15       oraclelinux6.localdomain
    [oracle@oraclelinux6 admin]$
    [oracle@oraclelinux6 admin]$ sqlplus system@orcl
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Dec 2 08:19:59 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter password:
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    Enter user-name: system
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> set head off
    SQL> select * from v$instance;
                  1 orcl
    oraclelinux6.localdomain
    11.2.0.1.0        01-DEC-13 OPEN         NO           1 STOPPED
    ALLOWED    NO  ACTIVE            PRIMARY_INSTANCE   NORMAL    NO
    SQL> select * from v$database;
    1360274593 ORCL      26-NOV-13            945184 26-NOV-13
                          1 15-AUG-09 NOARCHIVELOG            1071075
            1033565 CURRENT 26-NOV-13                  1283             1094699
    02-DEC-13 NOT ALLOWED 26-NOV-13 READ WRITE           MAXIMUM PERFORMANCE
    UNPROTECTED          ENABLED   1360252065  1360252065 PRIMARY
                945184 DISABLED NOT ALLOWED          DISABLED NONE    NO       NO
    NO  NO           13
    Linux x86 64-bit
                               2                      2     1094771
    NO                 NO  NO  orcl
                             0 DISABLED
                        0
    NO                                 NO
    LSNRCTL> show inbound_connect_timeout
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    TNS-12535: TNS:operation timed out
    TNS-12560: TNS:protocol adapter error
      TNS-00505: Operation timed out
    LSNRCTL>
    [oracle@oraclelinux6 admin]$ tnsping orcl
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 02-DEC-2013 08:11:34
    Copyright (c) 1997, 2009, Oracle.  All rights reserved.
    Used parameter files:
    /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl)))
    OK (0 msec)
    <msg time='2013-12-02T08:11:55.728-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    </txt>
    </msg>
    <msg time='2013-12-02T08:13:23.444-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>02-DEC-2013 08:13:23 * (CONNECT_DATA=(SERVICE_NAME=orcl)(CID=(PROGRAM=sqlplus)(HOST=oraclelinux6.localdomain)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=60806)) * establish * orcl * 12514
    </txt>
    </msg>
    <msg time='2013-12-02T08:13:23.444-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    </txt>
    </msg>
    <msg time='2013-12-02T08:19:54.141-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>02-DEC-2013 08:19:54 * service_update * orcl * 0
    </txt>
    </msg>
    <msg time='2013-12-02T08:20:00.146-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>02-DEC-2013 08:20:00 * service_update * orcl * 0
    </txt>
    </msg>
    <msg time='2013-12-02T08:20:03.639-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>02-DEC-2013 08:20:03 * (CONNECT_DATA=(SERVICE_NAME=orcl)(CID=(PROGRAM=sqlplus)(HOST=oraclelinux6.localdomain)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=60970)) * establish * orcl * 12514
    </txt>
    </msg>
    <msg time='2013-12-02T08:20:03.639-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    </txt>
    </msg>
    [oracle@oraclelinux6 admin]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-DEC-2013 08:25:38
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    TNS-12535: TNS:operation timed out
    TNS-12560: TNS:protocol adapter error
      TNS-00505: Operation timed out
    [oracle@oraclelinux6 admin]$
    [oracle@oraclelinux6 admin]$ lsnrctl status LISTENERLX
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-DEC-2013 08:29:23
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENERLX
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                02-DEC-2013 07:55:29
    Uptime                    0 days 0 hr. 33 min. 54 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File         /apps/app/oracle/product/11.2.0/dbhome_1/log/diag/tnslsnr/oraclelinux6/listenerlx/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "orcl.localdomain" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.localdomain" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@oraclelinux6 admin]$
    CLIENT SIDE :
    C:\Windows\system32>ping 192.168.1.121
    Pinging 192.168.1.121 with 32 bytes of data:
    Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
    Ping statistics for 192.168.1.121:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 0ms, Maximum = 0ms, Average = 0ms
    C:\Windows\system32>tnsping ORACLELINUX6
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 03-DEC-2013 01:30:13
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    D:\app\Laasya\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 = 192.168.1.121)(PORT = 1521)) (C
    ONNECT_DATA = (SERVICE_NAME = orcl)))
    TNS-12535: TNS:operation timed out
    # tnsnames.ora Network Configuration File: D:\app\Laasya\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    LISTENER_ORCL =
      (ADDRESS = (PROTOCOL = TCP)(HOST = Laasya-PC)(PORT = 1522))
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = Laasya-PC)(PORT = 1522))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
    ORACLELINUX6 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.121)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = orcl)

    f0c7e0f7-dab5-4b63-a36c-04b7e8eb552d wrote:
    Installed Oracle 11g on Linux VM. Tried connecting from Tora/SqlDeveloper from Windows machine, but fails. TNSPING fails. PING works fine. Any idea how to resolve below issue?
    Below is the info and checks made :
    [oracle@oraclelinux6 admin]$ more *.ora
    listener.ora
    # listener.ora Network Configuration File: /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = orcl)
          (ORACLE_HOME = /apps/app/oracle/product/11.2.0/dbhome_1)
          (SID_NAME = orcl)
    LISTENERLX =
    It is pointless, and just adds to the confusion, to name your listener anything other than the default name of LISTENER
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    Client requests to 'localhost' (or its ip address of 127.0.0.1) never leave the client machine.  Hence, any listener configured for that address will never receive a request from any other machine.
    ADR_BASE_LISTENER = /apps/app/oracle
    sqlnet.ora
    # sqlnet.ora Network Configuration File: /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    ADR_BASE = /apps/app/oracle
    SQLNET.EXPIRE_TIME=10
    SQLNET.INBOUND_CONNECT_TIMEOUT=240
    tnsnames.ora
    # tnsnames.ora Network Configuration File: /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    ORCL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    See comment above regarding 'localhost'.
        (CONNECT_DATA =
          (SERVICE_NAME = orcl)
    [oracle@oraclelinux6 admin]$
    [oracle@oraclelinux6 admin]$ ifconfig
    eth1      Link encap:Ethernet  HWaddr 08:00:27:CA:B7:5D
              inet addr:192.168.1.121  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::a00:27ff:feca:b75d/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:243465 errors:0 dropped:0 overruns:0 frame:0
              TX packets:143708 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:347575845 (331.4 MiB)  TX bytes:9778008 (9.3 MiB)
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:36859 errors:0 dropped:0 overruns:0 frame:0
              TX packets:36859 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:2400424 (2.2 MiB)  TX bytes:2400424 (2.2 MiB)
    virbr0    Link encap:Ethernet  HWaddr 52:54:00:8D:63:05
              inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
    [oracle@oraclelinux6 admin]$ hostname
    oraclelinux6.localdomain
    [oracle@oraclelinux6 admin]$ more /etc/hosts
    127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
    ::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
    10.0.2.15       oraclelinux6.localdomain
    where did that 10.0.2.15 address come from?  You don't have any network adapters configured for that address
    [oracle@oraclelinux6 admin]$
    [oracle@oraclelinux6 admin]$ sqlplus system@orcl
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Dec 2 08:19:59 2013
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Enter password:
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    A well-documented error.
    see: http://edstevensdba.wordpress.com/2011/03/19/ora-12514/  (ora-12514  Listener does not know of requested service )
    Enter user-name: system
    Enter password:
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Since you did not use a tns service name ('@orcl') this was a bequeth connection to a local database.
    SQL> set head off
    SQL> select * from v$instance;
                  1 orcl
    oraclelinux6.localdomain
    11.2.0.1.0        01-DEC-13 OPEN         NO           1 STOPPED
    ALLOWED    NO  ACTIVE            PRIMARY_INSTANCE   NORMAL    NO
    SQL> select * from v$database;
    1360274593 ORCL      26-NOV-13            945184 26-NOV-13
                          1 15-AUG-09 NOARCHIVELOG            1071075
            1033565 CURRENT 26-NOV-13                  1283             1094699
    02-DEC-13 NOT ALLOWED 26-NOV-13 READ WRITE           MAXIMUM PERFORMANCE
    UNPROTECTED          ENABLED   1360252065  1360252065 PRIMARY
                945184 DISABLED NOT ALLOWED          DISABLED NONE    NO       NO
    NO  NO           13
    Linux x86 64-bit
                               2                      2     1094771
    NO                 NO  NO  orcl
                             0 DISABLED
                        0
    NO                                 NO
    LSNRCTL> show inbound_connect_timeout
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    TNS-12535: TNS:operation timed out
    TNS-12560: TNS:protocol adapter error
      TNS-00505: Operation timed out
    LSNRCTL>
    [oracle@oraclelinux6 admin]$ tnsping orcl
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 02-DEC-2013 08:11:34
    Copyright (c) 1997, 2009, Oracle.  All rights reserved.
    Used parameter files:
    /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = orcl)))
    OK (0 msec)
    <msg time='2013-12-02T08:11:55.728-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    </txt>
    </msg>
    <msg time='2013-12-02T08:13:23.444-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>02-DEC-2013 08:13:23 * (CONNECT_DATA=(SERVICE_NAME=orcl)(CID=(PROGRAM=sqlplus)(HOST=oraclelinux6.localdomain)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=60806)) * establish * orcl * 12514
    </txt>
    </msg>
    <msg time='2013-12-02T08:13:23.444-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    </txt>
    </msg>
    <msg time='2013-12-02T08:19:54.141-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>02-DEC-2013 08:19:54 * service_update * orcl * 0
    </txt>
    </msg>
    <msg time='2013-12-02T08:20:00.146-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>02-DEC-2013 08:20:00 * service_update * orcl * 0
    </txt>
    </msg>
    <msg time='2013-12-02T08:20:03.639-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>02-DEC-2013 08:20:03 * (CONNECT_DATA=(SERVICE_NAME=orcl)(CID=(PROGRAM=sqlplus)(HOST=oraclelinux6.localdomain)(USER=oracle))) * (ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=60970)) * establish * orcl * 12514
    </txt>
    </msg>
    <msg time='2013-12-02T08:20:03.639-08:00' org_id='oracle' comp_id='tnslsnr'
    type='UNKNOWN' level='16' host_id='oraclelinux6.localdomain'
    host_addr='10.0.2.15'>
    <txt>TNS-12514: TNS:listener does not currently know of service requested in connect descriptor
    </txt>
    </msg>
    [oracle@oraclelinux6 admin]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-DEC-2013 08:25:38
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    TNS-12535: TNS:operation timed out
    TNS-12560: TNS:protocol adapter error
      TNS-00505: Operation timed out
    [oracle@oraclelinux6 admin]$
    [oracle@oraclelinux6 admin]$ lsnrctl status LISTENERLX
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 02-DEC-2013 08:29:23
    Copyright (c) 1991, 2009, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
    STATUS of the LISTENER
    Alias                     LISTENERLX
    Version                   TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date                02-DEC-2013 07:55:29
    Uptime                    0 days 0 hr. 33 min. 54 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /apps/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File         /apps/app/oracle/product/11.2.0/dbhome_1/log/diag/tnslsnr/oraclelinux6/listenerlx/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    See previous comments regarding localhost and 127.0.0.1
    Services Summary...
    Service "orcl.localdomain" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.localdomain" has 1 instance(s).
      Instance "orcl", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [oracle@oraclelinux6 admin]$
    CLIENT SIDE :
    C:\Windows\system32>ping 192.168.1.121
    Pinging 192.168.1.121 with 32 bytes of data:
    Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
    Reply from 192.168.1.121: bytes=32 time<1ms TTL=64
    Ping statistics for 192.168.1.121:
        Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
        Minimum = 0ms, Maximum = 0ms, Average = 0ms
    C:\Windows\system32>tnsping ORACLELINUX6
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 03-DEC-2013 01:30:13
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    D:\app\Laasya\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 = 192.168.1.121)(PORT = 1521)) (C
    ONNECT_DATA = (SERVICE_NAME = orcl)))
    TNS-12535: TNS:operation timed out
    # tnsnames.ora Network Configuration File: D:\app\Laasya\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1522))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    LISTENER_ORCL =
      (ADDRESS = (PROTOCOL = TCP)(HOST = Laasya-PC)(PORT = 1522))
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = Laasya-PC)(PORT = 1522))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
    ORACLELINUX6 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.121)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = orcl)
    You've thrown out a huge amount of detailed data, but showing a variety of errors, and combinations.  Overall, I get the impression you are confusing remote vs. local connections.  Please read the following, then come back and let's focus on one error at a time.
    see: http://edstevensdba.wordpress.com/2011/02/09/sqlnet_overview/  (Help! I can’t connect to my database  )
    see: http://edstevensdba.wordpress.com/2011/02/16/sqlnet_client_cfg/  ( Help! I can’t connect to my database (part duex) )

  • Technical Monitoring - Connect DB Oracle (Error)

    Hi experts,
    I would like to connect a database of an ERP System to our technical monitoring.
    Therefore I go in SOLMAN_SETUP->Managed Systemconfiguration to step 5 - "Enter System Parameters".
    Here I enter in "DB-Parameters" the following data:
    Database Host: "DB Host"
    Service Name: "DB SID"
    Port Number: 1527 (where can I check this???)
    TNS Name: "DB SID"
    Character Set: ????
    National Character Set: ????
    Username: ora<sid>
    password: ****
    But on clicking on "Setup DBA Cockpit connection" I get the following error:
    "The connection "<sid>" is not set up correctly. Database connection <sid>:ADBC error "Internal error 16 has occured"".
    Does anybody know help on this?
    Thank you

    Hello Roland,
    thats the output in the process, it seems, as I need to install oracle libraries???
    B  Loading DB library '/usr/sap/<sid>/DVEBMGS<sidno>/exe/dboraslib.so' ...
    M  *** ERROR => DlLoadLib()==DLENOACCESS - dlopen("/usr/sap/<sid>/DVEBMGS<sidno>/exe/dboraslib.so") FAILED
      "Unable to find library 'libclntsh.so.11.1'."  [dlux.c       445]
    M  {root-id=0017A47714101EE484B22C1661F85404}_{conn-id=0017A47714101EE484B2285550A0110C}_1
    B  *** ERROR => Couldn't load library '/usr/sap/<sid>/DVEBMGS<sidno>/exe/dboraslib.so'
    [dbcon.c      5767]
    B  {root-id=0017A47714101EE484B22C1661F85404}_{conn-id=0017A47714101EE484B2285550A0110C}_1
    B  ***LOG BYG=> could not load library for database connection <db sid>        [dbds         862]
    B  ***LOG BZY=> unexpected return code 8192       calling DBDS       [dbacds       1862]
    B  Loading DB library '/usr/sap/<sid>/DVEBMGS<sidno>/exe/dboraslib.so' ...
    M  *** ERROR => DlLoadLib()==DLENOACCESS - dlopen("/usr/sap/<sid>/DVEBMGS<sidno>/exe/dboraslib.so") FAILED
      "Unable to find library 'libclntsh.so.11.1'."  [dlux.c       445]
    M  {root-id=0017A47714101EE484B22C1661F85404}_{conn-id=0017A47714101EE484B2285550A0110C}_1
    B  *** ERROR => Couldn't load library '/usr/sap/<sid>/DVEBMGS<sidno>/exe/dboraslib.so'
    [dbcon.c      5767]
    B  {root-id=0017A47714101EE484B22C1661F85404}_{conn-id=0017A47714101EE484B2285550A0110C}_1
    B  ***LOG BYG=> could not load library for database connection <dbsid>        [dbds         862]
    B  ***LOG BZY=> unexpected return code 8192       calling DBDS       [dbacds       1862]
    B  Loading DB library '/usr/sap/<sid>/DVEBMGS<sidno>/exe/dboraslib.so' ...
    M  *** ERROR => DlLoadLib()==DLENOACCESS - dlopen("/usr/sap/<sid>/DVEBMGS<sidno>/exe/dboraslib.so") FAILED
      "Unable to find library 'libclntsh.so.11.1'."  [dlux.c       445]
    M  {root-id=0017A47714101EE484B22C1661F85404}_{conn-id=0017A47714101EE484B2285550A0110C}_1
    B  *** ERROR => Couldn't load library '/usr/sap/<sid>/DVEBMGS<sidno>/exe/dboraslib.so'

  • Cant connect to Oracle database using oracle db client

    Hi All,
    I recently created a virtual machine running windows server 2008 on my windows 7 host. Oracle database 11g is already installed on host OS(windows 7) and I have installed oracle 11g client on the guest OS(windows server 2008) and trying to connect to oracle database from remote server using oracle client but getting this error:
    ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATAI am trying to connect using oracle client as below:
    C:\Users\Administrator>SET ORACLE_SID = HR84DEV
    C:\Users\Administrator>SQLPLUS /NOLOG
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Feb 10 06:16:34 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    SQL> CONNECT SYSADM/[email protected]
    ERROR:
    ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
    I have created database with name - HR84DEV
    HOST ip address is - 192.168.56.1
    I googled this error and as most of resources/blogs talked about having correct entry on listner.ora and tnsnames.ora file, I did the changes on both of these files accordingly.
    PFB the cotent of both of these files:
    tnsnames.ora
    # tnsnames.ora Network Configuration File: C:\MyApps\Oracle\product\11.2.0\dbhome_\NETWORK\ADMIN\tnsnames.ora
    # Generated by Oracle configuration tools.
    LISTENER_ORCL =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.56.1)(PORT = 1521))
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    HR84DEV =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.56.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = HR84DEV)
    ORCL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    listner.ora
    # listener.ora Network Configuration File: C:\MyApps\Oracle\product\11.2.0\dbhome_\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = CLRExtProc)
    (ORACLE_HOME = C:\MyApps\Oracle\product\11.2.0\dbhome_)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\MyApps\Oracle\product\11.2.0\dbhome_\bin\oraclr11.dll")
    (SID_DESC =
    (SID_NAME = HR84DEV)
    (ORACLE_HOME = C:\MyApps\Oracle\product\11.2.0\dbhome_)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=ONLY:C:\MyApps\Oracle\product\11.2.0\dbhome_\bin\oraclr11.dll")
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.56.1)(PORT = 1521))
    ADR_BASE_LISTENER = C:\MyApps\Oracle
    Please not that I dont have any problem in connect to database locally.

    Thanks Nicolas,
    Actually, there was a problem with my oracle client installation. I uninstalled it and then installed back again but still, even after following your instructions I get some error.
    Here what I did:
    Created tnsnames.ora file as below:
    HR84DEV =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.56.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = HR84DEV)
    Placed it under appropriate directory and then checked the connection with database using the command shown below:
    C:\Users\Administrator>tnsping HR84DEV
    TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 10-FEB-2
    012 08:42:03
    Copyright (c) 1997, 2010, Oracle. All rights reserved.
    Used parameter files:
    C:\MyApps\Administrator\product\11.2.0\client_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
    (HOST = 192.168.56.1)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = HR84DEV)))
    OK (20 msec)
    Then tried to connect to database as below:
    C:\Users\Administrator>SET ORACLE_SID=HR84DEV
    C:\Users\Administrator>SQLPLUS /NOLOG
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Feb 10 08:25:56 2012
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    SQL> CONNECT SYSADM/SYSADM@HR84DEV
    ERROR:
    ORA-28547: connection to server failed, probable Oracle Net admin error
    But still getting error.
    I Googled this error and tried to figure out what the problem is and came across the possible cause which is because I haven't specify that the service should run as a user who is in domain admin group.
    well, I am not really sure about this and dont know what user name and password I should enter in OracleserviceHR84DEV-properties-log on-this account.
    do I really need to set this?

  • Not connect to oracle error

    Hi
    I made a procedure to make invoice for the customer which is very
    important.
    but when i execute it from two places at the same time one of it
    is completed and other gives me error like.
    Not Connected to Oracle.
    Any suggestions
    Thanks

    Hello Sir,
    I call this procedure from Sql plus its a lengthy procedure used cursors and object types
    it is like that when execute
    SQL> DECLARE
    2 RETURNPARAMETER NUMBER;
    3 SESSION_00 VARCHAR2(200);
    4 TBL_CUSTOMER_MASTER_01 VARCHAR2(200);
    5 TBL_AFFILIATE_02 VARCHAR2(200);
    6 TBL_SALES_SHIP_ADDRESS_04 VARCHAR2(200);
    7 TBLINVOICE_05 VARCHAR2(200);
    8 STOREID VARCHAR2(200);
    9 SEPARATOR VARCHAR2(200);
    10 TBL_INVOICE_PAY_BY_CHECK_06 VARCHAR2(200);
    11
    12 BEGIN
    13 RETURNPARAMETER := NULL;
    14 SESSION_00 := '+111330,1~#111330^1^79^~2~0~79~79~SP5569~~~~~0~~';
    15 TBL_CUSTOMER_MASTER_01 := '~Pamela~Strope~~38 Garfield [email protected]~driverse~';
    16 TBL_AFFILIATE_02 := NULL;
    17 TBL_SALES_SHIP_ADDRESS_04 := 'Pamela~Strope~~38 Garfield Street~~Westover~US~WV~26501~304-296-9040~~';
    18 TBLINVOICE_05 := '~Credit Card~Visa~4111111111111111~Pamela S Strope~5~2008~186~30-Jan-2008~~';
    19 STOREID := '5030';
    20 SEPARATOR := '~';
    21 TBL_INVOICE_PAY_BY_CHECK_06 := '~~~~~ ';
    22
    23 UMESH.PROC_ADDSALESINVOICE ( RETURNPARAMETER, SESSION_00, TBL_CUSTOMER_MASTER_01, TBL_AFFILIATE_02, TBL_SALES_SHIP_ADDRESS_04, TBLINVOICE_05, STOREID, SEPARATOR, TBL_INVOICE_PAY_
    24 END;
    25 /
    +111330,1~#111330^1^79^~2~0~79~79~SP5569~~~~~0~~
    cur_Line RowBound=13
    Session_ItemID=+111330,1
    cur_Line RowBound=10
    tbl_Customer_Master_01 cur_Line RowBound=14
    Cust_Email= [email protected]
    UPDATED @tbl_Customer_Master Cust_ID= CI20089
    @affliate_Id =
    @Order_No =OD22799
    Session_ItemID RowBound=2
    cur_CustItem RowBound=0
    cur_CustItem =0
    111330,1
    111330^1^79^
    cur_CustItem RowBound=3
    cur_CustItem RowBound=3
    cur_CustItem Cart_CustPrice=79
    cur_CustItem Cart_CustPIDs=
    cur_CustItem =3
    StoreId : = 5030 Invoice_No := 118278
    SUB_INVOICE_NO : = 5613
    @Invoice_No = 118278
    PL/SQL procedure successfully completed.
    SQL> /
    ERROR:
    ORA-03114: not connected to ORACLE
    DECLARE
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error%s
    SQL> /
    ERROR:
    ORA-03114: not connected to ORACLE
    I think it is because the resources used in this procedure are busy may be.
    but i am not sure.
    any solutions
    thanks

  • MS Visual Studio 2005 + Oracle 10g = Cannot connect to ODBC error: 12154

    Hi there!
    I've read so many threads of same kind of problems but always some key elements seems to be missing so I cannot solve my problem with the solutions in those threads. So, I'll do my own.
    Our environment is...
    We have Oracle 8 database with all the data that we have. Now we have our new server, SQL Server 2005 installed and I am trying to transfer data from Oracle to SQL using MS Visual Studio 2005 using available ODBC drivers. System is Windows 2003 64Bit on intel based hardware.
    Current installations and settings
    I have installed Oracle 10g 32bit and 64bit to separate foldes. Then I made tnsnames and sqlnet files with right settings to specified folders and tested connection with tnsping <servername> command.
    Both, 64bit and 32bit connections are working. (Used 32bit CMD for 32bit connection test)
    ODBC
    I added Microsoft ODBC for Oracle as 32bit driver and Oracle 10g driver for 64bit environment as ODBC driver.
    Both environments uses same ODBC names: Myserver and Mytestserver
    Debug
    First, when I only had 64bit version of ODBC, I had a warning which said that I am using incompatible version of ODBC driver. Then I read from here that I can install 32bit client also and use drivers from that on 32bit ODBC environment and get rid of that message.
    Tried to connect Oracle DB with SQL-Plus and it works.
    Visual studio 2005 SP2
    I have tried to use .Net Providers/Oracle Client dataprovider and .Net Providers for OleDB/Microsoft Old DB for Oracle and also .Net Providers for OldDB/Oracle provider for OldDB
    Frist two gives me an error: ORA-12154 TNS: Could not resolve the connect identifier specified
    Last one says that OraOldDB.oracle.1 is not registered on local machine
    I have absolutily no idea what I can try next?
    Anyone who has more ideas? Suggest anything. I might have tried that already, but give a shot anyway. :)
    Message was edited by:
    user640570

    Hi,
    From where you got Oracle 10g driver for 64bit environment as ODBC driver. I am searching for the same.
    Are you got solution. I am facing same problem.
    Thanks,
    Vijay
    Edited by: user3976154 on Sep 6, 2008 5:12 PM

  • BW connection to ORACLE Error

    Dear All,
    I need to connect ORACLE as a source system to BW. So I craeted the source system as DB connect --> selected DBMS = ORACLE.
    DBMS: ORA
    USER NAME: ksftest
    DB PASSWORD: admin password
    CONN. INFO:  [email protected]
    132.147.226.120 is the DB Server's IP.
    After I finished it ,the system give me an error message:
    Unexpected return value 11 when calling up CON
    My DB's version is 9.2.0.1
    I donnt know what is wrong and what should I do next setp?
    thanks a lot!

    Hi Kevin,
    How did you resolve this?
    I have exactly the same issue and am unable to resolve.
    Regards,
    Tracey Smith.

  • Crystal report server 2008 v1 connect to oracle error in win 64 bit

    Dear Experts,
    I have install crystal report server 2008 v1 in windows server 2008 64-bit, oracle client 10g 64 bit. When report connect to database, it 's has an error: Fail to load database information.
    I tested on crystal report 2k8 v1 by : Open this report file , and preview, It has an error :
                         " Fail to load database information. Details: the database connector crdb_oracle.dll could not be loaded. The correct version of the database client for this database type might not  be installed".
    But, on win XP 32 bit, It's OK.
    Could you please tell me how to fix it?
    Thanks and Best Regards.
    Quan, Ly Thanh - Software Engineer, Information Technology Center- Mekong Housing Bank- Viet Nam
    Edited by: Ly Thanh Quan on Jun 21, 2010 9:17 AM

    Hi,
    first you must uninstall the 64 bit version.
    But you can install the 32bit version on a 64bit OS.
    When you install the 32bit version please make sure to not install into the "Program Files (x86)" Folder - somethimes i had problems with the "(" ")".
    Regards
    -Seb.
    Edited by: Sebastian Wiefett on Jun 22, 2010 9:29 AM

  • Error in Export ORACLE error 12154 encountered

    Hi all
    When i run Exp and write userid/password@servicename this message appear what can i do ?
    Regards
    Shahzaib

    Dear Shazaib!
    Please try the following link. I will give you tons of answers to your question.
    [http://forums.oracle.com/forums/search.jspa?threadID=&q=ORA-12154&objID=f61&dateRange=last90days&userID=&numResults=15&rankBy=10001]
    Yours sincerely
    Florian W.

  • Oracle error: java.sql.sqlrecoverableException: Closed Connection

    need help on this closed connection
    getting oracle error: java.sql.sqlrecoverableException: Closed Connection when running a java application using tomcat api to oracle 11g database EE 11.2.0.3.0 on windows 2008 R2
    The process is reading data from an Oracle database using user_sdo_geom_metadata , memory allocated to DB is 5GB, java pool size 1G allocated , below is the code which gets data from Oracle
    <NamedDataSourceDefinition:NamedDataSourceDefinition xmlns:NamedDataSourceDefinition="http://www.mapinfo.com/mxp" xmlns="http://www.mapinfo.com/mxp" xmlns:gml="http://www.opengis.net/gml"xmlns:ns2="http://www.mapinfo.com/midev/service/common/v1" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v1="http://www.mapinfo.com/midev/service/namedresource/v1"version="MXP_WorkSpace_1_5"> 
    <ConnectionSet/> 
    <DataSourceDefinitionSet> 
    <DBDataSourceDefinition id="TXLANDMARKS"> 
    <DataSourceName>txlandmarks</DataSourceName> 
    <ConnectionMember> 
    <InlineDBConnection dbType="oracle"> 
    <JDBCDriverParameters> 
    <JDBCUrl>jdbc:oracle:thin:@NOIORAENT2K8-64:1521:FMETEST</JDBCUrl> 
    <DriverPropertySet> 
    <Property name="user" value="NOIDADATADEV"/> 
    <Property name="password" value="mndata"/>
    </DriverPropertySet>
    </JDBCDriverParameters>
    </InlineDBConnection>
    </ConnectionMember>
    <DBTable owner="NOIDADATADEV" useQuotes="true">TXLANDMARKS</DBTable>
    </DBDataSourceDefinition>
    </DataSourceDefinitionSet>
    <DataSourceRef ref="TXLANDMARKS"/>
    </NamedDataSourceDefinition:NamedDataSourceDefinition>
    Both the machines can ping to each other successfully, no firewall exists between them, these are connection setting been used in pooling-datasource-factory.properties
    poolingDataSourceFactoryClass=com.mapinfo.midev.dbms.jdbc.TomcatDataSourceFactory
    # what follows are properties specific to com.mapinfo.midev.dbms.jdbc.TomcatDataSourceFactory
    # defaultAutoCommit - the default auto commit state of the connection. if
    # not set the assumes the driver default
    # defaultAutoCommit =
    # (int) The maximum number of active connections that can be allocated from # this pool at the same time. The default value is 20
    maxActive = 10
    # (int) The maximum number of connections that should be kept in the pool at # all times. Default value is maxActive. Idle connections are checked # periodically (if enabled) and connections that been idle for longer than
    # minEvictableIdleTimeMillis will be released.
    maxIdle = 10
    # (int) The minimum number of established connections that should be kept in  the pool at all times. The connection pool can shrink below this number if # validation queries fail. Default value is 10
    minIdle = 5
    # (int)The initial number of connections that are created when the pool is # started. Default value is 10
    initialSize = 5
    # (int) The maximum number of milliseconds that the pool will wait (when # there are no available connections) for a connection to be returned before # throwing an exception. Default value is 30000 (30 seconds)
    # maxWaitMillis = 30000
    # (int) The number of milliseconds to sleep between runs of the idle # connection validation/cleaner thread. This value should not be set under 1
    # second. It dictates how often we check for idle, abandoned connections,
    # and how often we validate idle connections. The default value is 5000
    # (5 seconds).
    # timeBetweenEvictionRunsMillis = 5000
    # (int) The minimum amount of time an object may sit idle in the pool before
    # it is eligible for eviction. The default value is 60000 (60 seconds).
    # minEvictableIdleTimeMillis = 60000
    # (boolean) Flag to remove abandoned connections if they exceed the
    # removeAbandonedTimout. If set to true a connection is considered abandoned
    # and eligible for removal if it has been in use longer than the
    # removeAbandonedTimeout Setting this to true can recover db connections
    # from applications that fail to close a connection. See also
    # logAbandoned The default value is false.
    # removeAbandoned = false
    # (int) Timeout in seconds before an abandoned(in use) connection can be
    # removed. The default value is 60 (60 seconds). The value should be set to
    # the longest running query your applications might have.
    # removeAbandonedTimeout = 60
    # (boolean) Flag to log stack traces for application code which abandoned a
    # Connection. Logging of abandoned Connections adds overhead for every
    # Connection borrow because a stack trace has to be generated. The default
    # value is false.
    # logAbandoned = false
    # (long) Time in milliseconds to keep this connection. When a connection is
    # returned to the pool, the pool will check to see if the now
    # - time-when-connected > maxAge has been reached, and if so, it closes the
    # connection rather than returning it to the pool. The default value is 0,
    # which implies that connections will be left open and no age check will be
    # done upon returning the connection to the pool.
    # maxAgeMillis = 0

    Hi,
    I understand that you have raised a SR for this issue which is being worked upon by our team.
    Additionally, please note that the "Closed connection" error typically happens because a timeout parameter of some sort timed out the connection. This could be a parameter specified in your datasource, in your application code, or network (such as a firewall).
    You may also want to -
    1.  check your database to be sure it is not timing out connections.
    2.  Make sure your network is running efficiently and that it can provide fast connections,
    3. Check your Java Virtual Machine (JVM) Code Cache For Oracle Enterprise Data Quality for any memory related issues
    Thanks,
    Shwet

  • Hyperion IR Client 11.1.2.2 is not connecting to oracle database

    Hi all,
    I just recently migrate from Brio 8.3.1 to 11.1.2.2
    My machine is Microsoft Windows Server 2008 64-bit.
    My oracle client is 9.2.0 32-bit version
    When i try to connect one of my BQY reports to oracle database, it just throw error "Oracle Error -1: ORA-12154: TNS could not resolve the connecter identifier specified"
    I can ping the server. I can login using sqlplus.
    I already follow the instruction in this thread by adding ORACLE_HOME variable.
    Re: Hyperion IR client 11.1.2.2 is not connecting to database
    But still doesnt work.
    ORACLE_HOME: D:\OracleClient\ora92\bin;
    PATH: D:\OracleClient\ora92\bin;C:\Program Files (x86)\Oracle\jre\1.3.1\bin;C:\Program Files (x86)\Oracle\jre\1.1.8\bin;D:\Oracle\Middleware\EPMSystem11R1\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;D:\Oracle\Middleware\ohs\bin;D:\Oracle\Middleware\ohs\opmn\bin;D:\Oracle\Middleware\ohs\opmn\lib;D:\Oracle\Middleware\ohs\perl\bin;D:\Oracle\Middleware\EPMSystem11R1\common\ODBC-64\Merant\6.1\Drivers
    TNSNames:
    DWHPROD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS =
    (PROTOCOL = TCP)
    (HOST = server)
    (PORT = 1521)
    (CONNECT_DATA =
    (SERVICE_NAME = DWHPROD)
    SQLNET:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES)
    Any other solutions??
    Thanks.

    Just upgraded my Client version to 11gR2...
    Still the same.
    I cant connect to Oracle DB using Oracle Net.
    If i using ODBC, it works. But my user still insist that they use OracleNet connection for their BQY reports.
    Any suggestion what should i check??
    Thanks

  • FRM-92050 Connection to Server Error   [IP:Port]

    Java Exception:
    java.net.SocketException:Connection Reset By peer:JVM_recv in socket input stream read
    at.java.net.SocketInptStream.socketRead(Native Method)
    at.java.net.SocketInptStream.Read(Unknown Source)
    at.java.net.SocketInptStream.Read(Unknown Source)
    at.java.io.DataInputStream.readLine(Unknown Source)
    at orcale.forms.net.HTTPHeaderTool.parseResponseHeader(Unknown Source)
    at oracle.forms.net.HTTPStream.getResponse(Unknown Source)
    at oracle.forms.net.HTTPStream.flush(Unknown Source)
    at java.io.DataOutputStream.flush(Unknown Source)
    at oracle.forms.net.HTTPConnection.connect(Unknown Source)
    at oracle.forms.engine.Runform.initConnection(Unknown Source)
    at oracle.forms.engine.Runfrom.startRunform(Unknown Source)
    at oracle.forms.engine.Main.createRunform(Unknown Source)
    at oracle.forms.engine.Main.start(Unknown Source)
    at sun.applet.AppletPane.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    We are Running a Portal Server & Application Server is installed on it (Forms&Reports).
    Server is Windows2000.
    Users Connect our Portal Server by using a Html file on their Desktops
    Html Code calls;
    http://[IP]/dev60cgi/ifcgi60.exe?form=logon.fmx&userid=&otherparams=useSDI=yes&lookAndFeel=oracle&colorScheme=teal
    Sometimes Users cant connect and Upper Error was displayed.
    THX for helps...

    Hi,
    You might want to have a look at Metalink Note:189867.1 : ( Subject:      Troubleshooting FRM-92050, FRM-92100, FRM-92101, FRM-92102 in Oracle Forms ). The workarounds mentioned in the note might come in handy.
    Regards,
    Sandeep

  • Compile 시 PCC-F-02104, Unable to connect to Oracle 관련 문의드립니다.

    안녕하세요..
    PCC-F-02104, Unable to connect to Oracle 관련 문제점을 해결하고자 글을 올립니다.
    Oracle Client 10.2.0.1 -> Oracle DB 10.2.0.4 로 접속이 되는 구에서 아래와 같이
    Client에서 Compile이 안되는 현상이 있습니다.
    사례가 있으셨던 분들의 도움을 요청합니다.
    $ make all
    /user/oracle/product/11.2.0/bin/proc SQLCHECK=SEMANTICS userid=dbmuser/palm_7256@IBQMDB2 MODE=ORACLE DBMS=V8 parse=full
    include=/user/ibqm/ibqm/include include=/user/ibqm/ibqm/libs/include pclqf_sql.pc pclqf_sql.c
    Pro*C/C++: Release 11.2.0.1.0 - Production on Tue Nov 17 10:10:02 2009
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    System default option values taken from: /user/oracle/product/11.2.0/precomp/admin/pcscfg.cfg
    PCC-F-02104, Unable to connect to Oracle
    *** Error code 1
    make: Fatal error: Command failed for target `pclqf_sql.c'
    $
    확인해본 내용
    1. sqlplus로 원격 접속은 잘 이루어집니다
    2. 양 Client 및 DB를 모두 재구성 해도 결과는 동일합니다.
    3. sqlcheck=syntax 또는 none 으로 해서 compile 하면 SQLCHECK=SEMANTICS 으로 해야 한다는 Error 메시지가 계속 나옴

    It's my GNUmakefile:
    # can't use -fno-rtti yet because it causes problems with exception
    # handling in GCC 2.95.2
    CXXFLAGS = -g
    # uncomment the next two lines to do a release build
    # CXXFLAGS = -O2 -DNDEBUG -ffunction-sections -fdata-sections
    # LDFLAGS = -Wl,--gc-sections
    export LD_LIBRARY_PATH = /home/oracle/db_1/lib
    ARFLAGS = -cr     # ar needs the dash on OpenBSD
    RANLIB = ranlib
    UNAME = $(shell uname)
    CXXFLAGS := $(CXXFLAGS) -pipe -I/home/oracle/db_1/precomp/public -I/home/oracle/db_1/rdbms/public -I/home/oracle/db_1/rdbms/demo -I/home/oracle/db_1/plsql/public -I/home/oracle/db_1/network/public
    ifeq ($(UNAME),SunOS)
    LDLIBS =
    endif
    ifeq ($(CXX),gcc)     # for some reason CXX is gcc on cygwin 1.1.4
    CXX = g++
    endif
    PROC = $(ORACLE_HOME)/bin/proc
    PROCPPFLAGS = code=cpp cpp_suffix=cpp threads=yes lines=yes sqlcheck=full userid=user/pw@tnsname
    ORA_LIB = -L/hone/oracle/db_1/lib `cat /home/oracle/db_1/lib/ldflags` -lclntst9 `cat /home/oracle/db_1/lib/sysliblist` -ldl -lm
    PCS = $(wildcard *.pc)
    ifeq ($(PCS),)          # workaround wildcard function bug in GNU Make 3.77
    PCS = $(shell ls *.pc)
    endif
    ORAS = $(PCS:.pc=.cpp)
    CPPS = $(wildcard *.cpp)
    ifeq ($(CPPS),)          # workaround wildcard function bug in GNU Make 3.77
    CPPS = $(shell ls *.cpp)
    endif
    OBJS = $(CPPS:.cpp=.o)
    all:
         $(MAKE) precomp
         $(MAKE) citycardpro
    clean:
         $(RM) citycardpro $(ORAS) $(OBJS)
    precomp: $(ORAS)
    citycardpro: $(OBJS)
         $(CXX) -o $@ $(CXXFLAGS) $(OBJS) $(LDFLAGS) $(ORA_LIB) -lpthread -lcryptopp
    .SUFFIXES: .pc
    .pc.cpp:
         $(PROC) $(PROCPPFLAGS) $<
    .cpp.o: .pc
         $(CXX) $(CXXFLAGS) -c $<
    Proc as and sqlplus locate in $ORACLE_HOME/bin
    Thanks for reply.
    Andrew.

Maybe you are looking for