Installing oracle instant client 12.1 on Windows 8 with no previous Oracle Software

Hi all,
I want to install oracle client 12.1 on my 64bit windows 8 computer. Do i have to have an oracle software installed first?
I've downloaded all the packages from the oracle website ie, basic, odbc, jdbc, sqlplus and sdk
I have extracted them into one folder c:\Program Files\OracleInstantClient. as told to do in the documentation
These are the actions I have taken as suggested by different forums which i have done;
- created a system variable OCI_LIB64 and set the value to c:\Program Files\OracleInstantClient.
- created a system and user variable ORACLE_HOME and set the value to c:\Program Files\OracleInstantClient.
- created a user variable TNS_ADMIN and set the value to c:\Program Files\OracleInstantClient.
- create subfolders "\network\admin" in your 64-bit client folder and create sqlnet.ora and tnsnames.ora here ie c:\Program Files\OracleInstantClient\network\admin
In another installation guide i found, i was told to double click a setup.exe and start the GUI which i didn't see after i extracted all the downloads
Please am missing something? do i have to install oracle database first? i really don't need that.

You do not have to install oracle database in order to install oracle client.  But it won't do any good to install the client if you don't have a database to connect to -- somewhere.  It's just that the database doesn't have to be in the same box as the client.  In fact, it usually isn't.
You created a directory "c:\Program Files\OracleInstantClient\network\admin" to hold your tnsnames.ora and sqlnet.ora files. But then you set tns_admin to point to some other directory.  If you set tns_admin, you are telling the client THAT is where it should locate the tns config files.
Oracle sometimes doesn't like putting things in Windows folders that have embedded spaces in the folder name.  I'd avoid it like the plague.

Similar Messages

  • Oracle instant client 10.2.0.4 to connect to oracle database 9.2

    got message ORA-03134 when creating ODBC connection to database version 9.2. However, it was successful to connect to database versions 10g and up. Has anyone successfully connected to Oracle 9.2 by using the 10g instant client?
    Isn't Oracle 10g instant client supported to connect to 9i databases?
    Thanks.
    Edited by: andychow on Jul 28, 2010 4:44 PM

    I think this is nothing to do with ODBC, to clarify try to connect with sqlplus to same DB.
    However, what is your exact Oracle client version?
    Looks like there was a bug in 10g, and I think issue is fixed in patch to 10.1.0.3. Check @ 10g client vs 8i server (ORA-03134): news?

  • Anyone have experience about Mandrake9.1 + oracle instant client +php

    Anyone have experience about Mandrake9.1 + oracle instant client +php
    ======================
    Now i need your help about
    1. Install oracle instant client on my MDK9.1
    2. and want it so success and nice work ( PHP+Oracle Instant Client )
    ( PHP that can use oci8 tag : support oracle tag ) sir
    Can you help me and send me how-to/guide/link that "It's work !! " ? sir
    Thank you very much
    Pratchaya

    Use --with-oci8-instant-client option.
    Following links will help you:
    php + openldap +oci8 instantclient
    http://www.oracle.com/technology/pub/notes/technote_php_instant.html

  • Oracle Instant Client - Redistributable or not?

    Is Oracle Instant Client Redistributable?

    As said, talk to your Oracle rep to get something in writing that confirms the statements on the IC home page
    http://www.oracle.com/technology/tech/oci/instantclient/index.html

  • Oracle Instant Client libraries wouldn't install

    I tried installing Oracle libraries (main file is called "oracle-instantclient-basic-10.2.0.4-1.i386", SDK and SQL according to the manual Oracle provides here: http://download.oracle.com/docs/cd/B1930601/install.102/e12121/insttask.htm#CIHEJFGF
    After files is unzipped, manual instructs to use "runInstaller" command out of the directory where files are placed but this command is not recognized which tells me that either command file is missing or command is spelled wrong in the manual.
    If anybody has successfully installed Oracle Instant Client on OS X 10.6 from the official Oracle download, please help! Thanks in advance.

    Ok - I ran an ugly hack (similar to what I did with Linux) and manually moved files to locations which Oracle considers default and which do not require environmental variables, as follows:
    When in the directory where Oracle client files were unzipped, run these commands:
    cp sdk/include/*.h /usr/include
    cp sqlplus /usr/bin
    cp lib /usr/lib
    Also, to be able to install OCI8 PHP module, following symbolic link will need to be created:
    A symbolic link will need to be created as follows:
    cd /usr/lib
    ln -s libclntsh.dylib.10.1 libclntsh.dylib
    I then installed oci8 for PHP and DBD::oracle for Perl and ran some test files, they work. However, if somebody knows why libraries didn't install with the command, as manual instructs, please answer! Thanks in advance!

  • 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.

  • 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

  • Request: enable use of sql*plus via Oracle Instant Client.

    hi,
    great project....
    I've just installed Raptor release 3 on top of oracle instant client, and it seems to be running fine. my sql*plus from the instant client functions from the command line, but the sql*plus menu item in the tools menu is grayed out.
    review of the help files say's that oracle_home must be set, but instant client does not need an oracle_home. (uses tns_admin instead).
    is there a work around for this? (other than loading the full oracle client w/ it's sql*plus)
    thanks
    GT

    The SQL*Plus menu item does not seem to be correctly detecting the current connection context. I'm filing this as a bug to be fixed before we ship. In the current version, however, you can enable the menu item by ensuring first that the connection is selected in the Connections navigator.
    When the menu is invoked, you will be prompted for the location of the SQL*Plus executable. On Windows, this should just be the path to sqlplus.exe (or sqlplusw.exe). On Unix platforms, you should include 'xterm' or an equivalent in order to ensure that SQL*Plus invokes in a window.
    - John
    Raptor Development Team

  • Instant Client not working on Windows Server 2003

    Hi everybody,
    I have installed the Instant Client libraries on a machine running Windows Server 2003 in order to connect to a remote Oracle server. I also installed the sqlplus package. I copied them in a local directory, updated the Environment variable PATH and restarted. When I try to execute sqlplus to test if everything works fine, I get the following errors:
    sqlplus user/[email protected]:1521/orcl
    SP2-1503: Unable to initialize Oracle call interface
    SP2-0152: ORACLE may not be functioning properly
    Also, when I try to use PHP OCI8 functions like oci_connect() I get an error like:
    PHP Warning: oci_connect() [function.oci-connect]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that PATH includes the directory with Oracle Instant Client libraries
    I checked it and the PATH variable points to the instant client libraries.
    Any ideas?
    Thanks in advance!

    I get the following errors: sqlplus user/[email protected]:1521/orcl SP2-1503: Unable to initialize Oracle call interface SP2-0152: ORACLE may not be functioning properly Also, when I try to use PHP OCI8 functions like oci_connect......Like the error suggested, the instant client libraries does not include the Network Service required by SQLPLUS.
    The connect string you are trying to use doesn't work for SQLPLUS. SQLPLUS will need proper TNS names configured.
    In another words, instanct client libraries installation is not enough to use sqlplus. Use Runtime installation or Customized installation.

  • Oracle instant client 11g doesn`t connect to database 10g

    hi,
    i installed a oracle instant client 11g for windows xp on my pc, because i need a odbc connection.
    I don`nt know this product. I don`t find a tns.ora file, so how can i give them the right parameter for my oracle database and how can i make a odbc connection.
    Is it already the right client?
    Thanks in advance.
    Regards
    Nicole

    nicole4 wrote:
    Hi,
    now 've seen that installed this client win32_11gR2_client this isn't the instant basic client.
    Should i deinstall this client?
    Or how can i make there a odbc connection?
    Thanks
    NicoleODBC sits on top of the Oracle client. (or any other native client of a given db product).
    I don't think the ODBC drivers come with the instant client, though if you can locate a 3d party odbc driver for Oracle, that should work with the instant client.
    Oracle ODBC drivers do come with the full client, but even there don't install by default - at least not up through 10g. In that case you have to select 'custom installation' (which can be done after a basic run-time installation) and select 'windows components'.

  • Oracle instant client & unixODBC did not work on Fedora 4

    Dear experts,
    Please try to fix the following problem.
    I want to connect to oracle 10g on windows XP from client that runs Fedora 4 using ODBC.
    *1.     I installed oracle instant client on Fedora:*
    •     oracle-instantclient11.2-basic-11.2.0.1.0-1.i386.rpm
    •     oracle-instantclient11.2-devel-11.2.0.1.0-1.i386.rpm
    •     oracle-instantclient11.2-odbc-11.2.0.1.0-1.i386.rpm
    •     oracle-instantclient11.2-sqlplus-11.2.0.1.0-1.i386.rpm
    *2.     Set the following environment variables:*
    •     ORACLE_HOME          =/usr/lib/oracle/11.2/client
    •     ORACLE_HOME_LISTNER=/usr/lib/oracle/11.2/client/bin
    •     LD_LIBRARY_PATH     =/usr/lib/oracle/11.2/client/lib
    •     SQLPATH               =/usr/lib/oracle/11.2/client/lib
    •     TNS_ADMIN               =/usr/lib/oracle/11.2/client/bin
    •     TWO_TASK               =//xxx.xxx.xxx.xxx:1521/orcl
    *3.     Test connection from Fedora to Windows and it works perfect.*
    sqlplus system/pass@//xxx.xxx.xxx.xxx:1521/orcl
    *4.     Intsall unixODBC-2.3.0.tar.gz*
    *5.     Add Oracle ODBC entry in odbc.ini*
    [ORCL]
    Driver          = Oracle 11g ODBC driver
    ServerName     = xxx.xxx.xxx.xxx
    Database     = orcl
    DSN           = ORCL
    Port          = 1521
    *6.     And this’s the Oracle ODBC driver entry in odbcinst.ini*
    [Oracle 11g ODBC driver]
    Description          = Oracle ODBC driver for Oracle 11g
    Driver               = /usr/lib/oracle/11.2/client/lib/libsqora.so.11.1
    Driver64          =
    Setup               =
    Setup64          =
    UsageCount          =
    CPTimeout          =
    CPReuse          =
    FileUsage          =
    *7.     Now, isql -v orcl system pass, fails and reports the following error:*
    [S1000][unixODBC][Oracle][ODBC][Ora]ORA-12504: TNS:listener was not given the SERVICE_NAME in CONNECT_DATA
    [ISQL]ERROR: Could not SQLConnect
    Here’s my tnsnames.ora:
    ORCL =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xxx)(PORT = 1521))
    (CONNECT_DATA =
    (SID = ORCL)
    (SERVICE_NAME = ORCL)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    Here’s my listener.ora:
    SID_LIST_ORCL =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = ORCL)
    (ORACLE_HOME = /usr/lib/oracle/11.2/client)
    (GLOBAL_NAME = ORCL)
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /usr/lib/oracle/11.2/client)
    (PROGRAM = extproc)
    ORCL =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xxx)(PORT = 1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    Here’s my sqlnet.ora:
    SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    tnsnames.ora, listener.ora & sqlnet.ora are at /usr/lib/oracle/11.2/client/bin
    Please I’m waiting your help, sorry for long post.
    Best regards,
    Edited by: 788062 on Aug 15, 2010 2:32 PM

    It works now after removing listener.ora & sqlnet.ora and modifying ServerName from xxx.xxx.xxx.xxx to //xxx.xxx.xxx.xxx:1521/orcl.
    Thanks for your time.

  • Problem PHP Oracle - Instant Client

    Hi,
    i have been trying to resolve this issue but im not really sure what i need to do, could someone help me?
    Warning: oci_connect() [function.oci-connect]: OCIEnvNlsCreate() failed. There is something wrong with your system - please check that PATH includes the directory with Oracle Instant Client libraries
    Im getting this error when i try to connect to a Oracle database via PHP.
    My host is Windows, Oracle instant client is on C:\instantclient_11_2 and added on PATH Variables.
    I think there are missing some oracle variables on my phpinfo(), below:
    OCI8 Support
    enabled
    Version
    1.4.9
    Revision
    $Id: 44bfa713983a99b3e59477f6532e5fb51b6dee94 $
    Active Persistent Connections
    0
    Active Connections
    0
    Oracle Run-time Client Library Version
    0.0.0.0.0
    Oracle Instant Client Version
    11.2
    Temporary Lob support
    enabled
    Collections support
    enabled
    Directive
    Local Value
    Master Value
    oci8.connection_class
    no value
    no value
    oci8.default_prefetch
    100
    100
    oci8.events
    Off
    Off
    oci8.max_persistent
    -1
    -1
    oci8.old_oci_close_semantics
    Off
    Off
    oci8.persistent_timeout
    -1
    -1
    oci8.ping_interval
    60
    60
    oci8.privileged_connect
    Off
    Off
    oci8.statement_cache_size
    20
    20
    Environment
    Variable
    Value
    REDIRECT_HANDLER
    application/x-httpd-php
    REDIRECT_STATUS
    200
    HTTP_HOST
    marcelb01v
    HTTP_USER_AGENT
    Mozilla/5.0 (Windows NT 6.1; rv:28.0) Gecko/20100101 Firefox/28.0
    HTTP_ACCEPT
    text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    HTTP_ACCEPT_LANGUAGE
    en-US,en;q=0.5
    HTTP_ACCEPT_ENCODING
    gzip, deflate
    HTTP_CONNECTION
    keep-alive
    PATH
    C:\instantclient_11_2;O:\ora11202w\BIN;C:\PHP\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;
    SystemRoot
    C:\windows
    COMSPEC
    C:\windows\system32\cmd.exe
    PATHEXT
    .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    WINDIR
    C:\windows
    SERVER_SIGNATURE
    no value
    SERVER_SOFTWARE
    Apache/2.2.25 (Win32) mod_fcgid/2.3.6
    SERVER_NAME
    marcelb01v
    SERVER_ADDR
    10.26.213.195
    SERVER_PORT
    80
    REMOTE_ADDR
    10.45.112.152
    DOCUMENT_ROOT
    C:/htdocs
    SERVER_ADMIN
    SCRIPT_FILENAME
    C:\htdocs\stuffs\test.php
    REMOTE_PORT
    51461
    REDIRECT_URL
    /stuffs/test.php
    GATEWAY_INTERFACE
    CGI/1.1
    SERVER_PROTOCOL
    HTTP/1.1
    REQUEST_METHOD
    GET
    QUERY_STRING
    no value
    REQUEST_URI
    /stuffs/test.php
    SCRIPT_NAME
    /stuffs/test.php
    ORIG_SCRIPT_FILENAME
    C:/PHP/php-cgi.exe
    ORIG_PATH_INFO
    /stuffs/teste.php
    ORIG_PATH_TRANSLATED
    C:\htdocs\stuffs\test.php
    ORIG_SCRIPT_NAME
    /php/php-cgi.exe
    PHP Variables
    Variable
    Value
    _SERVER["REDIRECT_HANDLER"]
    application/x-httpd-php
    _SERVER["REDIRECT_STATUS"]
    200
    _SERVER["HTTP_HOST"]
    marcelb01v
    _SERVER["HTTP_USER_AGENT"]
    Mozilla/5.0 (Windows NT 6.1; rv:28.0) Gecko/20100101 Firefox/28.0
    _SERVER["HTTP_ACCEPT"]
    text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    _SERVER["HTTP_ACCEPT_LANGUAGE"]
    en-US,en;q=0.5
    _SERVER["HTTP_ACCEPT_ENCODING"]
    gzip, deflate
    _SERVER["HTTP_CONNECTION"]
    keep-alive
    _SERVER["PATH"]
    C:\instantclient_11_2;O:\ora11202w\BIN;C:\PHP\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;
    _SERVER["SystemRoot"]
    C:\windows
    _SERVER["COMSPEC"]
    C:\windows\system32\cmd.exe
    _SERVER["PATHEXT"]
    .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    _SERVER["WINDIR"]
    C:\windows
    _SERVER["SERVER_SIGNATURE"]
    no value
    _SERVER["SERVER_SOFTWARE"]
    Apache/2.2.25 (Win32) mod_fcgid/2.3.6
    _SERVER["SERVER_NAME"]
    marcelb01v
    _SERVER["SERVER_ADDR"]
    10.26.213.195
    _SERVER["SERVER_PORT"]
    80
    _SERVER["REMOTE_ADDR"]
    10.45.112.152
    _SERVER["DOCUMENT_ROOT"]
    C:/htdocs
    _SERVER["SERVER_ADMIN"]
    _SERVER["SCRIPT_FILENAME"]
    C:\htdocs\stuffs\test.php
    _SERVER["REMOTE_PORT"]
    51461
    _SERVER["REDIRECT_URL"]
    /stuffs/test.php
    _SERVER["GATEWAY_INTERFACE"]
    CGI/1.1
    _SERVER["SERVER_PROTOCOL"]
    HTTP/1.1
    _SERVER["REQUEST_METHOD"]
    GET
    _SERVER["QUERY_STRING"]
    no value
    _SERVER["REQUEST_URI"]
    /stuffs/test.php
    _SERVER["SCRIPT_NAME"]
    /stuffs/test.php
    _SERVER["ORIG_SCRIPT_FILENAME"]
    C:/PHP/php-cgi.exe
    _SERVER["ORIG_PATH_INFO"]
    /stuffs/test.php
    _SERVER["ORIG_PATH_TRANSLATED"]
    C:\htdocs\stuffs\test.php
    _SERVER["ORIG_SCRIPT_NAME"]
    /php/php-cgi.exe
    _SERVER["PHP_SELF"]
    /stuffs/test.php
    _SERVER["REQUEST_TIME"]
    1399483024

    Your PATH includes "C:\instantclient_11_2;O:\ora11202". This hints that you have multiple versions of Oracle installed, which is common cause of issues.
    Do you need Instant Client?  If you already have an Oracle DB you don't really need Instant Client unless you have a particular version requirement.

  • Instant Client on 64-bit Windows 7: Driver does not appear in System DSN

    Instant Client on 64-bit Windows 7: Driver does not appear in System DSN tab when creating a new Data source.
    What I did so far:
    I downloaded the basic and odbc zips for Window 64-bit.
    Unzipped the basic zip.
    Unzipped the odbc zip to the same directory.
    Added the dir path to the System Environment Variable called Path.
    Double-clicked on the odbc_install.exe to run it from Windows Explorer.
    Then I tried to add the driver to create a new data source but it does not appear in the list of drivers.
    From a cmd window, I navigated to the instant client directory and tried to run odbc_install again.
    I got the message: Oracle ODBC Driver with same name already exists.
    What am I missing?

    hello, I did it like that you say,but the result also is "oracle odbc driver with same name already exists". I don't kown what can I do it ,Thank you!

  • Oracle 10g Client not working in Windows 7 64 bit

    Dear All,
    Not ablle to install Oracle 10g Client (Rel 2) in Windows 7 64 bit , getting an abnormal error and stoping ..
    Please suggest me how to proceed futher

    823755 wrote:
    Dear All,
    Not ablle to install Oracle 10g Client (Rel 2) in Windows 7 64 bit , getting an abnormal error and stoping ..
    Please suggest me how to proceed futherWhich Edition of Windows 7?
    Where version of Oracle to four decimal places; i.e. V10.2.0.1

  • Imp Exp utility in ubuntu 10.4 with oracle instant client 10

    Hi,
    I have a problem with the imp/exp utility on Ubuntu 10.4.
    I have installed the oracle instant client 10, and I have followed this thread
    [http://download.oracle.com/docs/cd/B25329_01/doc/admin.102/b25107/impexp.htm#CHDDBGDF]
    So, I've set env variable in my .bashrc
    ORACLE_HOME=/home/lucia/Programmi/instantclient10_1
    export ORACLE_HOME
    LD_LIBRARY_PATH=/home/lucia/Programmi/instantclient10_1:${LD_LIBRARY_PATH}
    export LD_LIBRARY_PATH
    PATH=/home/lucia/Programmi/instantclient10_1:${PATH}
    export PATH
    SQLPATH=/home/lucia/Programmi/instantclient10_1:${SQLPATH}
    export SQLPATH
    Sqlplus works fine, but when I try to use the utility exp/imp
    exp DB_USER/DB_PW@DB_SCHEMA owner=DB_USER buffer=300000 LOG=DB_USER.log FILE=DB_USER.dmp compress=n
    I have the following error:
    No command 'exp' found, did you mean:
    Command 'xep' from package 'pvm-examples' (universe)
    Command 'ex' from package 'vim' (main)
    Command 'ex' from package 'nvi' (universe)
    Command 'ex' from package 'vim-nox' (universe)
    Command 'ex' from package 'vim-gnome' (main)
    Command 'ex' from package 'vim-tiny' (main)
    Command 'ex' from package 'vim-gtk' (universe)
    Command 'axp' from package 'axp' (universe)
    Command 'expr' from package 'coreutils' (main)
    Command 'expn' from package 'sendmail-base' (universe)
    Command 'epp' from package 'e16' (universe)
    exp: command not found
    (I cannot use data pump exp)
    Any suggestions?
    thanks in advance.
    Lucia

    root@laptop:~# /tmp/CVU_11.2.0.1.0_lucia/runfixup.sh
    Response file being used is :/tmp/CVU_11.2.0.1.0_lucia/fixup.response
    Enable file being used is :/tmp/CVU_11.2.0.1.0_lucia/fixup.enable
    Log file location: /tmp/CVU_11.2.0.1.0_lucia/orarun.log
    [: 845: true: unexpected operator
    [: 860: unexpected operator
    Any suggestions?
    thanks
    LuciaHello,
    I had the same problem. It was related to the shell script interpreter being used: it is really a bash script asking to be interpreted as sh. For the impatient, the solution was to change the first line of the script orarun.sh to read as:
    #!/bin/bash
    Explanation:
    1. The script runfixup.sh calls orarun.sh. The latter is the one that fails starting at line 845.
    2. The script is really a bash script as can be seen from the if syntax used. For example at line 191 we see the double equall sign ==:
    if [ "`echo $SET_KERNEL_PARAMETERS | tr A-Z a-z`" == "true" ]
    3. The bash man page says:
    string1 == string2
    string1 = string2
    True if the strings are equal. = should be used with the test command for POSIX conformance.
    string1 != string2
    True if the strings are not equal.
    (End of man page excerpt)
    Notice in particular that for a bash script to be POSIX it should avoid the == and just use =
    4. orarun.sh has on its first line #!/bin/sh. On my Ubuntu system, sh is a softlink to dash and the dash man page says:
    s1 = s2 True if the strings s1 and s2 are identical.
    s1 != s2 True if the strings s1 and s2 are not identical.
    5. So this script script uses bash syntax but is interpreted by dash. It is possible that this worked fine for the Oracle developer if on their system sh was softlinked to bash (which is often the case). Apparently, one should then be very careful to not use idioms that are not POSIX compliant.
    6. Another solution is to change the /bin/sh softlink from dash to bash. Personally, I was less comfortable doing this (the possible repercussions were wider than the proposed solution above).
    After making the change, the script ran perfectly. I think the best solution is for Oracle to update the script to be POSIX compliant or to identify itself as bash.
    Hope that helped,
    Mark Gaber
    Edited by: user1112514 on Jun 30, 2010 3:28 AM

Maybe you are looking for

  • Smart form for different header level data

    Hi, I need to design a smart form,in th samart form i have 2 header records and for each header reocrd again 10 item records. My form shd print with fst header record  and its item records and after ending fst header record details it shd give 2nd he

  • How Does One Open Components, and See What's Inside?

    There are a few components I would like to see the contents of; but, not being a programmer, I would like to read their contents in plain English. Are there any programs that can do this? Thanks. appler505

  • Qosmio X870/016: Win 8.1 - DVD player 3D option greyed out

    I have Qosmio PSPLZA-016003 with Win 8.1 When new I could play 3D Blu-ray disks in 3D no problem on Win 8 I upgraded to Win 8.1 but did not check 3D DVDs worked. After Toshiba Service updated Blu-ray player I could not play 3D disks in 3D - they appe

  • After Update 5.1 (4S) Wartungsmodus

    After Update 5.1 (4S) the device is in maintenance mode (Wartungsmodus) This is a software error. The firmware is very poorly tested

  • Storing data in java

    Is there any other way of storing the data in java other than using database and files?