SQL Loader for Oracle instant client 11

I have a problem sqlldr.exe running on a machine having Oralce 11.1.0.6 instant client installed. I already copied all the DLL files it says that he needs and the whole repertoire of a machine with installation complete of RDBMS. This is the error I get:

+ SQL * Loader-704: Internal error: ulconnect: OCIEnvCreate [-1] +.

I have no problem to connect what either using sqldeveloper. Are there files or the steps I'm missing?

Thank you
-Chris

The add-on only supported for the moment customer is sqlplus, integration of other utilities is not supported. You can just mix DLLs of different software. There are a few documents on workarounds, for example:

http://www.nyoug.org/presentations/2007/200703_Ji_Instant%20Client.PDF

But no guarantee that it works and not support of Oracle.

Werner

Tags: Database

Similar Questions

  • Oracle Instant Client Basic + SDK for AIX (OIC link problem)

    Dear Oracle experts,

    I installed the Oracle Instant Client for AIX, base and the SDK on an AIX server.

    LIBPATH has been export and point to the folder of the Oracle Instant Client. And I successfully build files .o for the program written in c by using OIC.

    However, I met errors when I try to link the .o and oracle files.

    I get the following error message:
    Shell > gcc-L/oracle/instantclient_10.2/-I/oracle/instantclient_10.2/sdk/include/ o someExe main.o someDotOFile.o - lclntsh - lld - lm - lpthreads

    LD: 0711-317 ERROR: Undefined symbol:. OCIInitialize
    LD: 0711-317 ERROR: Undefined symbol:. OCIEnvInit
    LD: 0711-317 ERROR: Undefined symbol:. OCIHandleAlloc
    LD: 0711-317 ERROR: Undefined symbol:. OCILogon
    LD: 0711-317 ERROR: Undefined symbol:. OCIErrorGet
    LD: 0711-317 ERROR: Undefined symbol:. OCILogoff
    LD: 0711-317 ERROR: Undefined symbol:. OCIHandleFree
    LD: 0711-317 ERROR: Undefined symbol:. OCIStmtPrepare
    LD: 0711-317 ERROR: Undefined symbol:. OCIDefineByPos
    LD: 0711-317 ERROR: Undefined symbol:. OCIStmtExecute
    LD: 0711-317 ERROR: Undefined symbol:. OCIStmtFetch
    LD: 0711-345 use - bloadmap or - bnoquiet for more information.
    collect2: ld returned 8 output status
    make: 1254-004 the error code of the last command is 1.

    A few tips on how to solve this problem would be greatly appreciated.

    Thanks in advance

    This error seems to confirm my suspicions, it is due to the fact that main.o (and perhaps someDotOFile.o too) have been compiled for 32-bit.

    You must also add - maix64 when you compile the two objects in source files.

    I mean, I am not sure that the bit incompatibility really is the problem here, but it would at least explain why the linker can't find these symbols in libclntsh.a.

    I guess you made sure that libclntsh.a is in/oracle/instantclient_10.2, right?

    Yours,
    Laurenz Albe

  • Solaris PHP 5.2.12 Oracle Instant Client error

    We test an Oracle Solaris 11 Express Server with the standard installation of Apache and PHP. But we have the Oracle Instant client and module oci8 enabled for applications of our society.

    We did it using the. / pecl install oci8 in usr/php/5.2/bin. We set the LD_LIBRARY_PATH in /etc/apache2/2.2/envvars

    version 32 bit for solaris (x 86) of the Oracle Instant Client 11.2 is installed in/opt/oracle/instantclient_11_2 with the symbolic link.

    envvars:
    LD_LIBRARY_PATH = / opt/oracle/instantclient_11_2
    ORACLE_HOME = / opt/oracle/instantclient_11_2
    ORACLE_BASE = / opt/oracle/instantclient_11_2

    PHP and the oci8 module set the charge.

    phpinfo(); output:

    OCI8
    OCI8 Support enabled
    Version 1.4.6
    Revision $Revision: $313688
    Persistent connections active 0
    Active connections 0
    Oracle Client Run-time Library Version 11.2.0.2.0
    Oracle Instant Client Version 11.2
    A temporary Lob support is enabled

    When we discover everything first a site there is no problem but very random, we get the following error:

    OCIEnvNlsCreate() failed. There is a problem with your system - please check LD_LIBRARY_PATH includes the directory with Oracle Instant Client libraries*.

    but when we use echo getenv ("LD_LIBRARY_PATH"); in php, the output is "/ opt/oracle/instantclient_11_2.

    now, the strange, that it's as random as it appears he disappears we can load the web page without a problem and after a few clicks of the error is back. If we wait for a cup of seconds you can reload the page and it loads normally.
    The error seems to be random and we get it over and over again, it comes and goes after a cpl of pages are read. It seems to appear more when there are multiple users browsing the Web site.

    Is there any solution for this? is this a known bug? It seems strange that the instant client works sometimes and fails a second later without a change in the system.
    Hope someone can help us.

    Published by: user10978378 on Sep 3, 2011 04:20

    Action of the host:
    This message has been moved to the Solaris 11 forum the Forum of the OIC for reconciliation of the subject.
    The Solaris forum readers won't have a clue as to the nuances of the OIC.

  • How do we improve the SQL Loader for EBS?

    Hi all

    We would like to use some of the new features like the FILLING and the EXPRESSION in the 10g version of SQL * Loader with the concurrent Manager.

    EBS 11i version SQL Loader is 8i.

    How do we improve the SQL Loader for EBS?

    Thanks in advance!

    If you are referring to executable files under ORACLE_HOME 8.0.6, then it cannot be migrated to 10 g / 11 g - upgrade developer 6i with Oracle Applications 11i [125767.1 ID]

    For executable files of database, please visit:

    Interoperability Notes Oracle EBS 11i with Oracle Database 11 g 2 (11.2.0).) [ID 881505.1]
    Oracle Applications Release 11i with Oracle 10 g Release 2 (10.2.0) [ID 362203.1]

    Thank you
    Hussein

  • Ocacle 12 c with SQL navigator for Oracle

    Hi, could someone help me. I recently installed the Oracle 12 c on my laptop. Try to connect the oracle SQL Navigator for oracle database, but could not succeed

    Sometimes, this error will occur if the tnsnames.ora file is corrupted. Can you please check tnsnames.ora and sqlnet.ora with a text editor ordinary for illegal characters (not the one that comes with Navigator because that could make corruption).

    Or simply move the tnsnames.ora that far and try with direct connect. (hostname:port\SID).

  • SQL Loader and Oracle 11g

    Hello

    IM receiving a sqlldr: not found error. IM is going to discuss with our system of administration of the situation. Before I wanted to make sure that SQL Loader (sqlldr) is an add-on available for customer Oracle 11. A colleague mentioned SQLLDR maybe isn't available as an add-on in the Oracle 11 client and that we should rather use IMPORT/EXPORT. Is that a true statement?

    Can someone please clarify these questions for me?

    Thanks a bunch!

    SQL * Loader is certainly available in 11.1 or 11.2 full client install. It may or may not be a component that is installed by default according to the type of installation you choose during installation. But you can always go back and install this component.

    If you mean the instant customer, I'm not sure that SQL * Loader or import and export work with the Instant Client.

    And just to the point, if you are using 11g, you usually would using external tables rather than SQL * Loader.

    Justin

  • IIS to DSN Oracle using Oracle Instant Client 12.1

    Hello

    I hope someone here can help me, because it turns out to be a real chore.

    I need a web application of .NET in order to connect to an Oracle database.

    I use IIS 7.5 on a Web of Windows 2008R2 server 0 x 64 and ASP.NET framework 4.0

    I know very little about Oracle, I'm afraid (I'm a dedicated man of SQL Server - sorry!), so I duly donwloaded and installed the 12.1 client instant 0 x 64.

    I followed all the instructions, created the environment variables PATH and TNS_ADMIN (located at c:\instantclient_12_1, where are installed the Oracle), I had some problems with a missing 0 x 64 DLL (visual .net distribution mfc100.dll) delivered with the instant client (since this is a production almost Virgin Web server, and I don't want to install anything I don't need) , but I finally managed to make the system ODBC DSN to connect successfully.

    The tnsnames.ora file has been provided by the DBA and is as follows;

    xxx =

    (DESCRIPTION =

    (ADDRESS_LIST =

    (ADDRESS = (PROTOCOL = TCP)(HOST = xx.xx.xx.xx) (PORT = 1521))

    )

    (CONNECT_DATA =

    (SID = xxxx)

    (SERVER = DEDICATED)

    )

    )

    Great, I thought. Now for IIS.

    My IIS connection string is of the form;

    Dim conn As New Odbc.OdbcConnection("DSN=xxx;) UID = xxx; Pwd = xxx; »)

    However, whenever I try to open the said connection, I get the ubiquitous;

    "ERROR [08004] [Oracle] [ODBC] [Ora] ORA-12154: TNS: could not resolve the connection identifier specifiedERROR [IM006] [Microsoft] [ODBC Driver Manager] driver's SQLSetConnectAttr failed.

    After much research, I came to realize that I'm not the only person with the above error. He seems to be everywhere.

    This means that my IIS application is probably not rethink research tnsnames.ora reference?

    OK, I thought, let's add all accounts of IIS to the c:\instantclient_12_1 (read and execute). It's IIS do not have access to the tnsnames.ora file permissions, but still no joy.

    I also tried to set the identity of the application pool to run under a domain with privalidges account additional IIS, but still the same error.

    I tried to play with various permutations of connection string. I tried it;

    Dim conn As New Odbc.OdbcConnection ("Driver = {Oracle in instantclient_12_1}; ("Source = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST=xx.xx.xx.xx) (PORT = 1521))) (CONNECT_DATA = (SID = xxxx) (SERVER = DEDICATED))); uid = xxx; pwd = xxx") data

    and this one...

    Dim conn As New Odbc.OdbcConnection ("Driver = {Oracle in instantclient_12_1}; Data Source = (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=xx.xx.xx.xx) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = xxxx))); uid = xxx; pwd = xxx")

    The two caused a completely different error, but all too ubiquitous, it seems;

    "ERROR [HY000] [Oracle] [ODBC] [Ora] ORA-12560: TNS:protocol adapter interneErreur [IM006] failedERROR SQLSetConnectAttr in the [Microsoft] [ODBC Driver Manager] [HY000] [Oracle] [ODBC driver] [Ora] ORA-12560: TNS:protocol adapter error.

    In order to try the House on it, I tried to write a small VB SCript file to access the DSN using the same connection string, I first tried;

    Set adoConnection = CreateObject ("ADODB. Connection")

    adoConnection.ConnectionString = "DSN = xxx; UID = xxx; Pwd = xxx; »

    It worked a treat, and I was able to connect perfectly. To try to drill down to the problem, I run this file as the domain user, I put IIS to run as, and it worked a treat with IIS authentication information too.

    So I'm at the end of my mind. I don't understand why IIS can simply use the system DSN.


    Thanks to everyone in advance for their help. It is much appreciated.

    Ok. I spent some time on this and managed to get to the bottom of all this.

    Here's what the problem was, in the case where everyone faces a similar problem.

    By deliberately that gives a bad name DSN (another mistake) and an incorrect password (resulted in the same error), I was able to determine that the problem is really that the tnsnames.ora file is not get referenced. No traffic left the server at all, and so the password was not relevant.

    Next step was to check that relax TNS_ADMIN variable has been read by IIS.

    I used the command System.Environment.GetEnvironmentVariable ("TNS_ADMIN") to prove it was empty. That explains pretty much everything that. The recently set the environment variable has not been picked up by IIS. It was nothing to do with permissions to the location of the file tnsnames.ora to all. It's a Kipper.

    It would seem that, surprisingly, server restart is necessary for the work process IIS pick up new environment variables. Basically this simple problem cost me a lot of time and bother. NOT BELIEVE messages that say the restart of IIS or the application will pick up any changes to the environment variables - IT WILL NOT.

    There is a problem more annoying, and it's to make sure that you remove the spaces trrailing on behalf of the Service TNS odbc name box, but it was easier to drill down reletatively for, compared to having to restart the production server.

    Thanks ReubenC for your help. I didn't need to go down the road ODP.NET, but thanks for your suggestion. I wish only Oracle would be to write some notes about it, because I'm sure others will hit / have this problem too. It would also be too much to expect Oracle to include all DLLS in the download as well (!)

    In any case, I'm glad I'm on the right track.

  • restore point warranty Vs catdwgrd.sql downgrade for oracle 12 c


    I understand that we have two ways to downgrade (assuming that the compatible parameter is not modified) when upgraded us a 11.2.0.3 database for oracle 12 c.

    I am curious about the benefits of catdwgrd.sql compared to the guarantees of restore point downgrade. I think that the guaranteed restore point seems very simple

    compared to catdwgrd.sql. I also think that oracle brings exactly the database in the same State when we use catdwgrd.sql, while

    guaranteed restore point brings back us to the State.

    Thank you

    Delphine

    Method you choose depends on your circumstances. This blog can help

    https://blogs.Oracle.com/upgrade/entry/is_there_a_fallback_strategy

    A third option is to restore the database backups

    HTH
    Srini

  • SQL Loader for single registration repetitive data reading

    Hello

    I have my incoming data as follows:
    NAME, ID, Date1, Date2, Date3 Date4
    AST1_IDX1_EXCH_SERIES1, TD234512, (20070314,130000,112.5), (20070313,120000,112), (20070312,130000,116), (20070309,130000,115)
    AST2_IDX2_EXCH_SERIES2, TD234524, (20070314,130000,123.5), (20070313,120000,120.9), (20070312,130000,126.1), (20070309,130000,135.2)

    I have my DB such as:
    Create table (FACTOR)
    NAME VARCHAR2 (50).
    ID VARCHAR2 (20).
    DATE OF CLOSE_DATE,
    NUMBER OF CLOSE_TIME
    CLOSE_VALUE NUMBER (20,10)
    )

    I want to load the data so that the first two values go in columns (NAME, ID) and the other triplets go to the fields (CLOSE_DATE, CLOSE_TIME, CLOSE_VALUE) several times depending on the number of those present triplets. Is it possible to do so using SQL Loader?

    I'm trying to load this file (containing approximately 40000 these records) using SQL loader and tried options using CONTINUEIF, OBJECT of COLUMN, etc. but nothing works for me. Guidance in this regard will be highly appreciated.

    Thank you
    POOJA
  • not able to connect to the database using the oracle instant client

    Hello

    I am not able to connect to the database using the instant oracle from my local PC client. They use to connect to the database files and sqlnet.ora files LDAP.ora. If I want to test the connection, I found this executable tns wasn't there, so not able to tnsping. So I'm not able to solve this problem.

    Please let me know if a solution for everything

    Client Oracle: oracle 10.2bFAT client 32-bit

    Platform: windows 7 64-bit

    Thank you
    Veera

    There is little that tnsping can do sqlplus can't.

    Instead of
    tnsping mydb.myorg.com
    Try
    sqlplus-s-L /@mydb.myorg.com
    or
    sqlplus-s-L user/[email protected]

    If you get
    ORA-12154: TNS: could not resolve the connect identifier specified
    you know that the customer could not resolve 'mydb.myorg.com '.

    If you get
    ORA-12541: TNS:no listener
    then "mydb.myorg.com" could be resolved, but there is no listener it running.

    If you get
    ORA-12514: TNS:listener is not currently of service requested in connect descriptor
    then "mydb.myorg.com" could be solved, the listener is in place, and the database is out of service.

    If you get
    ORA-01017: name of user and password invalid. connection refused
    you know that 'mydb.myorg.com' has been successfully resolved, and the database is running.

    If you want more details, such as how and what "mydb.myorg.com" is resolved, turn the tracking by adding the following to "sqlnet.ora:
    TRACE_LEVEL_CLIENT = ADMIN
    TRACE_DIRECTORY_CLIENT = C:\TEMP (a writable directory)

    Then you will find lines like this in the trace file:

    -THE INFORMATION SOURCE PARAMETER FOLLOWS-
    Attempt to load system pfile source C:\oracle\network\admin\sqlnet.ora
    Source of the setting successfully loaded

    Attempt to load the local pfile source C:\Dokumente und Einstellungen\lanadvall\sqlnet.ora
    The parameter source has not been loaded.

    This shows you which configuration files are read, followed by the settings real read.

    nnfgrne: will read if path adapters
    nnfgrne: switching adapter LDAP

    He's now looking for LDAP name resolution.

    nnfloidinfocache: Info: insert the value DIRECTORY_SERVSSL = oid.host.myorg.com:389 at index 0 in NLPA_CACHE

    These are LDAP servers, he is trying.

    nnflilc: conn sync opening of oid.host.myorg.com:389

    nnflfdn: turning simplified mydb.myorg.com name to a unique name.
    nnflfdn: using the administrative context: dc = prod
    nnflfdn: the domain name resulting is cn = mydb, cn = OracleContext, dc is myorg, dc = com

    nnflrne1: runs the directory for dn: cn = mydb, cn = OracleContext, dc is myorg, dc = com
    nnflqbf: search: Base: cn = mydb, cn = OracleContext, dc is myorg, dc = com, range: 0, filter: (objectclass = *)

    nnfgrne: query fails, the leap to the next map

    Did not work. Try the other adapters:

    nnfgrne: switching adapter EZCONNECT

    snlinGetAddrInfo: name resolution failed for test64.test

    No luck.

    If the resolution is approved, it will look like this:

    nnfloidinfocache: Info: insert the value DIRECTORY_SERVERS = oid.host.myorg.com:389 at index 0 in NLPA_CACHE

    nnflilc: conn sync opening of oid.host.myorg.com:389

    nnflfdn: turning simplified mydb.myorg.com name to a unique name.
    nnflfdn: using the administrative context: dc = prod
    nnflfdn: the domain name resulting is cn = mydb, cn = OracleContext, dc is myorg, dc = com

    nnflrne1: runs the directory for dn: cn = mydb, cn = OracleContext, dc is myorg, dc = com
    nnflqbf: search: Base: cn = mydb, cn = OracleContext, dc is myorg, dc = com, range: 0, filter: (objectclass = *)

    niotns: the call to address: (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=dbserver.host.myorg.com) (PORT = 1521)) (CONNECT_DATA = (SID = DBNAME) (CID = (PROGRAM = C:\Oracle\ora1020\bin\sqlplus.exe)(HOST=pc247596)(USER=lanadvall)))

    Yours,
    Laurenz Albe

  • SQL Query for Oracle DB followed by using vCOPS

    Hi guys,.

    I installed a general SQL adapter to monitor an Oracle database in my environment. But I am not able to make it work there are a lot of problems in writing a SQL Quries. I work with one of the DBA and we are still not able to write the query to the right. Can someone give me an example of a query so that I can test it or tell me how to write the query to Oracle DB. Examples of files that are given under/samples/folder conf in the plug-in does not help us. So if someone has a link or if someone has it please help me with query files.

    Thanks in advance

    fix. the biggest challenge with the SQL adapter is to write the query in such a way the release of product that is easily consumable by vcops and maps directly to RESOURCEKIND and RESOURCENAME in vcops. The result can also be hierarchical for more efficiency, i.e.

    metric

    -submetric1

    -submetric2

  • Java jdk and jre version 1.7 taken in charge for the instant client

    What jdk and jre are required for the current version and has oracle tested against 1.7 yet?

    The sayteh documentation:

    "Under Linux x 86, and Linux x 86-64, use JDK 6 (1.6.0_21 Java SE Development Kit) or JDK 5 (1.5.0_24) with the JNDI extension
    with the drivers Oracle Java Database Connectivity and Oracle Call Interface.
    However, these are not required for installation of the database.
    Note that JDK 1.5 is installed with this version. »

    (http://docs.oracle.com/cd/E11882_01/install.112/e24322/pre_install.htm#CHDIDIGF)

    So what is supported.
    There is no additional certification on Metalink information.

    Yours,
    Laurenz Albe

  • Connection to SQL 2005 for Oracle error

    I have an Oracle database and the SQL database on the same server and want to use odbc to connect to tables database and query SQL 2005 with my choice.

    I have properly configured the ODBC and called the TSH_ARCHIVE DSN. I tested it and it works fine. But every time that I run the following query I get the error:

    SQL > select count (*) in BALANCES_HS@tse_archive;
    Select count (*) in BALANCES_HS@tse_archive
    *
    ERROR on line 1:
    ORA-12154: TNS: could not resolve the connect identifier specified

    Any suggestions and help will be greatly appreciated.

    Published by: azaza on January 28, 2010 06:32

    Hello
    TNS-12560 and TNS - 530 errors can have various causes, so we need more information. Is there something in the listner journal that gives more details and you are able to start the other earpiece without any problem?

    Kind regards
    Mike

  • Oracle Instant Client FAQ does not work

    Link to this FAQ work but most of the answers are empty: http://www.oracle.com/technetwork/database/features/oci/ic-faq-094177.html

    Fixed, changes will be out in 30 minutes.

  • Instant client

    Hi friends!
    SQL> select * from v$version
      2  ;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Release 10.2.0.4.0 - 64bit Production
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for 64-bit Windows: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    I need to install the Oracle Instant Client in another server to access this database.

    Do I have to install only Instant Client 10.2.0.4 Version or can I use Version 10.2.0.5?

    Please guide me.

    Thanks in advance.

    Nith

    You can install this.

    Check this note MOS * Client / Server / Support of interoperability between different Versions of Oracle [207303.1 ID] *.

Maybe you are looking for