ORA-12154 Oracle Client Error with VirtualBox

This is rather lengthy and I am not sure this is the right forum for this question but it does involve the Oracle Client.
My development environment consists of a single workstation that is not connected to a network. The OS for the database is Linux CentOS (Red Hat Enterprise Linux 3 or 4). The database seems to run fine from the Linux OS - OEM and SQLPlus run as well as all the other utilities (lsnrctl, etc.).
The database front-end has to be Access 2003. This is requiring that I run Windows from VirtualBox so I can do the FE database development.
In addition to this when I try to create a system (or any other) DSN, I get the following behaviors.
- Start up the "Microsoft ODBC Administrator"
- Select the "System DSN" tab
- Click "Add..."
- Select driver: "Oracle in OraClieht11g_home1"
- Enter the following data in the following fields
Data Source Name: "orcl_hr"
TNS Service Name: "orcl"
- Click the "Test Connection" button
This initiates a wait of about 1 minute
- In the "Oracle ODBC Driver Connect" dialog, enter the following data in the fields
Service Name: "orcl"
User Name: "hr"
Password: <the hr password>
This initiates another wait of about 1 minute after which I get an error dialog with the following message:
Unable to connect
SQLState=08004
[oracle][ODBC][Ora]ORA-12154: TNS:could not resolve the connect identifier specified
On the Windows side the ORACLE_SID is defined as "orcl"
On the Linux (db server) side, the following files have the listed contents:
Listener.ora
LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
      (ADDRESS = (PROTOCOL = TCP)(HOST = local.net)(PROT = 1521))
  )sqlnet.ora
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)tnsnames.ora
ORCL =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = local.net)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = orcl)
  )Another data point: I notice that the client software has a SqlPlus application. When I try to log on to the database through this app I get the error: ORA-12560: TNS:protocol adapter error.
Is there a VirtualBox problem? Can it be fixed?
Edited by: DBelt on Jun 29, 2009 10:19 AM

The OracleClient install does not create either of the sqlnet.ora or tnsnames.ora files. These are created in the ORACLE_HOME/network/admin direcory of the host machine, however -- as well as the listener.ora file.
One question I have before we procede much further is what is the "Instant Client" anyway? As I said earlier, I am not even sure this is the proper forum for my question since it involves the OracleClient software -- I know what the OracleClient is but not the "Instant Client".
That said, I am able to telnet port 1521 from the host if I uset the literal IP address only (using <local.net> does not work). I am completely unable to ping the host at all from VirtualBox (I am operating in NAT mode and this seems to be a documented "feature" of VBox).
The "sqlplus user/pwd@(DESCRIPTION=...)" comment does not work. I have tried several iterations: 1) as provided above with the double-quotes resulting in a display of the proper syntax for invoking sqlplus, 2) without the quotes, and 3) replacing the double-quotes with parentheses. The outcome of experiments 2) and 3) is a syntax error occurring at "(" for the former or at user/pwd for the latter. (I am substituting proper values for the user, pwd, and local.net placeholders.)
I am starting to wonder if my problem may lie in trying to run the client from VirtualBox in NAT mode.
Another question has to do with the ODBC Administrator -- Where does it get its list of "TNS Service Names"?

Similar Messages

  • ORA-12154 TNS resolve error with ProC

    <p>Hi all,
    <br>
    <p>
    I have a program written in ProC which works fine when it connects to a local database. However, it is unable to connect to a remote database. The code for making the connection is:
    <p>
    <i>
    EXEC SQL BEGIN DECLARE SECTION;<br>
    char name[20];<br>
    char pwd[20];<br>
    char dbname[20];<br>
    char dbstring[20];<br>
    EXEC SQL END DECLARE SECTION;<br>
    strcpy(name, "admin");<br>
    strcpy(pwd, "adminadmin");<br>
    strcpy(dbname, "userdb");<br>
    strcpy(dbstring, "userdb");<br>
    EXEC SQL WHENEVER SQLERROR DO printf( "Connection Error = %s", sqlca.sqlerrm.sqlerrmc);<br>
    EXEC SQL CONNECT :name IDENTIFIED BY :pwd AT :dbname USING :dbstring;<br>
    </i>
    <p>
    The content of fthe file tnsnames.ora:<br>
    <i>
    userdb =<br>
    (DESCRIPTION =<br>
    (ADDRESS_LIST =<br>
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.30.21)(PORT = 1521))<br>
    )<br>
    (CONNECT_DATA =<br>
    (SID = userdb)<br>
    )<br>
    )<br>
    </i>
    <p>
    I can "tnsping userdb" and "telnet 192.168.30.21 1521" but the program keeps generating the ORA-12154 connection error.
    The version of my oracle client is 9.2.0.1.0
    The version of the db server is 8.1.7
    Could any one give me some advice please. I had been searching for the solutions for days but failed. Please help. Thanks.

    <p>
    i do a file search "find / -name tnsnames.ora", here is the result:
    <p>
    /home/oracle/dbscript/database/tnsnames.ora<br>
    /u00/app/oracle/product/9.2.0.1.0/network/admin/samples/tnsnames.ora<br>
    /u00/app/oracle/product/9.2.0.1.0/network/admin/tnsnames.ora<br>
    <p>
    the first one is not found in the path

  • 'The provider is not compatible with the version of Oracle client error' popping up randomly

    I have several asp.net pages running on an application server which generally work without issue. However I've had the Server error "The provider is not compatible with the version of Oracle client error" crop up twice seemingly randomly that affects all of my pages that interact with the DB server. A simple reboot of the application server solves the issue and the pages run again with no problems. What could be causing this problem?

    Sorry if I wasn't clear initially. Basically I've got 2 different applications in 2 different IIS folders on the webserver, each with several asp.net pages. They work fine for a period of time and then inexplicably that error gets thrown and affects all of my asp.net pages in both applications. The admin tells me that the other older applications on the same server are unaffected. A simple reboot of the server fixes the issue until the next time it happens (I can't identify any consistent point where this crash happens, the admin originally suggested that there might be something in my code causing a memory issue). I had the same applications hosted on my local machine for a time and this never happened as well as it never happening when I run them in localhost. How can I trace whether or not another part of my application is trying to load ODP.NET by itself? How can I verify the DLL search order for my application?

  • ERROR at line 1: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine ORA-20000: Oracle Text error: DRG-10700: preference does not exist: global_lexer ORA-06512: at "CTXSYS.DRUE", line 160 ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366

    database version 11.2.0.4
    rac two node
    CREATE INDEX MAXIMO.ACTCI_NDX3 ON MAXIMO.ACTCI
    (DESCRIPTION)
    INDEXTYPE IS CTXSYS.CONTEXT
    PARAMETERS('lexer global_lexer language column LANGCODE')
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-10700: preference does not exist: global_lexer
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366

    Like the error message says, you don't have a global_lexer.  So, you need to create a global_lexer and that lexer must have at least a default sub_lexer, then you can use that global_lexer in your index parameters.  Please see the demonstration below, including reproduction of the error and solution.
    SCOTT@orcl12c> -- reproduction of problem:
    SCOTT@orcl12c> CREATE TABLE actci
      2    (description  VARCHAR2(60),
      3      langcode     VARCHAR2(30))
      4  /
    Table created.
    SCOTT@orcl12c> CREATE INDEX ACTCI_NDX3 ON ACTCI (DESCRIPTION)
      2  INDEXTYPE IS CTXSYS.CONTEXT
      3  PARAMETERS('lexer global_lexer language column LANGCODE')
      4  /
    CREATE INDEX ACTCI_NDX3 ON ACTCI (DESCRIPTION)
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    DRG-10700: preference does not exist: global_lexer
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 366
    SCOTT@orcl12c> -- solution:
    SCOTT@orcl12c> DROP INDEX actci_ndx3
      2  /
    Index dropped.
    SCOTT@orcl12c> BEGIN
      2    CTX_DDL.CREATE_PREFERENCE ('global_lexer', 'multi_lexer');
      3    CTX_DDL.CREATE_PREFERENCE ('english_lexer', 'basic_lexer');
      4    CTX_DDL.ADD_SUB_LEXER ('global_lexer', 'default', 'english_lexer');
      5  END;
      6  /
    PL/SQL procedure successfully completed.
    SCOTT@orcl12c> CREATE INDEX ACTCI_NDX3 ON ACTCI (DESCRIPTION)
      2  INDEXTYPE IS CTXSYS.CONTEXT
      3  PARAMETERS('lexer global_lexer language column LANGCODE')
      4  /
    Index created.

  • Which oracle client works with both Oracle 11.2.0.2 and BizTalk 2006 R2

    Hi there
    My Oracle11.2.0.2 is installed on linux server. My Biztalk2006R2 is installed on Windows Server 2003 R2 x64. I have already installed BizTalk Adapter for Oracle on the Biztalk server and now require to install Oracle Client to make Biztalk able to retrieve data from Oracle11.2.0.2 using the oracle client.
    From the following link,
    http://msdn.microsoft.com/en-us/library/aa559822%28v=BTS.20%29.aspx
    I came to know that the only oracle clients compatible with Biztalk adapter for oracle are as below:
    1) Oracle client 8i
    2) oracle client 9i
    3) oracle client 10i
    Now I need to install an oracle client on biztalk server in order to make biztalk talk to oracle and retrieve data from it.
    Question1: which of the above clients should i install on biztalk server that is compatible with both Oracle11.2.0.2 as well as Biztalk server 2006 R2?
    Question2: How to install and configure this client to make it work correctly?
    Please help.. thanks.
    Edited by: manibest on 19-Dec-2012 03:27
    Edited by: manibest on 19-Dec-2012 03:27

    The Biztalk Adapter interface with Oracle software has information, requirements per referenced document that does not make sense.
    E.g. "10i" does not exist and the requirement "Oracle ODBC driver 9.2.0.5.4" means that only 9.2 Client can be used. (Mixing parts from one Database Client product version with another version is not allowed/supported/certified.)
    Btw, does that machine happen to have Itanium hardware? (probably no, since you stated x64)
    For Oracle's OS requirements, 2003 was certified with/from 9.2.0.3 (and likely also terminal patch set version 9.2.0.8). Not sure about Server 2003 R2, 32 or 64-bit. I'm pretty sure 10.2 was certified on 2003 R2, but the note likely refers to 10.1 versions (before it was known it would be labeled 10g, g for grid replacing the i ).
    This FAQ may have some more information: http://www.oracle.com/technetwork/database/windows/faq-100614.html
    For Oracle client - server interoperability and certification, there's a support matrix on MOS. See doc id 207303.1.
    It seems 9.2 is supported on the wire to operate with 11.2 server, but Client with at least patch set 9.2.0.4 is required.
    So, I guess best bet is to find updated requirements.
    If you manage to get hold of 9.2.0.5, after verifying that 2003 R2 is ok, then it looks like the puzzle could be put together for a complete picture.
    For ease of install, take a look at the Instant Client. (However, there's no 9.2 IC, that type of client install came later)
    http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html
    Edit;
    some corrections, specially about 9.2 version
    Edited by: orafad on Dec 19, 2012 10:58 PM

  • Error ORA-12154 trying to connect with instant client 11g / LDAP on Ubuntu

    Hello,
    I have successfully installed instant client 11.2.0.2 and sqlplus on my Ubuntu 11.04 workstation. I am able to successfully connect to DB's defined in tnsnames.ora, but when the resolution is (or should be) by LDAP, I get error
    ORA-12154: TNS:could not resolve the connect identifier specified
    Note: while it's fine for testing, it's not a viable option to setup all the DB's defined in the OID in tnsnames.ora - I need to use LDAP.
    My setup is as follows:
    Install folder: /opt/oracle/instantclient_11_2
    TNS_ADMIN=/opt/oracle/instantclient_11_2/
    sqlnet.ora
    NAMES.DIRECTORY_PATH=(TNSNAMES,LDAP)
    I am certain that tnsnames.ora and ldap.ora are valid, as I can connect successfully on another machine with the full client installed using the same files.
    I tried to setup tracing in sqlnet.ora as follows
    TRACE_LEVEL_CLIENT = SUPPORT
    TRACE_DIRECTORY_CLIENT = /tmp
    TRACE_FILE_CLIENT = sqlnet.trc
    but not trace file gets generated in /tmp - am I doing something wrong ? (Note, I also tried to set DIAG_ADR_ENABLED=OFF as suggested by Laurenz Albe in Instant client don't work trace but that did not help)
    I checked DocID=359206.1 but I don't think that applies as I'm on 11g.
    Hope someone can help. Thanks in advance !

    rgoold, you are a star ! I should have thought about line endings of course. Many thanks for your suggestion, that fixed the problem.
    # file *.ora
    ldap.ora: ASCII text, with CRLF line terminators
    sqlnet.ora: ASCII text, with CRLF line terminators
    # dos2unix *.ora
    dos2unix: converting file ldap.ora to UNIX format ...
    dos2unix: converting file sqlnet.ora to UNIX format ...
    # ./sqlplus -L user@database
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Sep 5 15:26:16 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    WOHOOOOO !!! :-)

  • Oracle 11.1g  client error with TimesTen

    Dear all,
    I am not sure this is the correct forum to post. I suspect that I have problem with Oracle Client 11.1g for HP-UX 64 bit v11.31. I configured Cache Connect of TimesTen v7.0.5 to use with Oracle DB 11.1g.
    I have the error that is related to Oracle Client library as following:
    5102: Cannot load backend library 'libclntsh.so' for Cache Connect. OS
    error message 'Unsatisfied code symbol 'sem_destroy' in load module
    '/u01/app/oracle/product/11.1.0/lib/libclntsh.so'.'.
    I suspect that the error is due to the built of Oracle Client 11.1g. Any help to solve this error is highly appreciated. Thank you.
    $ sh bin/ttIsql demo
    Copyright (c) 1996-2008, Oracle. All rights reserved.
    Type ? or "help" for help, type "exit" to quit ttIsql.
    All commands must end with a semicolon character.
    connect "DSN=demo";
    Enter password for 'testuser':
    Connection successful:
    DSN=demo;UID=testuser;DataStore=/home/timesten/demo;DatabaseCharacterSet=US7ASCII;ConnectionCharacterSet=US7ASCII;DRIVER=/etc/TimesTen/timesten70/lib/libtten.so;OracleId=demodb;PermSize=128;TempSize=128;TypeMode=0;
    (Default setting AutoCommit=1)
    Command> call ttCacheUidPwdSet('testuser','testuser');
    5102: Cannot load backend library 'libclntsh.so' for Cache Connect. OS
    error message 'Unsatisfied code symbol 'sem_destroy' in load module
    '/u01/app/oracle/product/11.1.0/lib/libclntsh.so'.'.
    The command failed.
    Command>
    ##############################

    I have found a solution for this issue. Thanks for reading.
    Cache Connect TimesTen v7.0.5 and Oracle DB 11.1g error

  • ORA-01034: ORACLE not available with oracle 10.2 in Ubuntu server 11.10

    Hi all,
    I have this error message with my new installed oracle-xe 10g (10.2):
    luc@cuba:~$ sqlplus system
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jan 9 23:25:43 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    Or if I try with SYSDBA:
    luc@cuba:~$ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jan 9 23:34:34 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    If a did the status command:
    luc@cuba:~$ sudo /etc/init.d/oracle-xe status
    [sudo] password for luc:
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-JAN-2012 23:29:00
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 09-JAN-2012 22:44:12
    Uptime 0 days 0 hr. 44 min. 47 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=cuba)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    What I did wrong?
    Regards,

    user13538830 wrote:
    Hi all,
    I have this error message with my new installed oracle-xe 10g (10.2):
    luc@cuba:~$ sqlplus system
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jan 9 23:25:43 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password:
    ERROR:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    Or if I try with SYSDBA:
    luc@cuba:~$ sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jan 9 23:34:34 2012
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    If a did the status command:
    luc@cuba:~$ sudo /etc/init.d/oracle-xe status
    [sudo] password for luc:
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-JAN-2012 23:29:00
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 09-JAN-2012 22:44:12
    Uptime 0 days 0 hr. 44 min. 47 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
    Listener Log File /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=cuba)(PORT=1521)))
    Services Summary...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    What I did wrong?First, you installed on an unsupported OS.
    Second, you apparently did not Read The Fine Manual, Installation Guide
    post results from following OS command
    env | sort

  • Oracle Client error after Updating from SuSE9.0 Pro to SuSE9.1 Pro

    Hello,
    I used Oracle Client on a SuSE 9.0 Professional Workstation. Everything worked fine until the Moment I updated to SuSE 9.1 Pofessional. When I now try to start the Enterprise-Manager I get the following message:
    /opt/oracle/jre/1.1.8/bin/../bin/i686/native_threads/jre: relocation error: /opt/oracle/jre/1.1.8/bin/../lib/i686/native_threads/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference
    I think that there is a problem with the version of the glibc or the JRE.
    Any ideas what to do?
    Thanks
    Thomas Adamski

    You should update all of the levels and retry. It may be a bug in 6.0.1. You have 5 more updates to go. That may not resolve the issue, in which case come back and indicate the problem. However, with what you are saying about Mozilla, it sounds like you need to update IE (I am not sure what you mean by 6 & 7, unless you are talking about different machines). Sometimes you have to do a fix on Acrobat after OFFICE is updated as I recall.
    I am only making suggestions about how to approach the problem. I have no clue what the problem is an can only suggest the steps I might take to resolve the issue. I forgot whether the plugin for IE is from Adobe or MS.

  • Oracle Client installs with validated rpms

    Hello,
    I'm new to the Oracle on Linux world (OL6), so hoping someone could point me in the right direction.
    I'm needing to set up some Oracle clients (11.2) on middle tier/application servers
    Looking around for a simple/repeatable way of meeting the pre-install requirements and was considering using the "validated" rpms.
    The oracle-rdbms-server-11gR2-preinstall rpm i believe is really for a database server setup, so it's doing some group/kernel parameter/package setup that i suspect isn't really required for a client only setup.
    Do people use those validated rpms for client only installs?
    Might there be a "Oracle Validated Client preinstall" rpm out there?
    Should I just script the package installs and user/group creation?
    Looking for some real world suggestions on how to make the client requirements/install process quick and easy!
    Thanks
    Steve

    lewonkas wrote:
    I'm needing to set up some Oracle clients (11.2) on middle tier/application servers Do you need the full client? We provide the Oracle Instant Client RPMs on ULN, which can be automatically installed.
    Do people use those validated rpms for client only installs?No idea.
    Might there be a "Oracle Validated Client preinstall" rpm out there?Nope.
    Looking for some real world suggestions on how to make the client requirements/install process quick and easy!If you're registered with ULN:
    1. Subscribe your server(s) to the ol6_<arch>_oracle channel
    2. # yum install oracle-instantclient11.2-basic
    The full list of Instant Client RPMs:
    oracle-instantclient11.2-basic
    oracle-instantclient11.2-basiclite
    oracle-instantclient11.2-devel
    oracle-instantclient11.2-jdbc
    oracle-instantclient11.2-odbc
    oracle-instantclient11.2-precomp
    oracle-instantclient11.2-sqlplus
    oracle-instantclient11.2-tools

  • How does Oracle client communicate with a database server

    Looking to idenify how Oracle Database Client for OpenVMS communicates with database server and whether the protocol used is secure. Realize that it is using whatever the configured network protocol is (ie. tcpip) but is languauge it uses ( ie. SQL, etc..)  secured/encrypted and if not what steps can be taken to encypt

    Arizuddin wrote:
    I have installed oracle client 10g on client pc for getting connection to Oracle databse 10g (runng on windows server) usng ODBC through SAGE ACC PAC (ERP). Working fine earlier. Now all of a suddent user starts complaining about database connection. When checked his pc registry values. Two values of ODBC keys are reset to null. Those are DSN and DRIVER values. How come this values reset to null? What is causing this to reset?Nothing in this has anything to do with the sever. You need to check what the client did on his machine that caused registry to get modified?
    How does oracle ODBC works with Oracle database? Need to know all the steps involved?The connectoin from any client is initiated by a client process. This client process is supposed to get a server process to do his work. So if this is done, the client can work now with oracle . Please see the concepts guide for the gory details of the entire process.
    HTH
    Aman....

  • ORA-06502: PL/SQL error with dimensions and roles

    Hi everyone,
    When executing a mapping that loads a cube we are always getting that ORA-06502: PL/SQL error character string buffer too small
    The cube contains a number of dimensions, some of them with roles. We've checked that the error appears when we use two different lookup operators to fill dimension atributtes in the cube and its correspondent role. If we map dimension attributes with lookup operator, and the role attributes with constants, the mapping executes without any error. Moreover, even thought it doesnt make any sense, if we map the role dimension attributes with a lookup operator linked to a different dimension, it works too.
    We think that this could be due to attributes names, maybe they are too long, but we have tried to make them shorter and still getting the same error.
    Any ideas of what could be happening?
    Thank you so much in advance.

    The return datatype in a PLSQL function is unconstrained. Which means it does not have a size.
    The size is declared on the receiving end.
    What size variable are you trying to return your value into?
    Here is an example...
    SQL>create or replace function my_func
      2  return varchar2
      3  is
      4  begin
      5    return USER;
      6  end;
      7  /
    Function created.
    SQL>declare
      2    my_string varchar2(30);
      3  begin
      4    my_string := my_func;
      5  end;
      6  /
    PL/SQL procedure successfully completed.
    SQL>declare
      2    my_string varchar2(3);
      3  begin
      4    my_string := my_func;
      5  end;
      6  /
    declare
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    ORA-06512: at line 4

  • Installing oracle client 10g with response file

    Hello,
    I'm trying to do a installation of oracle 10g client. I did a setup with the record option (to create responsefile). Everything is installed and works well. When I use the responsefile created from the record option, it does not install all option I had chosen, allthough the responsefile gives them.
    this is the responsefile:
    ## Copyright (c) 1999, 2004 Oracle. All rights reserved. ##
    ## Specify values for the variables listed below to customize ##
    ## your installation. ##
    ## Each variable is associated with a comment. The comment ##
    ## identifies the variable type. ##
    ## Please specify the values in the following format: ##
    ## Type Example ##
    ## String "Sample Value" ##
    ## Boolean True or False ##
    ## Number 1000 ##
    ## StringList {"String value 1","String Value 2"} ##
    ## The values that are given as <Value Required> need to be ##
    ## specified for a silent installation to be successful. ##
    ## This response file is generated by Oracle Software ##
    ## Packager. ##
    RESPONSEFILE_VERSION=2.2.1.0.0
    #Name : UNIX_GROUP_NAME
    #Datatype : String
    #Description: Unix group to be set for the inventory directory. Valid only in Unix platforms.
    #Example: UNIX_GROUP_NAME = "install"
    UNIX_GROUP_NAME=<Value Unspecified>
    #Name : FROM_LOCATION
    #Datatype : String
    #Description: Complete path to the products.xml.
    #Example: FROM_LOCATION = "..\stage\products.xml"
    FROM_LOCATION="..\stage\products.xml"
    #Name : FROM_LOCATION_CD_LABEL
    #Datatype : String
    #Description: This variable should only be used in multi-CD installations. It includes the label of the compact disk where the file "products.xml" exists. The label can be found in the file "disk.label" in the same directory as products.xml.
    #Example: FROM_LOCATION_CD_LABEL = "CD Label"
    FROM_LOCATION_CD_LABEL=<Value Unspecified>
    #Name : ORACLE_HOME
    #Datatype : String
    #Description: Complete path of the Oracle Home.
    #Example: ORACLE_HOME = "C:\OHOME1"
    ORACLE_HOME="C:\Oracle\product\10\cl_cip1"
    #Name : ORACLE_HOME_NAME
    #Datatype : String
    #Description: Oracle Home Name. Used in creating folders and services.
    #Example: ORACLE_HOME_NAME = "OHOME1"
    ORACLE_HOME_NAME="CLIENT10"
    #Name : TOPLEVEL_COMPONENT
    #Datatype : StringList
    #Description: The top level component to be installed in the current session.
    #Example: TOPLEVEL_COMPONENT = {"oracle.client","10.1.0.2.0"}
    TOPLEVEL_COMPONENT={"oracle.client","10.1.0.2.0"}
    #Name : SHOW_SPLASH_SCREEN
    #Datatype : Boolean
    #Description: Set to true if the initial splash screen in OUI needs to be shown.
    #Example: SHOW_SPLASH_SCREEN = true
    SHOW_SPLASH_SCREEN=true
    #Name : SHOW_WELCOME_PAGE
    #Datatype : Boolean
    #Description: Set to true if the Welcome page in OUI needs to be shown.
    #Example: SHOW_WELCOME_PAGE = false
    SHOW_WELCOME_PAGE=true
    #Name : SHOW_CUSTOM_TREE_PAGE
    #Datatype : Boolean
    #Description: Set to true if the custom tree page in OUI needs to be shown.
    #Use this page to select or de-select dependencies. This page appears only in a custom install type.
    #Example: SHOW_CUSTOM_TREE_PAGE = false
    SHOW_CUSTOM_TREE_PAGE=true
    #Name : SHOW_COMPONENT_LOCATIONS_PAGE
    #Datatype : Boolean
    #Description: Set to true if the component locations page in OUI needs to be shown.
    #This page only appears if there are products whose installed directory can be changed.
    #If you set this to false you will prevent the user from being able to specify alternate directories.
    #Example: SHOW_COMPONENT_LOCATIONS_PAGE = false
    SHOW_COMPONENT_LOCATIONS_PAGE=true
    #Name : SHOW_SUMMARY_PAGE
    #Datatype : Boolean
    #Description: Set to true if the summary page in OUI needs to be shown.
    #The summary page shows the list of components that will be installed in this session.
    #Example: SHOW_SUMMARY_PAGE = true
    SHOW_SUMMARY_PAGE=true
    #Name : SHOW_INSTALL_PROGRESS_PAGE
    #Datatype : Boolean
    #Description: Set to true if the install progress page in OUI needs to be shown.
    #This page shows the current status in the installation. The current status includes the product being installed and the file being copied.
    #Example: SHOW_INSTALL_PROGRESS_PAGE = true
    SHOW_INSTALL_PROGRESS_PAGE=true
    #Name : SHOW_REQUIRED_CONFIG_TOOL_PAGE
    #Datatype : Boolean
    #Description: Set to true if the required config assistants page in OUI needs to be shown.
    #This page shows the list of required configuration assistants that are part of this installation.
    #It shows the status of each assistant, including any failures with detailed information on why it failed.
    #Example: SHOW_REQUIRED_CONFIG_TOOL_PAGE = true
    SHOW_REQUIRED_CONFIG_TOOL_PAGE=true
    #Name : SHOW_CONFIG_TOOL_PAGE
    #Datatype : Boolean
    #Description: Set to true if the config assistants page in OUI needs to be shown.
    #This page shows the list of configuration assistants that are part of this installation and are configured to launch automatically.
    #It shows the status of each assistant, including any failures with detailed information on why it failed.
    #Example: SHOW_CONFIG_TOOL_PAGE = true
    SHOW_CONFIG_TOOL_PAGE=true
    #Name : SHOW_RELEASE_NOTES
    #Datatype : Boolean
    #Description: Set to true if the release notes of this installation need to be shown at the end of installation.
    #This dialog is launchable from the End of Installation page and shows the list of release notes available for the products just installed.
    # This also requires the variable SHOW_END_SESSION_PAGE variable to be set to true.
    #Example: SHOW_RELEASE_NOTES = true
    SHOW_RELEASE_NOTES=true
    #Name : SHOW_ROOTSH_CONFIRMATION
    #Datatype : Boolean
    #Description: Set to true if the Confirmation dialog asking to run the root.sh script in OUI needs to be shown.
    #Valid only for Unix platforms.
    #Example: SHOW_ROOTSH_CONFIRMATION = true
    SHOW_ROOTSH_CONFIRMATION=true
    #Name : SHOW_END_SESSION_PAGE
    #Datatype : Boolean
    #Description: Set to true if the end of session page in OUI needs to be shown.
    #This page shows if the installation is successful or not.
    #Example: SHOW_END_SESSION_PAGE = true
    SHOW_END_SESSION_PAGE=true
    #Name : SHOW_EXIT_CONFIRMATION
    #Datatype : Boolean
    #Description: Set to true if the confirmation when exiting OUI needs to be shown.
    #Example: SHOW_EXIT_CONFIRMATION = true
    SHOW_EXIT_CONFIRMATION=true
    #Name : NEXT_SESSION
    #Datatype : Boolean
    #Description: Set to true to allow users to go back to the File Locations page for another installation. This flag also needs to be set to true in order to process another response file (see NEXT_SESSION_RESPONSE).
    #Example: NEXT_SESSION = true
    NEXT_SESSION=false
    #Name : NEXT_SESSION_ON_FAIL
    #Datatype : Boolean
    #Description: Set to true to allow users to invoke another session even if current install session has failed. This flag is only relevant if NEXT_SESSION is set to true.
    #Example: NEXT_SESSION_ON_FAIL = true
    NEXT_SESSION_ON_FAIL=true
    #Name : NEXT_SESSION_RESPONSE
    #Datatype : String
    #Description: Optionally specifies the full path of the next session's response file. If only a file name is specified, the response file is retrieved from the <TEMP>/oraInstall directory. This variable is only active if NEXT_SESSION is set to true.
    #Example: NEXT_SESSION_RESPONSE = "nextinstall.rsp"
    NEXT_SESSION_RESPONSE=<Value Unspecified>
    #Name : DEINSTALL_LIST
    #Datatype : StringList
    #Description: List of components to be deinstalled during a deinstall session.
    #Example: DEINSTALL_LIST = {"oracle.client","10.1.0.2.0"}
    DEINSTALL_LIST={"oracle.client","10.1.0.2.0"}
    #Name : SHOW_DEINSTALL_CONFIRMATION
    #Datatype : Boolean
    #Description: Set to true if deinstall confimation is needed during a deinstall session.
    #Example: SHOW_DEINSTALL_CONFIRMATION = true
    SHOW_DEINSTALL_CONFIRMATION=true
    #Name : SHOW_DEINSTALL_PROGRESS
    #Datatype : Boolean
    #Description: Set to true if deinstall progress is needed during a deinstall session.
    #Example: SHOW_DEINSTALL_PROGRESS = true
    SHOW_DEINSTALL_PROGRESS=true
    #Name : ACCEPT_LICENSE_AGREEMENT
    #Datatype : Boolean
    #Description: By setting this variable to true, you are accepting the license agreement. This variable is used only for silent installations.
    #Example: ACCEPT_LICENSE_AGREEMENT = true
    ACCEPT_LICENSE_AGREEMENT=false
    #Name : SELECTED_LANGUAGES
    #Datatype : StringList
    #Description: Languages in which the components will be installed.
    #Component : oracle.client
    SELECTED_LANGUAGES={"en"}
    #Name : INSTALL_TYPE
    #Datatype : String
    #Description: Installation type of the component.
    #Component : oracle.client
    INSTALL_TYPE="Custom"
    #Name : DEPENDENCY_LIST
    #Datatype : String
    #Description: List of dependees that need to be installed along with this product.
    #Component : oracle.client
    oracle.client:DEPENDENCY_LIST="{oracle.networking.netcltprod:10.1.0.2.0,oracle.rdbms.sqlplus:10.1.0.2.0,oracle.winprod:10.1.0.2.0,oracle.swd.opatch:10.1.0.2.0}"
    #Name : DEPENDENCY_LIST
    #Datatype : String
    #Description: List of dependees that need to be installed along with this product.
    #Component : oracle.winprod
    oracle.winprod:DEPENDENCY_LIST="{oracle.p2k.odbc:10.1.0.2.0,oracle.p2k.oledb:10.1.0.2.0}"
    #Name : OPTIONAL_CONFIG_TOOLS
    #Datatype : String
    #Description: #The following choices are available. The value should contain only one of these choices.
    #The choices are of the form Internal Name : External name. Please use the internal name while specifying the value.List of optional config assistants that need to be launched.
    # netca, : Oracle Net Configuration Assistant
    # netca_deinst, : Oracle Net Configuration Assistant - Deinstall Script
    #Example: OPTIONAL_CONFIG_TOOLS = {"netca"}
    #Component : oracle.networking.netca
    oracle.networking.netca:OPTIONAL_CONFIG_TOOLS="{}"
    #Name : OPTIONAL_CONFIG_TOOLS
    #Datatype : String
    #Description: #The following choices are available. The value should contain only one of these choices.
    #The choices are of the form Internal Name : External name. Please use the internal name while specifying the value.List of optional config assistants that need to be launched.
    # vipca, : Virtual Private IP Configuration Assistant
    #Example: OPTIONAL_CONFIG_TOOLS = {"vipca"}
    #Component : oracle.options.ops.vipca
    oracle.options.ops.vipca:OPTIONAL_CONFIG_TOOLS="{}"
    #Name : OPTIONAL_CONFIG_TOOLS
    #Datatype : String
    #Description: #The following choices are available. The value should contain only one of these choices.
    #The choices are of the form Internal Name : External name. Please use the internal name while specifying the value.List of optional config assistants that need to be launched.
    # LocalConfig, : Deinstall Oracle Cluster Synchronization Service
    #Example: OPTIONAL_CONFIG_TOOLS = {"LocalConfig"}
    #Component : oracle.options.ops.csscommon
    oracle.options.ops.csscommon:OPTIONAL_CONFIG_TOOLS="{}"
    #Name : s_recodHTTPPort
    #Datatype : String
    #Description: HTTP listener port for the recod service
    #Component : oracle.cartridges.ordmts
    s_recodHTTPPort=<Value Unspecified>
    products not installad for example: odbc, oledb ...
    in oracle log I found this:
    oracle.p2k.oo4o Product Location: Empty path specified.
    oracle.p2k Product Location: Empty path specified.
    Setting the PROD_HOME variable of 'oracle.p2k.oledb_10.1.0.2.0' to ''. Received the value from the variable calculation.
    oracle.p2k.oledb Product Location: Empty path specified.
    for installation: setup.exe -responsefile pathresponsefile\resp.rp -silent
    is there something that I'm missing or doing wrong?
    thx
    Message was edited by:
    duvelke

    Well, from our .rsp files for Database Client installs:
    oracle.client:DEPENDENCY_LIST={"oracle.winprod:10.2.0.1.0"}
    oracle.winprod:DEPENDENCY_LIST={"oracle.odbc:10.2.0.1.0"}
    # ODBC
    #oracle.winprod:DEPENDENCY_LIST={"oracle.odbc:10.2.0.1.0"}
    # OLE DB
    #oracle.winprod:DEPENDENCY_LIST={"oracle.ntoledb:10.2.0.1.0"}
    # ODP.NET för .NET v1
    #oracle.winprod:DEPENDENCY_LIST={"oracle.ntoledb.odp_net:10.2.0.1.0"}
    If you need ODP for .NET v2, you should complement the Oracle Home with install from ODAC 10.2.0.2.x (what a mess, isn't it).

  • Cannot create client error with sample SAP JCO code

    Hi,
    I am encountering the following error when trying to connect to a R/3 system using the WAS 6.40 on my laptop. I have cut and pasted the Example1 code from the SAPJCO into my NetWeaver developer studio IDE.
    java.lang.UnsatisfiedLinkError: no CpicNative in java.library.path
         at java.lang.ClassLoader.loadLibrary(Unknown Source)
         at java.lang.Runtime.loadLibrary0(Unknown Source)
         at java.lang.System.loadLibrary(Unknown Source)
         at com.sap.mw.rfc.api.RfcApi.initializeDLL(RfcApi.java:1285)
         at com.sap.mw.rfc.api.RfcApi.<clinit>(RfcApi.java:1299)
         at com.sap.mw.jco.MiddlewareJRfc.<clinit>(MiddlewareJRfc.java:228)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Unknown Source)
         at com.sap.mw.jco.JCO.<clinit>(JCO.java:630)
         at com.sap.mw.jco.support.JRfcTest.correctProperties(JRfcTest.java:1043)
         at com.sap.mw.jco.support.JRfcTest.initCall(JRfcTest.java:1072)
         at com.sap.mw.jco.support.JRfcTest.runConnectionTest(JRfcTest.java:735)
         at com.sap.mw.jco.support.JRfcTest.main(JRfcTest.java:202)
    Cannot create client, error message:
    java.lang.NoClassDefFoundError occured:
       Message:null
    I have a system user defined in R/3 but still this isn't working. I am new to Java so any light you could shed would be greatly appreciated.
    Cheers and TIA,
    Rich

    The unsatisfied link error should be because sapjco.jar cannot link to the sapjco.dll.
    I tried to simulate the problem by
    1) Opening a java perspective.
    2) Create a new 'java' project.
    3) Add libraries sapjco.jar from the path <Drive>:\Program Files\SAP\JDT\eclipse\plugins\com.sap.mw.jco\lib
    You will see sapjcorfc.dll in this path
    4)Add a new class file ,Wrote a sample jco code and executed and it worked..
    The key is to have the sapjcorfc.dll in the same directory as sapjco.jar
    I hope this helps

  • Can I use regular Oracle Client version with Oracle XE Database?

    Should it work? Should it be legal or not?

    The regular Oracle client is only for those who have a "licensed" Oracle database server. For Oracle XE, it is NOT ok to use the full Oracle client. However, you can use the instant client against Oracle XE. Problem is that client utilities such as sqlldr won't be available in the instant client. Another option will be (if you are using linux) is to mount the Oracle XE installation directory to other machines as your client. Unfortunately the standalone XE client is not that useful given that it only includes sqlplus (which is why I recommend using instant client instead).

Maybe you are looking for

  • Problem with Oracle SOA Suite/BPM Suite VirtualBox  Appliance

    I have installed this virtual machine. Following the instructions and after discovering that password o root and oracle are diferent than indicated in the documentation, when I login as Oracle I do not get the menu 1- Start WLS Servers, 2- Stop WLS S

  • Filter view with session variable does not display value properly.

    Hi All, I have a very unique issue and I am not sure if anyone ran into this before. I have a prompt in my dashboard and a link to a report. The session variable default the value to the current value (term) when I click the link to the report I get

  • How to store other language data in oracle

    Hi, i am starter in oracle. Some of you may have faced this before and comee across the solution to the issue/query i am going to ask. I want to know how can i store data other than english in oracle data base and display them .

  • Can I use an A1457 in Australia?

    Hello, I see that the specs for my iPhone 5s A1457 are nearly identical to the specs of the model meant for the Australian market (A1530). Does this mean I will get 3G and LTE when I travel there (Telstra or Optus etc etc)? Cheers Sean Model A1457*:

  • GNOME on Ctrl Alt F7

    I am pretty sure the topic has already been raised in this forum. But I do not find the correct search terms. After one of the updates this year the GNOME desktop is now accessible via CTRL+ALT+F7. I have three terminals configured in inittab and the