Instant client appalling info

I am trying to get a linux web server to connect to an oracle database.
I have to say that the information relating to the instant client is very dissappointing.
It has now taken me 2 days to get this far, the initial build of the server was only 2 hours!!!!
I am now suggesting to the client to use another database as oracle only seems to work with oracle.
The information that i have found has been on linux sites not oracle.
The instructions are a joke
"Installation Steps:
1. Download the appropriate Instant Client packages for your platform. All installations REQUIRE the Basic package.
2. Unzip the packages into a single directory such as "instantclient".
3. Set the library loading path in your environment to the directory in Step 2 ("instantclient"). On many UNIX platforms, LD_LIBRARY_PATH is the appropriate environment variable. On Windows, PATH should be used.
4. Start your application and enjoy."
So where is step 2 ???
This also fails to answer the difference between the basic and SDK packages and why they are needed, and how to deal with them differently.
Basically oracle should sort this out!!!
Oracle is the only database that needs so much attention to get it working with a web server... its not like we are even trying to get the database side of things working.

Thankyou for your response.
I was mainly writing it to try and let the oracle corp know how thin the documentation is for this and how much they are alienating developers and sys admins who don't have anything to do with oracle, nor want to. This is because there does not seem to be any other means of contacting them.
Now as for getting to know a new product. It is not a new product that i have chosen. It is a module for php and apache. They are the product and they took 2 hours to set up. This has taken far longer because no-one seems to care about it. One decent piece of documentation about it would have been fine. In understand your sentiments but really since we were building a lamp setup and then switched to an oracle DB instead, the comparison with connecting a php/apache box with pretty much ANY other database shows the oracle client stuff to a be a ridiculous process to have to go through, which so far has cost two days development time!!!!
As for what i have done....
I have installed the 2 rpm files for the basic instantclient and also for the instantclient devel
Both are version 10.2.0.1-2
I have now gone back and run my ./configure command for php and it completes without error.
Now when i do 'make' on the php it gives loads of errors which start with...
/usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so: undefined reference to 'nzssGSL_GetSecretLength '
although the bit in quotes at the end changes for each one.
I cannot find any information about this and since there was no list of requirements or version numbers for compilers i have no idea if this should be expected or not.
If anyone can shed light on this i would be very grateful.

Similar Messages

  • Using SQLDriverConnect with special characters in password fails, same info with ODBC (Oracle instant client) works fine

    Hi,
    on a windows 2008 machine that has the Oracle instant client 11_1 installed (11.01.00.06) i am calling SQLDriverConnect in the following way:
    std::string str = "Driver={Oracle in instantclient11_1};Dbq=//10.10.101.66:1521/orcl;;Uid=myUser;pwd=a;b";
    odbcRc = SQLDriverConnect(hdbc, NULL, (SQLTCHAR*)str.c_str(), str.size(), (SQLTCHAR*)szConnStrOut, 1024, &cbConnStrOut, SQL_DRIVER_NOPROMPT)) == SQL_ERROR);
    as long as the password contains no special chars (namely semicolon) it works fine. but when I try to use special chars in the password It stops working, with an invalid username/password error.
    State: 28000 Native error: 1017 Message: [Oracle][ODBC][Ora]ORA-01017: invalid username/password; logon denied
    i tried different variations of adding " (\") over the password, over the entire pwd=a;b or braces { but nothing seems to work.
    the thing is that using ODBC works! what I did was:
    open ODBC, go to System DSN tab, add "Oracle in instantclient11_1", then fill the following information:
    Data source name: Anything
    TNS Service Name: //10.10.101.66:1521/orcl
    User ID: myUser
    then i press test connection, enter the password "a;b"
    and it works!
    I cannot figure out what's my problem.
    Thanks,
    Roy.

    I've created your test table in my Oracle database using this extra character and I'm able to describe it properly.
    SQL> desc test;
    Name Null? Type
    ATTIVITÀ VARCHAR2(40)
    My character set being used is:
    SQL> select * from v$nls_parameters;
    NLS_CHARACTERSET
    WE8ISO8859P15
    NLS_NCHAR_CHARACTERSET
    AL16UTF16
    NLS_LENGTH_SEMANTICS
    BYTE
    So as long as it doesn't work for you in your native Oracle database I don't think it would work with DG4ODBC. So yes, it would be best to log a service request so that the Oracle database support can check out the NLS issue.
    Edited by: kgronau on Sep 28, 2011 9:21 AM
    To be complete here the describe of the MySQL table native and using DG4ODBC:
    mysql> create table TEST (attività Varchar(40));
    Query OK, 0 rows affected (0.00 sec)
    mysql> desc TEST;
    ---------------------------------------------------+
    | Field | Type | Null | Key | Default | Extra |
    ---------------------------------------------------+
    | attività | varchar(40) | YES | | NULL | |
    ---------------------------------------------------+
    1 row in set (0.00 sec)
    SQL*Plus: Release 11.2.0.2.0 Production on Wed Sep 28 09:20:17 2011
    SQL> desc "gateway"."TEST"@MYSQL_DG4ODBC_EMGTW_1122_DB;
    Name Null? Type
    attività VARCHAR2(80)
    So in general it should work.

  • Query Takes more Time when i execute from the Instant client.

    Hi,
    Currently in our Env we have some Queries takes more time when we run from the Instant Client.
    System Details
    OS=Solaris 10 x86 64bit
    Oracle 10.2.0.4
    Client Side
    $ sqlplus trd_trd_ro/trd_trd_ro@prdba001/TRADE1
    SQL*Plus: Release 10.2.0.2.0 - Production on Mon Aug 9 16:26:25 2010
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Release 10.2.0.4.0 - Production
    SQL> set timing on
    SQL> select mod(lastinstmessagesequence, 1000000000) LastInstIDSeqNo from tibex_msgseqbyuseralias where useralias='2221';
    no rows selected
    Elapsed: 00:01:54.19
    SQL> Disconnected from Oracle Database 10g Release 10.2.0.4.0 - ProductionSame Query running on Server Side
    ^C130-oracle@prdba001 txt: sql
    Database: trd_trd_owner/trd_trd_owner@prdba001/TRADE1
    SQL*Plus: Release 10.2.0.4.0 - Production on Mon Aug 9 17:15:18 2010
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Release 10.2.0.4.0 - Production
    trd_trd_owner@TRADE1>  set timing on
    trd_trd_owner@TRADE1> select mod(lastinstmessagesequence, 1000000000) LastInstIDSeqNo from tibex_msgseqbyuseralias where useralias='2221';
    no rows selected
    Elapsed: 00:00:00.12
    trd_trd_owner@TRADE1> exitKindly help me what could be the Issues.

    Hi Charles,
    Thanks for your Quick response.I pulled the info.
    sys@TRADE1> SELECT  * FROM  TABLE(DBMS_XPLAN.DISPLAY_CURSOR('bpxr7axhxaqvy',NULL,'ALLSTATS LAST'));
    PLAN_TABLE_OUTPUT
    SQL_ID  bpxr7axhxaqvy, child number 0
    select /*+ GATHER_PLAN_STATISTICS */ mod(lastinstmessagesequence, :"SYS_B_0") LastInstIDSeqNo from
    tibex_msgseqbyuseralias where useralias=:"SYS_B_1"
    Plan hash value: 1955857846
    | Id  | Operation                       | Name                  | Starts | E-Rows | A-Rows |   A-Time   | Buffers |
    |   1 |  SORT GROUP BY NOSORT           |                       |      1 |     21 |      0 |00:00:00.06 |    6121 |
    |   2 |   VIEW                          |                       |      1 |     21 |      0 |00:00:00.06 |    6121 |
    |   3 |    UNION-ALL                    |                       |      1 |        |      0 |00:00:00.06 |    6121 |
    |   4 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.05 |    3073 |
    |*  5 |      TABLE ACCESS FULL          | TIBEX_QUOTE           |      1 |  30080 |      0 |00:00:00.05 |    3073 |
    |   6 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       3 |
    |   7 |      TABLE ACCESS BY INDEX ROWID| TIBEX_ORDER           |      1 |    971 |      0 |00:00:00.01 |       3 |
    |*  8 |       INDEX RANGE SCAN          | TIBEX_ORDER_IDX_OLT   |      1 |    971 |      0 |00:00:00.01 |       3 |
    |   9 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       3 |
    |* 10 |      TABLE ACCESS FULL          | TIBEX_TSTRADE         |      1 |      1 |      0 |00:00:00.01 |       3 |
    |  11 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       3 |
    |* 12 |      TABLE ACCESS FULL          | TIBEX_IOIREQUEST      |      1 |      1 |      0 |00:00:00.01 |       3 |
    |  13 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |     126 |
    |* 14 |      TABLE ACCESS FULL          | TIBEX_BESTEXREL       |      1 |      1 |      0 |00:00:00.01 |     126 |
    |  15 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |    2862 |
    |* 16 |      INDEX FAST FULL SCAN       | SYS_C0058325          |      1 |    339 |      0 |00:00:00.01 |    2862 |
    |  17 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |      31 |
    |* 18 |      TABLE ACCESS FULL          | TIBEX_EDPPULLORDERS   |      1 |      1 |      0 |00:00:00.01 |      31 |
    |  19 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |
    |* 20 |      INDEX RANGE SCAN           | SYS_C0058803          |      1 |      1 |      0 |00:00:00.01 |       1 |
    |  21 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |
    |* 22 |      INDEX RANGE SCAN           | SYS_C0057785          |      1 |      1 |      0 |00:00:00.01 |       1 |
    |  23 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |
    |* 24 |      INDEX RANGE SCAN           | SYS_C0057827          |      1 |      1 |      0 |00:00:00.01 |       1 |
    |  25 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       3 |
    |* 26 |      TABLE ACCESS FULL          | TIBEX_DELETEADMIN     |      1 |      1 |      0 |00:00:00.01 |       3 |
    |  27 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |
    |* 28 |      INDEX RANGE SCAN           | SYS_C0058148          |      1 |      1 |      0 |00:00:00.01 |       1 |
    |  29 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |
    |* 30 |      INDEX RANGE SCAN           | SYS_C0058264          |      1 |      1 |      0 |00:00:00.01 |       1 |
    |  31 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |
    |* 32 |      INDEX RANGE SCAN           | SYS_C0058516          |      1 |      1 |      0 |00:00:00.01 |       1 |
    |  33 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |
    |* 34 |      INDEX RANGE SCAN           | SYS_C0058561          |      1 |      1 |      0 |00:00:00.01 |       1 |
    |  35 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |
    |* 36 |      INDEX RANGE SCAN           | SYS_C0058783          |      1 |      1 |      0 |00:00:00.01 |       1 |
    |  37 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |
    |* 38 |      INDEX RANGE SCAN           | SYS_C0058977          |      1 |      1 |      0 |00:00:00.01 |       1 |
    |  39 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |
    |* 40 |      INDEX RANGE SCAN           | SYS_C0058859          |      1 |      1 |      0 |00:00:00.01 |       1 |
    |  41 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |
    |* 42 |      INDEX RANGE SCAN           | SYS_C0059197          |      1 |      1 |      0 |00:00:00.01 |       1 |
    |  43 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       3 |
    |* 44 |      TABLE ACCESS FULL          | TIBEX_CANCELTRDADMIN  |      1 |      1 |      0 |00:00:00.01 |       3 |
    |  45 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       3 |
    |* 46 |      TABLE ACCESS FULL          | TIBEX_BULKCANCELADMIN |      1 |      1 |      0 |00:00:00.01 |       3 |
    Predicate Information (identified by operation id):
    PLAN_TABLE_OUTPUT
       5 - filter("LASTINSTUSERALIAS"=:SYS_B_1)
       8 - access("LASTINSTUSERALIAS"=:SYS_B_1)
      10 - filter(("LASTINSTUSERALIAS" IS NOT NULL AND "LASTINSTUSERALIAS"=:SYS_B_1))
      12 - filter(("LASTINSTUSERALIAS" IS NOT NULL AND "LASTINSTUSERALIAS"=:SYS_B_1))
      14 - filter(("LASTINSTUSERALIAS" IS NOT NULL AND "LASTINSTUSERALIAS"=:SYS_B_1))
      16 - filter("USERALIAS"=:SYS_B_1)
      18 - filter("USERALIAS"=:SYS_B_1)
      20 - access("USERALIAS"=:SYS_B_1)
      22 - access("USERALIAS"=:SYS_B_1)
      24 - access("USERALIAS"=:SYS_B_1)
      26 - filter(("USERALIAS" IS NOT NULL AND "USERALIAS"=:SYS_B_1))
      28 - access("USERALIAS"=:SYS_B_1)
      30 - access("USERALIAS"=:SYS_B_1)
      32 - access("USERALIAS"=:SYS_B_1)
      34 - access("USERALIAS"=:SYS_B_1)
      36 - access("USERALIAS"=:SYS_B_1)
      38 - access("USERALIAS"=:SYS_B_1)
      40 - access("USERALIAS"=:SYS_B_1)
      42 - access("USERALIAS"=:SYS_B_1)
      44 - filter("USERALIAS"=:SYS_B_1)
      46 - filter("USERALIAS"=:SYS_B_1)
    SQL_ID  bpxr7axhxaqvy, child number 1
    select /*+ GATHER_PLAN_STATISTICS */ mod(lastinstmessagesequence, :"SYS_B_0") LastInstIDSeqNo from
    tibex_msgseqbyuseralias where useralias=:"SYS_B_1"
    Plan hash value: 1955857846
    Plan hash value: 1955857846
    | Id  | Operation                       | Name                  | Starts | E-Rows | A-Rows |   A-Time   | Buffers |
    |   1 |  SORT GROUP BY NOSORT           |                       |      1 |     21 |      0 |00:00:00.12 |    8545 |
    |   2 |   VIEW                          |                       |      1 |     21 |      0 |00:00:00.12 |    8545 |
    |   3 |    UNION-ALL                    |                       |      1 |        |      0 |00:00:00.12 |    8545 |
    |   4 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.10 |    5496 |
    |*  5 |      TABLE ACCESS FULL          | TIBEX_QUOTE           |      1 |  21056 |      0 |00:00:00.10 |    5496 |
    |   6 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       4 |
    |   7 |      TABLE ACCESS BY INDEX ROWID| TIBEX_ORDER           |      1 |    660 |      0 |00:00:00.01 |       4 |
    |*  8 |       INDEX RANGE SCAN          | TIBEX_ORDER_IDX_OLT   |      1 |    660 |      0 |00:00:00.01 |       4 |
    |   9 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       3 |
    |* 10 |      TABLE ACCESS FULL          | TIBEX_TSTRADE         |      1 |      1 |      0 |00:00:00.01 |       3 |
    |  11 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       3 |
    |* 12 |      TABLE ACCESS FULL          | TIBEX_IOIREQUEST      |      1 |      1 |      0 |00:00:00.01 |       3 |
    |  13 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |     126 |
    |* 14 |      TABLE ACCESS FULL          | TIBEX_BESTEXREL       |      1 |      1 |      0 |00:00:00.01 |     126 |
    |  15 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.02 |    2862 |
    |* 16 |      INDEX FAST FULL SCAN       | SYS_C0058325          |      1 |    339 |      0 |00:00:00.02 |    2862 |
    |  17 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |      31 |
    |* 18 |      TABLE ACCESS FULL          | TIBEX_EDPPULLORDERS   |      1 |      1 |      0 |00:00:00.01 |      31 |
    |  19 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |
    |* 20 |      INDEX RANGE SCAN           | SYS_C0058803          |      1 |      1 |      0 |00:00:00.01 |       1 |
    |  21 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |
    |* 22 |      INDEX RANGE SCAN           | SYS_C0057785          |      1 |      1 |      0 |00:00:00.01 |       1 |
    |  23 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |
    |* 24 |      INDEX RANGE SCAN           | SYS_C0057827          |      1 |      1 |      0 |00:00:00.01 |       1 |
    |  25 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       3 |
    |* 26 |      TABLE ACCESS FULL          | TIBEX_DELETEADMIN     |      1 |      1 |      0 |00:00:00.01 |       3 |
    |  27 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |
    |* 28 |      INDEX RANGE SCAN           | SYS_C0058148          |      1 |      1 |      0 |00:00:00.01 |       1 |
    |  29 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |
    PLAN_TABLE_OUTPUT
    |* 30 |      INDEX RANGE SCAN           | SYS_C0058264          |      1 |      1 |      0 |00:00:00.01 |       1 |
    |  31 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |
    |* 32 |      INDEX RANGE SCAN           | SYS_C0058516          |      1 |      1 |      0 |00:00:00.01 |       1 |
    |  33 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |
    |* 34 |      INDEX RANGE SCAN           | SYS_C0058561          |      1 |      1 |      0 |00:00:00.01 |       1 |
    |  35 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |
    |* 36 |      INDEX RANGE SCAN           | SYS_C0058783          |      1 |      1 |      0 |00:00:00.01 |       1 |
    |  37 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |
    |* 38 |      INDEX RANGE SCAN           | SYS_C0058977          |      1 |      1 |      0 |00:00:00.01 |       1 |
    |  39 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |
    |* 40 |      INDEX RANGE SCAN           | SYS_C0058859          |      1 |      1 |      0 |00:00:00.01 |       1 |
    |  41 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |
    |* 42 |      INDEX RANGE SCAN           | SYS_C0059197          |      1 |      1 |      0 |00:00:00.01 |       1 |
    |  43 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       3 |
    |* 44 |      TABLE ACCESS FULL          | TIBEX_CANCELTRDADMIN  |      1 |      1 |      0 |00:00:00.01 |       3 |
    |  45 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       3 |
    |* 46 |      TABLE ACCESS FULL          | TIBEX_BULKCANCELADMIN |      1 |      1 |      0 |00:00:00.01 |       3 |
    Predicate Information (identified by operation id):
       5 - filter("LASTINSTUSERALIAS"=:SYS_B_1)
       8 - access("LASTINSTUSERALIAS"=:SYS_B_1)
      10 - filter(("LASTINSTUSERALIAS" IS NOT NULL AND "LASTINSTUSERALIAS"=:SYS_B_1))
      12 - filter(("LASTINSTUSERALIAS" IS NOT NULL AND "LASTINSTUSERALIAS"=:SYS_B_1))
      14 - filter(("LASTINSTUSERALIAS" IS NOT NULL AND "LASTINSTUSERALIAS"=:SYS_B_1))
      16 - filter("USERALIAS"=:SYS_B_1)
      18 - filter("USERALIAS"=:SYS_B_1)
      20 - access("USERALIAS"=:SYS_B_1)
      22 - access("USERALIAS"=:SYS_B_1)
      24 - access("USERALIAS"=:SYS_B_1)
      26 - filter(("USERALIAS" IS NOT NULL AND "USERALIAS"=:SYS_B_1))
      28 - access("USERALIAS"=:SYS_B_1)
      30 - access("USERALIAS"=:SYS_B_1)
      32 - access("USERALIAS"=:SYS_B_1)
      34 - access("USERALIAS"=:SYS_B_1)
      36 - access("USERALIAS"=:SYS_B_1)
      38 - access("USERALIAS"=:SYS_B_1)
      40 - access("USERALIAS"=:SYS_B_1)
      42 - access("USERALIAS"=:SYS_B_1)
      44 - filter("USERALIAS"=:SYS_B_1)
      46 - filter("USERALIAS"=:SYS_B_1)
    SQL_ID  bpxr7axhxaqvy, child number 2
    select /*+ GATHER_PLAN_STATISTICS */ mod(lastinstmessagesequence, :"SYS_B_0") LastInstIDSeqNo from
    tibex_msgseqbyuseralias where useralias=:"SYS_B_1"
    Plan hash value: 1955857846
    | Id  | Operation                       | Name                  | Starts | E-Rows | A-Rows |   A-Time   | Buffers | Reads  |
    |   1 |  SORT GROUP BY NOSORT           |                       |      1 |     21 |      1 |00:00:00.13 |    8476 |      3 |
    |   2 |   VIEW                          |                       |      1 |     21 |      1 |00:00:00.13 |    8476 |      3 |
    |   3 |    UNION-ALL                    |                       |      1 |        |      1 |00:00:00.13 |    8476 |      3 |
    |   4 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.10 |    5283 |      0 |
    |*  5 |      TABLE ACCESS FULL          | TIBEX_QUOTE           |      1 |  21056 |      0 |00:00:00.10 |    5283 |      0 |
    |   6 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      1 |00:00:00.01 |     148 |      3 |
    |   7 |      TABLE ACCESS BY INDEX ROWID| TIBEX_ORDER           |      1 |    660 |    150 |00:00:00.01 |     148 |      3 |
    PLAN_TABLE_OUTPUT
    |*  8 |       INDEX RANGE SCAN          | TIBEX_ORDER_IDX_OLT   |      1 |    660 |    150 |00:00:00.01 |       5 |      0 |
    |   9 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       3 |      0 |
    |* 10 |      TABLE ACCESS FULL          | TIBEX_TSTRADE         |      1 |      1 |      0 |00:00:00.01 |       3 |      0 |
    |  11 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       3 |      0 |
    |* 12 |      TABLE ACCESS FULL          | TIBEX_IOIREQUEST      |      1 |      1 |      0 |00:00:00.01 |       3 |      0 |
    |  13 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |     126 |      0 |
    |* 14 |      TABLE ACCESS FULL          | TIBEX_BESTEXREL       |      1 |      1 |      0 |00:00:00.01 |     126 |      0 |
    |  15 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.02 |    2862 |      0 |
    |* 16 |      INDEX FAST FULL SCAN       | SYS_C0058325          |      1 |    339 |      0 |00:00:00.02 |    2862 |      0 |
    |  17 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |      31 |      0 |
    |* 18 |      TABLE ACCESS FULL          | TIBEX_EDPPULLORDERS   |      1 |      1 |      0 |00:00:00.01 |      31 |      0 |
    |  19 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |      0 |
    |* 20 |      INDEX RANGE SCAN           | SYS_C0058803          |      1 |      1 |      0 |00:00:00.01 |       1 |      0 |
    |  21 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |      0 |
    |* 22 |      INDEX RANGE SCAN           | SYS_C0057785          |      1 |      1 |      0 |00:00:00.01 |       1 |      0 |
    |  23 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |      0 |
    |* 24 |      INDEX RANGE SCAN           | SYS_C0057827          |      1 |      1 |      0 |00:00:00.01 |       1 |      0 |
    |  25 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       3 |      0 |
    |* 26 |      TABLE ACCESS FULL          | TIBEX_DELETEADMIN     |      1 |      1 |      0 |00:00:00.01 |       3 |      0 |
    |  27 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |      0 |
    |* 28 |      INDEX RANGE SCAN           | SYS_C0058148          |      1 |      1 |      0 |00:00:00.01 |       1 |      0 |
    |  29 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |      0 |
    |* 30 |      INDEX RANGE SCAN           | SYS_C0058264          |      1 |      1 |      0 |00:00:00.01 |       1 |      0 |
    |  31 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |      0 |
    |* 32 |      INDEX RANGE SCAN           | SYS_C0058516          |      1 |      1 |      0 |00:00:00.01 |       1 |      0 |
    |  33 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |      0 |
    |* 34 |      INDEX RANGE SCAN           | SYS_C0058561          |      1 |      1 |      0 |00:00:00.01 |       1 |      0 |
    |  35 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |      0 |
    |* 36 |      INDEX RANGE SCAN           | SYS_C0058783          |      1 |      1 |      0 |00:00:00.01 |       1 |      0 |
    |  37 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |      0 |
    |* 38 |      INDEX RANGE SCAN           | SYS_C0058977          |      1 |      1 |      0 |00:00:00.01 |       1 |      0 |
    |  39 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |      0 |
    |* 40 |      INDEX RANGE SCAN           | SYS_C0058859          |      1 |      1 |      0 |00:00:00.01 |       1 |      0 |
    |  41 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       1 |      0 |
    |* 42 |      INDEX RANGE SCAN           | SYS_C0059197          |      1 |      1 |      0 |00:00:00.01 |       1 |      0 |
    |  43 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       3 |      0 |
    |* 44 |      TABLE ACCESS FULL          | TIBEX_CANCELTRDADMIN  |      1 |      1 |      0 |00:00:00.01 |       3 |      0 |
    |  45 |     SORT GROUP BY NOSORT        |                       |      1 |      1 |      0 |00:00:00.01 |       3 |      0 |
    |* 46 |      TABLE ACCESS FULL          | TIBEX_BULKCANCELADMIN |      1 |      1 |      0 |00:00:00.01 |       3 |      0 |
    Predicate Information (identified by operation id):
       5 - filter("LASTINSTUSERALIAS"=:SYS_B_1)
       8 - access("LASTINSTUSERALIAS"=:SYS_B_1)
      10 - filter(("LASTINSTUSERALIAS" IS NOT NULL AND "LASTINSTUSERALIAS"=:SYS_B_1))
      12 - filter(("LASTINSTUSERALIAS" IS NOT NULL AND "LASTINSTUSERALIAS"=:SYS_B_1))
      14 - filter(("LASTINSTUSERALIAS" IS NOT NULL AND "LASTINSTUSERALIAS"=:SYS_B_1))
      16 - filter("USERALIAS"=:SYS_B_1)
      18 - filter("USERALIAS"=:SYS_B_1)
      20 - access("USERALIAS"=:SYS_B_1)
      22 - access("USERALIAS"=:SYS_B_1)
      24 - access("USERALIAS"=:SYS_B_1)
      26 - filter(("USERALIAS" IS NOT NULL AND "USERALIAS"=:SYS_B_1))
      28 - access("USERALIAS"=:SYS_B_1)
      30 - access("USERALIAS"=:SYS_B_1)
      32 - access("USERALIAS"=:SYS_B_1)
      34 - access("USERALIAS"=:SYS_B_1)
      36 - access("USERALIAS"=:SYS_B_1)
      38 - access("USERALIAS"=:SYS_B_1)
    PLAN_TABLE_OUTPUT
      40 - access("USERALIAS"=:SYS_B_1)
      42 - access("USERALIAS"=:SYS_B_1)
      44 - filter("USERALIAS"=:SYS_B_1)
      46 - filter("USERALIAS"=:SYS_B_1)
    249 rows selected.

  • Solaris + iPlanet 6.0SP2 + PHP 5.1.2 + Instant Client

    Configuration:
    Solaris OS 5.8 (64bit)
    iPlanet 6.0 (SP2) (32bit)
    PHP v5.1.2 (32bit)
    Instant Client 10.2.0.1 (32 bit)
    I am able to compile and install php 5.1.2 and Instant Clinet 32bit libraris with my iPlanet Server. When i invoke a php script that contains oracle oci calls, the server processes them fine and at then restarts it selfs...
    I see this in my server's error logs... basically its showing a crash in libclntsh.so.10.1 library....
    ==========================
    [09/Mar/2006:10:20:56] failure (17398): Failed to read kernel statistics structures (No such device or address)
    [09/Mar/2006:10:20:56] failure (17398): Failed to read kernel statistics structures (No such device or address)
    [09/Mar/2006:10:20:57] failure (17398): Failed to read kernel statistics structures (No such device or address)
    [09/Mar/2006:10:20:57] failure (17398): Failed to read kernel statistics structures (No such device or address)
    [09/Mar/2006:10:20:57] catastrophe (17405): Server crash detected (signal SIGBUS)
    [09/Mar/2006:10:20:57] info (17405): Crash occurred in NSAPI SAF php5_execute
    [09/Mar/2006:10:20:57] info (17405): Crash occurred in function kohfrr from module /export/home/a297592/lib/oic/libclntsh.so.10.1
    [09/Mar/2006:10:20:57] failure (17398): Child process admin thread is shutting down
    [09/Mar/2006:10:20:57] failure (17398): Failed to read kernel statistics structures (No such device or address)
    [09/Mar/2006:10:20:58] failure (17398): Failed to read kernel statistics structures (No such device or address)
    [09/Mar/2006:10:20:58] failure (17398): Failed to read kernel statistics structures (No such device or address)
    [09/Mar/2006:10:20:58] info (17408): Installing a new configuration
    [09/Mar/2006:10:20:58] info (17408): [LS ls1] http://fidlabdev01.fmr.com, port 80 ready to accept requests
    =======================================
    If i try to use 64 bit libraries, my iPlanet server won't start saying libclntsh.so.10.1 wrong ELF class: ELFCLASS64 while loading the php.
    I would very much appreciate if any one has any ideas to pass thru this
    Thanks
    Vijay

    Configuration:
    Solaris OS 5.8 (64bit)
    iPlanet 6.0 (SP2) (32bit)
    PHP v5.1.2 (32bit)
    Instant Client 10.2.0.1 (32 bit)
    I am able to compile and install php 5.1.2 and Instant Clinet 32bit libraris with my iPlanet Server. When i invoke a php script that contains oracle oci calls, the server processes them fine and at then restarts it selfs...
    I see this in my server's error logs... basically its showing a crash in libclntsh.so.10.1 library....
    ==========================
    [09/Mar/2006:10:20:56] failure (17398): Failed to read kernel statistics structures (No such device or address)
    [09/Mar/2006:10:20:56] failure (17398): Failed to read kernel statistics structures (No such device or address)
    [09/Mar/2006:10:20:57] failure (17398): Failed to read kernel statistics structures (No such device or address)
    [09/Mar/2006:10:20:57] failure (17398): Failed to read kernel statistics structures (No such device or address)
    [09/Mar/2006:10:20:57] catastrophe (17405): Server crash detected (signal SIGBUS)
    [09/Mar/2006:10:20:57] info (17405): Crash occurred in NSAPI SAF php5_execute
    [09/Mar/2006:10:20:57] info (17405): Crash occurred in function kohfrr from module /export/home/a297592/lib/oic/libclntsh.so.10.1
    [09/Mar/2006:10:20:57] failure (17398): Child process admin thread is shutting down
    [09/Mar/2006:10:20:57] failure (17398): Failed to read kernel statistics structures (No such device or address)
    [09/Mar/2006:10:20:58] failure (17398): Failed to read kernel statistics structures (No such device or address)
    [09/Mar/2006:10:20:58] failure (17398): Failed to read kernel statistics structures (No such device or address)
    [09/Mar/2006:10:20:58] info (17408): Installing a new configuration
    [09/Mar/2006:10:20:58] info (17408): [LS ls1] http://fidlabdev01.fmr.com, port 80 ready to accept requests
    =======================================
    If i try to use 64 bit libraries, my iPlanet server won't start saying libclntsh.so.10.1 wrong ELF class: ELFCLASS64 while loading the php.
    I would very much appreciate if any one has any ideas to pass thru this
    Thanks
    Vijay

  • Solaris PHP 5.2.12 Oracle Instant Client Error

    We are testing a Oracle Solaris Express 11 Server with the standard Apache and PHP installation. But we need the Oracle Instant client and the oci8 module enabled for our company applications.
    We did this by using ./pecl install oci8 in /usr/php/5.2/bin. We set the LD_LIBRARY_PATH in /etc/apache2/2.2/envvars
    a 32bits solaris (x86) version of the Oracle Instant Client 11.2 is installed in /opt/oracle/instantclient_11_2 with the symbolic link made.
    envvars:
    LD_LIBRARY_PATH=/opt/oracle/instantclient_11_2
    ORACLE_HOME=/opt/oracle/instantclient_11_2
    ORACLE_BASE=/opt/oracle/instantclient_11_2
    he oci8 module installed and php loads it.
    phpinfo(); output:
    oci8
    OCI8 Support enabled
    Version 1.4.6
    Revision $Revision: 313688 $
    Active Persistent Connections 0
    Active Connections 0
    Oracle Run-time Client Library Version 11.2.0.2.0
    Oracle Instant Client Version 11.2
    Temporary Lob support enabled
    When we first view a site there is no problem but very randomly we get the following error:
    OCIEnvNlsCreate() failed. There is something wrong with your system - please check that 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 this is as randomly as it appears it disappears we can load the web-page without problems and after a couple of clicks the error is back. if we wait a coupe of seconds you can reload the page and it loads normaly.
    The error appears to be random and we get it over and over agian, it comes and goes after a cpl of pages are viewed. It seems to appear more when there are multiple users browsing on the website.
    Is there a fix for this? is this an known bug? It seems strange the instant client works some times and fails a second later without a change in the system.
    Hope someone can help us.
    Edited by: user10978378 on Sep 3, 2011 4:20 AM

    Solved it by compiling apache 2.2.20 into 64bits using:
    CFLAGS="-m64" CXXFLAGS="-m64" LDFLAGS="-m64" ./configure enable-so enable-cgi enable-info enable-rewrite enable-deflate enable-ssl
    and compiling php 5.3.8 into 64bits:
    CFLAGS="-m64" CXXFLAGS="-m64" LDFLAGS="-m64" ./configure with-apxs2=/usr/local/apache2/bin/apxs with-gd with-zlib disable-ipv6 with-jpeg-dir=/usr/ with-png-dir=/usr/ with-freetype-dir=/usr/ with-pear with-openssl with-oci8=instantclient,/opt/oracle/instantclient_10_2
    and using the 10.2.0.4 instant client.
    there might be a bug in the 11.x ones, they dont seem to work on Oracle Solaris 11.

  • Instant client 10.2.0.2 - Solaris 32 bit - sqlplus relocation error

    Did anyone use the sqlplus that comes with Instant Client 10.2.0.2 - Solaris 32 bit to connect to a remote Oracle database?
    I am unable to get it working.
    More info below:
    I unpacked these two packages onto my Solaris 9 box into a directory called /space/OracleClient10g/instantclient_10_2
    a) instantclient-basic-solaris32-10.2.0.2-20060303.zip
    b) instantclient-sqlplus-solaris32-10.2.0.2-20060303.zip
    I have set the following environment variables (csh):
    setenv ORACLIENT /space/OracleClient10g/instantclient_10_2
    setenv LD_LIBRARY_PATH "$ORACLIENT":"$LD_LIBRARY_PATH"
    set path = ($ORACLIENT $path)
    setenv SQLPATH $ORACLIENT
    setenv TNS_ADMIN $ORACLIENT
    setenv NLS_LANG AMERICAN_AMERICA.UTF8
    The tnsnames.ora file is in the $TNS_ADMIN directory and it has the tns entry that I need.
    When I run sqlplus using the tnsentry, I get a "relocation error" as below:
    $ sqlplus user1/pwd1@tnsentry
    ld.so.1: sqlplus: fatal: relocation error:
    file /space/OracleClient10g/instantclient_10_2/libsqlplus.so: symbol
    lnxqebc_chars: referenced symbol not found
    (The same tns entry is used from a different Solaris 9 machine where I have a full Oracle 9i client installed and sqlplus connects fine using this tns entry - so I do not think there is anything wrong with this tns entry. Besides, the error message that I am getting when I run sqlplus can be reproduced even by simply running 'sqlplus' without any arguments. )
    When I do an 'ldd' on sqlplus, every library needed by sqlplus is loaded correctly.
    $ ldd /space/OracleClient10g/instantclient_10_2/sqlplus
    libsqlplus.so => /space/OracleClient10g/instantclient_10_2/libsqlplus.so
    libclntsh.so.10.1 => /space/OracleClient10g/instantclient_10_2/libclntsh.so.10.1
    libnnz10.so => /space/OracleClient10g/instantclient_10_2/libnnz10.so
    libkstat.so.1 => /usr/lib/libkstat.so.1
    libnsl.so.1 => /usr/lib/libnsl.so.1
    libsocket.so.1 => /usr/lib/libsocket.so.1
    libgen.so.1 => /usr/lib/libgen.so.1
    libdl.so.1 => /usr/lib/libdl.so.1
    libsched.so.1 => /usr/lib/libsched.so.1
    libc.so.1 => /usr/lib/libc.so.1
    libaio.so.1 => /usr/lib/libaio.so.1
    libm.so.1 => /usr/lib/libm.so.1
    libthread.so.1 => /usr/lib/libthread.so.1
    libmp.so.2 => /usr/lib/libmp.so.2
    librt.so.1 => /usr/lib/librt.so.1
    libmd5.so.1 => /usr/lib/libmd5.so.1
    /usr/platform/SUNW,Ultra-Enterprise/lib/libc_psr.so.1
    /usr/platform/SUNW,Ultra-Enterprise/lib/libmd5_psr.so.1
    Any ideas on the cause of this error?

    I'd say that there is a problem loading the shared library libsqlplus.so.
    Try 'ldd /space/OracleClient10g/instantclient_10_2/libsqlplus.so' and see which libraries are referenced.
    It seems like they are all found, but at least one of them is missing an entry that should be there.
    - Trace sqlplus with 'strace' or 'truss' (I don't know which of the two exists on Solaris) to
    find out which library has the problem.
    - Check the versions and compare them with the versions required by the installation guide for the Oracle client.
    Yours,
    Laurenz Albe

  • Instant client 10.2 / Oracle home 8.1.7 coexistence

    Hi, I've searched the forum and other web sites for this info and not found a concise answer, so sorry if I've just missed it.
    I support an application that uses 10g as back end, and want to distribute instant client 10.2 ODBC driver for Windows with it. It turns out that some users have 8.1.7 ODBC driver already installed - including the environment variable TNS_ADMIN which references the location of the tnsnames.ora file the may be used by the driver.
    Now, if I install the instant client driver to my preferred default location, create my own tnsnames.ora file, and modify TNS_ADMIN to point to this new location, my driver works fine. I don't know what it is doing to the 8.1.7 driver, however, and unfortunately, I'm having trouble finding what it is actually used for and thus cannot test it.
    When I place my tnsnames.ora file in the same directory as that of the 8.1.7 driver and merge the files, my new entries don't seem to be recognized. My hope is that the 8.1.7 driver really does not need the TNS_NAMES variable because it has all of the necessary information written to the registry - which appears to be the case.
    So, 1) can I safely point TNS_NAMES to my file and not mess up the 8.1.7 driver? 2) If not, how can I make the two drivers coexist short of manually swapping the value of TNS_NAMES when I want to switch between drivers.
    Thanks in advance any help you can provide.

    The culprit turned out to be an sqlnet.ora file that set the default_domain to "world". Once I changed my file to append ".world" to all of my alias names, it works fine. Instant client doesn't require the sqlnet.ora file, but it can use it. Unfortunately, I have found other applications on some user systems that use different default domains. I've modified my installation script to parse the sqlnet.ora file (if it exists) and append the correct domain to my alias names, but that isn't going to help me when one of these applications is installed after mine and an sqlnet.ora file is created or stepped on after the fact. Any ideas on getting around this problem?
    On a related note, what is the value of the default domain anyway? What would happen to the other applications if I simply delete the sqlnet.ora file and modify their tnsnames.ora entries to have no suffix? I certainly don't want to do this if it will have a negative impact, but if it is really not necessary for our local network configuration, maybe it isn't really necessary.

  • CR 2008 and ODBC connection using Oracle Instant Client driver?

    Two questions.
    I'm creating CR 2008 report using an ODBC connection. The ODBC driver is the Oracle Instant Client (version 10.2, I think.)
    When I define the connection, I see only a few tables. I do not see the Tables, Views, Qualifiers tree that I see with a normal Oracle Server connection.
    Does anybody know why this happens? Is there a CR ODBC driver that works better?
    Second question:  I have a .NET application that is pointing the report to another Oracle DB. In my db, table names are not unique -- each user has the same set of tables. I find that when the .net applciation sets the datasource, I get connected to the first table with a given name; I do not get the table scoped by the logon user.
    In the .net application, how do I scope the table name to a particular user.
    Any info helps. Thanks.
    Tim

    Hi Tim,
    Below are the replies to your questions:
    Answer 1: Please try the below steps:
    - Make sure that in File->Options->Database Tab in the Data Explorer section the corresponding checkboxes are checked for tables, views,system tables,synonyms and stored procedures and the Table name LIKE and Owner LIKE boxes are blank.
    - Please try with OLEDB connection and check the results.
    - You can also refer to this SAP note no# 1215994, the link to which is given below:
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3132313539393426]
    Answer 2: If you are using RAS SDK only then you would be able to change table name. Please let us know if you are using RAS.
       If you are using RAS with Java please post your query in the Java forum else if you are using Visual Studio/.NET then please post your question in .NET Forum.
    Please update with the results.
    Thanks!

  • Error Compiling php 5.1.6 with Oracle Instant Client 10.1.0.5 on Fedora 5

    Hello
    I have Oracle 10.1.0 enterprise database installed on a Windows 2003 server.
    I have another machine that has Fedora Core 5 installed on it. I downloaded:
    Apache 2.2.3
    Php 5.1.6
    OracleInstantClient 10.1.0.5 (base and skdk packages) from technet.oracle.com
    I created a directory called /usr/lib/instantclient10_1 in which I unzipped
    the files for the Oracle Instant Client and the SDK into /usr/lib/instantclient10_1.
    So inside /usr/lib/instantclient10_1 I have:
    all the unzipped filed from the base for the instant client as well as
    a directory called sdk with files inside this subdirectory.
    I compiled and installed Apache.
    I then tried to configure php using the instantclient with the configure option
    --with-oci8=instantclient/usr/lib/instantclient10_1
    The first time I did this I got the error: "link from
    /usr/lib/instantclient10_1/libclntsh.so to libclntsh.so.10
    not found"
    Well I had the libclntsh.so.10 but no such link. So I did the following:
    ln -s libclntsh.so.10.1 libclntsh.so
    I assume this was OK to do but I found it strange that I had to do this.
    Question #1 - why should I have to do this?
    I then tried to configure php again but got an error that I paste in from
    the debug.log. From this debug log you can see the configure options I gave for
    php as well as the error. It says "cannot find -lirc". Now I did put into
    /etc/ld.so.conf the line /usr/lib/gaim since that is where libirc.so is and ran
    ldconfig but it still complained. When I copied libirc.so into /usr/lib it then said there were
    lots of errors in that libirc.so. The only item in the configure options depending on lirc is
    the with-oci8.  Why does with-oci8 depend on lirc?
    I also tried the above on Red Hat AS 4.0 and got the same errors.
    Question #2 -- what do I do?
    Thank You
    Gail Lange
    Here is the debug.log in the case when libirc.so is just in /usr/lib/gaim:
    CONFIGURE: './configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--enable-track-vars'
    '--enable-inline-optimization' '--with-gd' '--with-zlib' '--enable-debug'
    '--with-oci8=instantclient,/usr/lib/instantclient10_1' '--enable-sigchild'
    CC: gcc
    CFLAGS: -I/usr/include -g -O2
    CPPFLAGS:
    CXX:
    CXXFLAGS:
    INCLUDES: -I/usr/include/libxml2 -I/home/gail/php/php-5.1.6/ext/date/lib
    -I/usr/lib/instantclient10_1/sdk/include
    LDFLAGS: -L/usr/lib -Wl,-rpath,/usr/lib/instantclient10_1 -L/usr/lib/instantclient10_1
    LIBS: -lpng -lz -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm -ldl -lm -lnsl
    -lirc -lclntsh -lxml2 -lz -lm
    DLIBS:
    SAPI: apache2handler
    PHP_RPATHS: /usr/lib/instantclient10_1
    uname -a: Linux localhost.localdomain 2.6.15-1.2054_FC5smp #1 SMP Tue Mar 14 16:05:46 EST 2006
    i686 i686 i386 GNU/Linux
    gcc -o conftest -I/usr/include -g -O2 -L/usr/lib -Wl,-rpath,/usr/lib/instantclient10_1
    -L/usr/lib/instantclient10_1 conftest.c -lpng -lz -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm
    -lxml2 -lz -lm -ldl -lm -lnsl -lirc -lclntsh -lxml2 -lz -lm 1>&5
    conftest.c: In function 'main':
    conftest.c:3: warning: incompatible implicit declaration of built-in function 'exit'
    /usr/bin/ld: cannot find -lirc
    collect2: ld returned 1 exit status
    Thanks

    To be perfectly honest, I'm not sure. Everything I could find on it had to do with IRC or some kind of remote control thing (for controlling audio/media players). Maybe if Ivan stops by he'll know what it means... he knows quite a lot about the inner workings of many of these libraries.
    http://us3.php.net/install.unix was the most useful info I could find.
    There's also this thread:
    Cannot find ld -lirc PHP Linux
    ~Jer

  • Instant Client/ODBC 10.2.0.4 doesn't use PK

    Hi,
    i got the problem in our application (VB6, JET-Engine, ODBC - old school access) simple statements doesn't uses primary keys (constraints). Instead it does a "Full Table Scan" and i don't know why.
    More Infos:
    It's a simple table called e.g. DOCUMENT, it's has a few rows, the important one ist DOC_RECID which was created like this...
    CREATE TABLE DOCUMENT (
    DOC_RECID number NOT NULL,
    PRIMARY KEY (DOC_RECID));
    The Access is via DYNASET, the statement like this "select * from document where doc_recid = 123"
    Tested with Instant Client/ODBC 10.2.0.2, 10.2.0.4 and DataDirects Wired Driver
    Edited by: user11230853 on 04.06.2009 07:35

    Hi, thanks for answering...
    - I don't know if it's not the instant client (i read there's a bug 4608183 in IC < 10.2.0.2, but that's just with double and float)
    And it's doesn't make a "Fullt table scan" when i don't use the application (same statement)
    Quote:
    Note.257828.1 Ext/Pub Full Table Scan While Quering DATE Columns Using Oracle ODBC Driver:
    Note.403198.1 Ext/Pub Full Index Scan in Execution Plan With Access and Double or Float as Primary Key:
    Note.373129.1 Ext/Pub Slow Performance Exhibited by Oracle ODBC Against 10.2 Oracle Database:
    - Yes it is the statement
    - Yes there i updates the statistics myself, and ich also dropped the other indizies and created them again.
    - There are 275.000 rows in the table and 58 columns (varchar2, number, datetime, 2 CLOBs and 1 BLOB)
    Edited by: user11230853 on 04.06.2009 23:42

  • Occi  10.1.0.4 instant client  interface   and MSVC ++ 6.0

    First of All
    I am using XP windows and 10.1.0.4 instant client with MSVC 6.0.
    I success with connection only in Release version not Debug and only giving
    user and password and not db data.
    In any case i am able after connect to select some from table , insert etc. but
    only 2,3,4 times not more !!! After that it crashes.
    I have on the system installed also Oracle Form 10g . May it causes problems ?
    I have check paths etc. and it seems to catch the right include lib and dll even
    if Oracle Form 10g has some dll with the same name.
    Thank You in advance for any help which will be very appreciate.
    Kind Regards
    Anna

    /* Copyright (c) 2001, 2004, Oracle Corporation. All rights reserved. */
    /* NAME
    occidml.cpp - Basic DML Operations demo
    DESCRIPTION
    To exhibit the insertion, selection, updating and deletion of
    a row using OCCI interface
    MODIFIED (MM/DD/YY)
    sudsrini 07/23/04 - Copyright Info
    idcqe 03/05/01 - Creation
    IT IS DEMO FILE OCCIDML.CPP gived with instant client JUST MODIFIED FOR INTERFACING MY DATA BASE
    ONLY DISPLAYROW function has been used.
    Behaviour is only 7/8 line has been displayed and than it crashes.
    Message error gived:
    The instruction at "0x7c910c3f" referenced at "0x0036c725". The memory could not be "read"
    #include <stdafx.h>
    #include <iostream>
    #include <occi.h>
    using namespace oracle::occi;
    using namespace std;
    class occidml
    private:
    Environment *env;
    Connection *conn;
    Statement *stmt;
    public:
    occidml (string user, string passwd, string db)
    env = Environment::createEnvironment (Environment::DEFAULT);
    conn = env->createConnection (user, passwd, db);
    ~occidml ()
    env->terminateConnection (conn);
    Environment::terminateEnvironment (env);
    * Insertion of a row with dynamic binding, PreparedStatement functionality.
    void insertBind (int c1, string c2)
    string sqlStmt = "INSERT INTO author_tab VALUES (:x, :y)";
    stmt=conn->createStatement (sqlStmt);
    try{
    stmt->setInt (1, c1);
    stmt->setString (2, c2);
    stmt->executeUpdate ();
    cout << "insert - Success" << endl;
    }catch(SQLException ex)
    cout<<"Exception thrown for insertBind"<<endl;
    cout<<"Error number: "<< ex.getErrorCode() << endl;
    cout<<ex.getMessage() << endl;
    conn->terminateStatement (stmt);
    * Inserting a row into the table.
    void insertRow ()
    string sqlStmt = "INSERT INTO author_tab VALUES (111, 'ASHOK')";
    stmt = conn->createStatement (sqlStmt);
    try{
    stmt->executeUpdate ();
    cout << "insert - Success" << endl;
    }catch(SQLException ex)
    cout<<"Exception thrown for insertRow"<<endl;
    cout<<"Error number: "<< ex.getErrorCode() << endl;
    cout<<ex.getMessage() << endl;
    conn->terminateStatement (stmt);
    * updating a row
    void updateRow (int c1, string c2)
    string sqlStmt =
    "UPDATE author_tab SET author_name = :x WHERE author_id = :y";
    stmt = conn->createStatement (sqlStmt);
    try{
    stmt->setString (1, c2);
    stmt->setInt (2, c1);
    stmt->executeUpdate ();
    cout << "update - Success" << endl;
    }catch(SQLException ex)
    cout<<"Exception thrown for updateRow"<<endl;
    cout<<"Error number: "<< ex.getErrorCode() << endl;
    cout<<ex.getMessage() << endl;
    conn->terminateStatement (stmt);
    * deletion of a row
    void deleteRow (int c1, string c2)
    string sqlStmt =
    "DELETE FROM author_tab WHERE author_id= :x AND author_name = :y";
    stmt = conn->createStatement (sqlStmt);
    try{
    stmt->setInt (1, c1);
    stmt->setString (2, c2);
    stmt->executeUpdate ();
    cout << "delete - Success" << endl;
    }catch(SQLException ex)
    cout<<"Exception thrown for deleteRow"<<endl;
    cout<<"Error number: "<< ex.getErrorCode() << endl;
    cout<<ex.getMessage() << endl;
    conn->terminateStatement (stmt);
    * displaying all the rows in the table
    void displayAllRows ()
         string s1,s2;
    string sqlStmt = "SELECT trans_num, pan1 FROM transazioni \
    order by trans_num";
    stmt = conn->createStatement (sqlStmt);
    ResultSet *rset = stmt->executeQuery ();
    try{
    while (rset->next ())
              cout << "trans_num: " << rset->getString(1) << " PAN1: " << rset->getString(2) << endl;
    }catch(SQLException ex)
    cout<<"Exception thrown for displayAllRows"<<endl;
    cout<<"Error number: "<< ex.getErrorCode() << endl;
    cout<<ex.getMessage() << endl;
         stmt->closeResultSet (rset);
    conn->terminateStatement (stmt);
    * Inserting a row into elements table.
    * Demonstrating the usage of BFloat and BDouble datatypes
    void insertElement (string elm_name, float mvol=0.0, double awt=0.0)
    BFloat mol_vol;
    BDouble at_wt;
    if (!(mvol))
    mol_vol.isNull = TRUE;
    else
    mol_vol.value = mvol;
    if (!(awt))
    at_wt.isNull = TRUE;
    else
    at_wt.value = awt;
    string sqlStmt = "INSERT INTO elements VALUES (:v1, :v2, :v3)";
    stmt = conn->createStatement (sqlStmt);
    try{
    stmt->setString(1, elm_name);
    stmt->setBFloat(2, mol_vol);
    stmt->setBDouble(3, at_wt);
    stmt->executeUpdate ();
    cout << "insertElement - Success" << endl;
    }catch(SQLException ex)
    cout<<"Exception thrown for insertElement"<<endl;
    cout<<"Error number: "<< ex.getErrorCode() << endl;
    cout<<ex.getMessage() << endl;
    conn->terminateStatement (stmt);
    * displaying rows from element table
    void displayElements ()
    string sqlStmt =
    "SELECT element_name, molar_volume, atomic_weight FROM elements \
    order by element_name";
    stmt = conn->createStatement (sqlStmt);
    ResultSet *rset = stmt->executeQuery ();
    try{
    cout.precision(7);
    while (rset->next ())
    string elem_name = rset->getString(1);
    BFloat mol_vol = rset->getBFloat(2);
    BDouble at_wt = rset->getBDouble(3);
    cout << "Element Name: " << elem_name << endl;
    if ( mol_vol.isNull )
    cout << "Molar Volume is NULL" << endl;
    else
    cout << "Molar Volume: " << mol_vol.value << " cm3 mol-1" << endl;
    if ( at_wt.isNull )
    cout << "Atomic Weight is NULL" << endl;
    else
    cout << "Atomic Weight: " << at_wt.value << " g/mole" << endl;
    }catch(SQLException ex)
    cout<<"Exception thrown for displayElements"<<endl;
    cout<<"Error number: "<< ex.getErrorCode() << endl;
    cout<<ex.getMessage() << endl;
    stmt->closeResultSet (rset);
    conn->terminateStatement (stmt);
    }; // end of class occidml
    int main (void)
    //string user = "central";
    //string passwd = "central";
    //string db = "//10.80.0.108:1521/ora8";
    string user = "orasin";
    string passwd = "orasin";
    // string db = "//192.168.49.140:1521/ora8";
    // string user = "sede";
    // string passwd = "sede";
    // string db = "//192.168.49.145:1521/ora8";
    // string user;
    // string passwd;
    string db;
    cout << "occidml - Exhibiting simple insert, delete & update operations"
    << endl;
    occidml *demo = new occidml (user, passwd, db);
    cout << "Displaying all records before any operation" << endl;
    try
    demo->displayAllRows ();
    }catch(SQLException ex){
    cout<<"Exception thrown for displayAllRows"<<endl;
    cout<<"Error number: "<< ex.getErrorCode() << endl;
    cout<<ex.getMessage() << endl;
    // cout << "Inserting a record into the table author_tab "
    // << endl;
    // demo->insertRow ();
    // cout << "Displaying the records after insert " << endl;
    // demo->displayAllRows ();
    // cout << "Inserting a records into the table author_tab using dynamic bind"
    // << endl;
    // demo->insertBind (222, "ANAND");
    cout << "Displaying the records after insert using dynamic bind" << endl;
    demo->displayAllRows ();
    cout << "deleting a row with author_id as 222 from author_tab table" << endl;
    demo->deleteRow (222, "ANAND");
    cout << "updating a row with author_id as 444 from author_tab table" << endl;
    demo->updateRow (444, "ADAM");
    cout << "displaying all rows after all the operations" << endl;
    demo->displayAllRows ();
    cout << "inserting radio active element properties" << endl;
    demo->insertElement ("Uranium", 12.572, 238.0289 );
    demo->insertElement ("Plutonium", 12.12, 244.0642 );
    demo->insertElement ("Curium", 18.17, 247.0703 );
    demo->insertElement ("Thorium");
    demo->insertElement ("Radium", 41.337, 226.0254);
    cout << "displaying all radio active element properties" << endl;
    demo->displayElements ();
    delete (demo);
    cout << "occidml - done" << endl;
    return ( 0 );
    }

  • Unable to connect remote databse via windows XP(using Instant Client)

    I have downlaod instant Client and the PATH env variable automatically is set when I install Instant Client. Then I try to connect using the following(from the path C:/XEClient/bin):
    sqlplus username/passwd@//host:[port][service name]
    I get the following error:
    ORA-12170: TNS: Connect timeout occurred
    When I ping the host I get reply.
    Also I am able to connect to that same database thru perl( so I presume there is no problem with the database not avaiable or port not open etc), where additionally ORACLE_HOME and ORACLE_SID env variable are set to the path in the remote machine. The databse version is Oracle 9.2
    Below is the sqlnet.log:
    Fatal NI connect error 12170.
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
    Time: 30-AUG-2006 14:56:03
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12535
    TNS-12535: Message 12535 not found; No message file for product=NETWORK, facility=TNS
    ns secondary err code: 12560
    nt main err code: 505
    TNS-00505: Message 505 not found; No message file for product=NETWORK, facility=TNS
    nt secondary err code: 60
    nt OS err code: 0
    Client address: <unknown>
    ===========================================================
    Am I missing some set up.
    Can anybody help please...I have been trying since last 3 days.
    Thanks

    Hi Laurenz,
    Sorry to say...but it still does not connect(incorporated your suggestions), nor is the trace generated. sqlnet.log looks no different. As about any other oracle clients...I did not have any until yesterday evening when we installed the entire 10g oracle...client and database.
    Anyways now too after having installed oracle 10g on D drive, no succes in connecting to remote databse.
    Two questions:
    1. Is XE client compatible with 10g database? As I am trying to connect to 9.2 version as mentioned in my initial query.
    2. When I ping the host I do get reply. BUT when I telnet i.e.
    telnet host port
    ....it says "could not open connection to the host, on port XXX: connect failed"
    Does it mean there is a firewall at the remote end which is preventing the successfull connection? But then how do I connect thru' Perl with no extra info...
    Any other suggestion please let me know...and also do you suggest I uninstall all oracle clients other than XE...or is there any way out ...having multiple clients?
    Another query...hope I can use toad after having set up the XE client?
    Thanks in advance...
    Message was edited by:
    user527367

  • Instant Client on Windows is released!

    Instant Client has been released on Windows! See
    http://otn.oracle.com/tech/oci/instantclient/instantclient.html
    for details.
    There is also a separate forum for Instant Client:
    Instant Client

    Talking about registry settings...
    Where is ODBC? Is there a separate driver install?
    Description mentions "Basic: All files required to run OCI, OCCI, and JDBC-OCI applications (and ODBC on Windows)". But the two (or is it three) driver files are missing form the archive and moreover you would need the .reg info to configure odbc datasources.

  • OCIEnvCreate fails with -1 using Instant Client 10.2.0.1 on Windows XP

    I have a working application (using the full Oracle install) and I'm trying to see if I can get it to work using the instant client. I installed the client, changed my path and rebooted. According to the instant client how to install - it should just work but then if everything worked like it was documented then lots of support folks wouldn't have jobs. The only parameter I'm setting is the OCI_THREADED flag. The database is on a different server - but that shouldn't matter I'm not getting that far. I am logged into an administrator account on the client box - so I'm not sure what else could be wrong. Also if anyone knows why we always seam to need administrator accounts that would be a great piece of info too.

    It should work if you follow the instructions on the instant client page on OTN:
    http://www.oracle.com/technology/tech/oci/instantclient/index.html
    Are you able to connect to SQL Plus after setting up instant client ?

  • Redistribution of Oracle Instant Client in a linux distro

    Hello,
    Im one of the Archlinux TUs (Trusted Users, who are packagers for the community repository, i mean, a repository of users packages).
    I want to know if that is possible and legal to redistribute the oracle-instant-client in a binary form (in a pkg.tar.gz - i.e package ) ?
    Some great opensource packages use oracle and it would be great if we could add it to make these packages avaliable to all users.
    For more info about archlinux and AUR (Archlinux User Repositories):
    http://archlinux.org
    http://aur.archlinux.org
    Thanks for the attention.

    let's continue this thread here: .oui error in the install of oracle database client in a linux CentOS
    ~ Madrid.

Maybe you are looking for