Initial Instant Client Install
I've downloaded the latest instant client, Version 11.2.0.3.0, unzipped it - but cannot get it to install. There is no setup/install executable or batch file. What do I run to get it installed?
I have no /Oracle directory, or installed Oracle products on my laptop.
I'm running Windows 7, 32 bit.
Thanks!
989334 wrote:
Am I even getting close to having this installed? If not can someone please, in a step by step process a two year old could follow, tell me what to do next?I guess I cannot comply with that request, since Oracle software is not designed to be installed by two-year-olds (and I have two of those at home, so I know what I'm talking about).
I grant that the installation instuctions provided by Oracle are minimal, they are probably supposted to emphasize how simple it is (compared to installing any other Oracle product).
Here they are: http://www.oracle.com/technetwork/database/features/instant-client/index-100365.html#Package%20Description
It is really just unzipping the software and configuring the environment.
The ODBC driver needs special installation steps (the exexutabe you started), but that is described
in the file ODBC_IC_Readme_Win.html in the ODBC driver download.
To connect to an Oracle database, you must understand a little of Oracle Net configuration.
There are a few hints here:
http://docs.oracle.com/cd/E11882_01/server.112/e16604/apd.htm#sthref3167
The complete story is here:
http://docs.oracle.com/cd/E11882_01/network.112/e10836/toc.htm
Yours,
Laurenz Albe
Similar Messages
-
Can I install Oracle XE on a system that has the Instant Client installed?
Hello,
After installing Oracle XE (Oracle Database Express Edition 11g Release 2 for Windows x64) on my Windows 8.1 64-bit system, I can not connect to the "Get started" url (http://127.0.0.1:8080/apex/f?p=4950).
The output of "Start database" shows:
The OracleXETNSListener-service is being started.
The OracleServiceXE-service is being started.
The OracleServiceXE-service has been started.
The OracleXETNSListener service refuses to start. Could the presence of the Instant Client have something to do with this?
The Instant Client is installed in C:\Apps\Oracle, with a tnsnames.ora in C:\Apps\Oracle\network\admin.
Oracle XE is installed in C:\Apps\OracleXE.
There is a system wide environment variable ORACLE_HOME, pointing to C:\Apps\Oracle.
In the registry under HKLM\Oracle there are keys KEY_odac, KEY_ORACLE_HOME, KEY_XE, ODP.NET and OracleMTSRecoveryService.
HKLM\Oracle\KEY_ORACLE_HOME\ORACLE_HOME = C:\Apps\Oracle
HKLM\Oracle\KEY_XE\ORACLE_HOME = C:\Apps\OracleXE\app\oracle\product\11.2.0\server
Thanks,
GeorgeXE was the last installed Oracle product. I installed it on my development laptop, so I can use an Oracle database when not connected to the company network.
The instant client was broken by the XE install. Uninstalling Xe fixes this, even without a reboot.
The output of tnsping is:
TNS Ping Utility for 64-bit Windows: Version 11.2.0.2.0 - Production on 21-APR-2015 07:18:00
Copyright (c) 1997, 2014, Oracle. All rights reserved.
Message 3511 not found; No message file for product=NETWORK, facility=TNSTNS-03505: Message 3505 not found; No message file for prod
uct=NETWORK, facility=TNS
The Oracle related directories in the PATH environment variable are (in this order):
C:\Apps\OracleXE\app\oracle\product\11.2.0\server\bin
C:\Apps\Oracle\
C:\Apps\Oracle\bin\ -
ORA-12154 when connects. Instant client installed.
Hi. I am installed instant client 10.2 and cannot connect to database : give error ORA-12154: TNS:could not resolve the connect identifier specified. I am using Linux. I am set TNS_ADMIN and put into this directory file tnsnames.ora with all necessary instances, but have not no one result.
Add the following line to sqlnet.ora in the directory to which TNS_ADMIN points:
TRACLE_LEVEL_CLIENT = SUPPORT
Then try again and examine the *.trc file created. This should tell you what's wrong.
Yours,
Laurenz Albe -
Automation scripts for Instant client install\ add TNS entry
Guys,
I'm trying to develop an VB application,which uses data from an Oracle server residing in my neighbour's system.
My system doesn't have oracle client installed.
So, I've made use of Oracle Instant Client package-OCBC.
Now, I'm looking for an automation script that would do the following in order
1)Uzip the instant client into a directory. (say C:\ondemand\instantclient)
2)Add this directory into the PATH environment variable
3)Set up Service Names with tnsnames.ora ie. Create a TNSNAMES.ORA file to configure my Oracle instance connection.
4)Set the TNS_ADMIN environment variable to be the path to the tnsnames.ora
Can someone help me out with automated scripts?
Thanks,
BhagatDon't worry. I've solved it.
One of the files I was using stated: Always set the TNS_ADMIN environment variable or registry setting to the full path of the tnsnames.ora file.
I took that to mean including the "tnsnames.ora". It doesn't. It really does mean just the PATH part.
However, with this corrected, I got the pulldown populated. But with only the first part of the name, from the tnsnames.ora file. tnsnames.ora had mydb.<domain>.com. The pulldown only had mydb. Manually adding the .<domain>.com to it worked.
Now on to the next problem. <GRIN>
Cheers,
Eddie -
Libnspr4.dll fails to load if Oracle instant client installed
I have tried Instant client 10.2 and 11.2 and this dll fails to load. If I go back to Oracle full client 10.1 the Message queue works correctly.
I'm trying to load from .\lib and I've found that it is really looking for .\lib\lib. That is workaround for now.
Something is changing where . is. -
Can't get instant client to work on Win XP
This is driving me nuts. I'm trying to get instantclient10_1 (10.1.0.4) to work reliably on Win XP so I can use it in deploying a Python app I'm writing. I have one XP system on which I have the instant client installed and working. By this I mean that it works with the appropriate of sqlplus. It also works with cx_Oracle. However, I do need to set ORACLE_HOME in order to achieve this (contra the documentation). I do not seem to need to set SQLPATH.
But I can't get it to work on any other system. I copy my instantclient10_1 directory over and use the same batch file that works on the "good" system, but I get "invalid or unknown NLS parameter value specified". I'm using a command of the form
sqlplus user_name/[email protected]:1521/db_name
I've also tried a "fresh" install on that machine. Same story. I've tried it on another machine as well. Same story. It only works on this one machine!
It actually took me quite a while to get it to work on that machine, involving installing and uninstalling the full client, the instant client, both, etc. But it does work there.
Another odd "feature": On the "good" machine, if I fail to set ORACLE_HOME, it errors and suggests I do this. On the "bad" machine, I just get the "invalid or unknown NLS" error.
There are other ORACLE directories on these machines (e.g., ORA17). But I get the same results if I hide these and take all reference to them out of environment variables.
Any suggestions will be greatly appreciated. Why is it working on the one system? Why isn't it working on the others?There's one more way that the previously-existing Oracle directories on the other machines might be tripping you up - with registry settings. In particular, the HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\(some home)NLS_LANG registry key may be associated with the "invalid or unknown NLS parameter value specified" error you're getting.
Of course, the Instant Client isn't supposed to have to mess with the registry, so that makes me suspicious. And I got Instant Client SQL*PLUS on a clean XP machine to work without setting an ORACLE_HOME. All this makes me suspicious that some stuff from outside your Instant Client is being run. I know you said you cleaned your environment variables, but double-check that the other Oracle directories are out of your PATH.
If you have permission to, you might want to thoroughly scrub the old Oracles from the other machines (starting with running the Oracle Installer, then hand-cleaning the registry, the c:\Ora92 or whatever directory, and then c:\Program Files\Oracle). If you have MetaLink, Document 74790.1 is a dated but good guide to cleanly de-installing an old Oracle installation from Windows. It's much more difficult than it ought to be; sometimes it feels like an Oracle home is never truly gone. If you can't do that, perhaps save a copy of your registry and then temporarily rename HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE to ORACLE_HIDDEN, or something - something to keep any existing registry settings from distracting your Instant Client.
Good luck! -
SDK for Instant Client not available?
Hello all,
I'm new to using Oracle and I successfully setup my first 11XE install last week. I'm excited to begin using it but I can't get the OCI driver to compile so I can use it in PHP.
I have the linux/amd64 Instant Client 10.1 from the Oracle website but it does not have the headers file.
The docs say I need SDK for Instant Client but it is not listed on the downloads page for Instant Client. The docs also say there is a 11.1 version of IC but no trace of that either.
Is there another page which has all of these files?
I get as far as this in the configure script: "checking for oci.h... configure: error: I'm too dumb to figure out where the include dir is in your instant client install"
Thanks for your help!You could search the 'net for instant client downloads x86-64, click relevant link, search page for SDK. Versions from 11.2, 11.1 and 10.2 releases should exist on found page.
Note that a dedicated forum exist, {forum:id=190}.
Edit:
added forum link
Edited by: orafad on Jan 16, 2012 10:52 PM -
Instant Client 10.1.0.5 and ORA-12640 with External Authentication
I am using v10.1.0.5 of Instant Client on Windows 32bit. I have hit bug 5114330 (ANO: ORA-12640 authentication adapter initialization fails if Operating System User does not have admin rights). This was fixed in patch 12 of 10.1.0.5. I copied the updated files from patch 28 that related to the instant client files and I am still hitting the same problem. How do I patch my instant client install to overcome this bug? Using v10.2 of instant client is not an option as it is not compatible with our application.
Kind regards,
SteveI guess that if you know what you are doing, that approach should work fine; the "standard procedures" are there to guide people who have little experience and to provide a cookbook for how to do it.
I am not sure about version 10.1, but in Instant Client 10.2 everything except for the Instant Client shared library (in 10.1 that is oraociei10.dll) is the same as the regular client. The Instant Client shared library contains messages and similar, so probably has no influence on a code bug as you experience it.
What I would do in your case is to install the regular client on a test machine, apply the patch there and see if the problem is fixed there.
If not, you have a better case for Oracle support, because they understand the regular client much better.
If it works there, replace the Instant Client shared libraries with the files from the regular client and see if it works.
In the case that the error persists, I guess there's no way around a Service Request, because nobody except for Oracle can look into the code.
Yours,
Laurenz Albe -
After install of instant client 10.2, error Message file sp1 lang .msb not
Greeting.
I installed Oracle 10G. Was working great.
then installed PHP5. working great.
then TYPO3 (a web content manager) Still ok.
then I wanted TYPO3 to user my oracle 10g server.
One of the step was to install instant client (which I did)
Then I needed to reboot: My oracle 10G doesn't start anymore.
When trying SQLplus:
Error 6 initializing SQL*Plus
Message file sp1<lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
I do have this file:
find / -name sp1us.msb
find: /proc/6014/task: No such file or directory
/oracle/product/10.2.0/sqlplus/mesg/sp1us.msb
here more info:
echo $ORACLE_HOME
/oracle/product/10.2.0
echo $ORACLE_SID
dubaidb
# lsnrctl start listener
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 21-AUG-2009 13:45:55
Copyright (c) 1991, 2007, Oracle. All rights reserved.
TNS-01106: Listener using listener name LISTENER has already been started
find / -name sqlplus -print 2>/dev/null
/oracle/product/10.2.0/inventory/Templates/sqlplus
/oracle/product/10.2.0/bin/sqlplus
/oracle/product/10.2.0/oc4j/j2ee/oc4j_applications/applications/isqlplus/isqlplus/WEB-INF/classes/oracle/sqlplus
/oracle/product/10.2.0/sqlplus
/oracle/instantclient_10_2/sqlplus
It seems I got 2 sqlplus files: one in /oracle/instantclient_10_2/sqlplus and /oracle/product/10.2.0/bin/sqlplus
Logs info from /oracle/product/10.2.0/startup.log:
/oracle/product/10.2.0/bin/dbstart: Starting up database "dubaidb"
Fri Aug 21 13:18:49 EDT 2009
Error 6 initializing SQL*Plus
Message file sp1<lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
Error 6 initializing SQL*Plus
Message file sp1<lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
Thank you in advanceWell, what I ended up doing is the following:
Unset LD_LIBRARY_PATH
Backed-up my sqlplus in ORACLE_HOME/bin.
Backed-up my libraried in ORACLE_HOME/lib
Renamed instantclient to instantclient_bck
copied all libraries from instantclient_bck to ORACLE_HOME/lib
copied sqlplus from instantclient_bck to ORACLE_HOME/bin
dbshut
dbstart
Everything came back as it used to be :) -
Why do I need instant client if I installed 11g1 and it works
sqldeveloper works
em works
sqlplus works
I have a problem with oci8, php 5.2.6, apache 2.2 ...all are installed and working
All the instructions I've found (and there are many) talk about
(1) Zend installs what I already have
(2) installing apache, oci8, php and instant client form scratch
I am NOT going to reduce a working system to scratch.
BTW my oci programs work and they have in the past worked through a client.What Oracle Software is installed on the machine: client or server?
I concur that there is no need for Instant Client here, indeed it would be a bad idea.
Anything that works with Instant Client should also work with the regular client.
If you encounter any Oracle-specific error messages, feel free to post them and ask for an opinion (even though this forum is reserved for Instant Client, it might be an obvious problem).
Yours,
Laurenz Albe -
Failed to install php-oci8 with instant Client for linux 64
Hello,
I have a 64-bits Linux box with RHEL4, and PHP version has been upgraded from 4.3.9 to 5.1.6. I try to make the connection to remote oracle server.
I download instantclient-basic-linuxppc-10.2.0.2-20060327.zip , and follow the instruction to
install it.
But when i try to install php-oci8*.rpm, no matter which i use:
php-oci8-5.1.6-1.el5.i386.rpm or php-oci8-4.3.9-2.2.el4.i386.rpm
The installation always failed due to dependencies errors with oracle instant client.
I also tried with some other packages like: php-oci8-4.3.9-3.el4.x86_64.rpm
All my tries gave me dependency errors.
sometime like:
error: Failed dependencies:
libclntsh.so.10.1 is needed by php-oci8-5.1.6-1.el5.i386
oracle-instantclient = 10.2.0.3 is needed by
php-oci8-5.1.6-1.el5.i386And I cannt find the right RPM for oracle instant client for linux 64 bits box, and php-oci8 5.1.6 64 bits.
I have been trying on this problem for more than one week, and so frustrated. I will appreciate if I can be guide on this issue.
Thanks in advance!See my followup to your duplicate post in the PHP forum
-
Unable to install 64-bit Oracle ODBC Instant Client on Windows 2008 R2 machine.
I am trying to upgrade the Oracle ODBC driver from the 32-bit version currently installed (ODBC Instant Client Release 10.1.0.5.0, April 2006) to a newer 64-bit version but have not been successful. I have had success at uninstalling and reinstalling the existing 32-bit version package (release 10.1.0.5.0) however when I've tried to install the 64-bit ODBC Instant Client (Release 12.1, December 2012), I run the odbc_install.exe application inside the package. it appears to run without issue/compliant, but then I do not see the 64-bit Oracle ODBC driver anywhere, either if I go via the traditional Administrator Tools --> ODBC Data Sources or if I go to the c:\windows\syswow64\odbcad32.exe route. Further investigation into the ReadMe file (ODBC_IC_Readme_Win.html) reveals that you need the 3 DLLs oci.dll, oraociei11.dll and orannzsbb11.dll which the package does not come with. Where could I obtain the correct version of these DLLs or else where can I get an installation package which already contains them?
Any help with this is greatly appreciated. Thank youWelcome to the forums !
Pl post this in the Instant Client forum - Instant Client
HTH
Srini -
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! -
Instant Client problem with php 5.1.4 install
Hello,
I'm trying to get my php 5.1.4 compiled using the oracle 10.2.0.1 instant client.
I configure the php install with the following ..
./configure --with-apxs2=/usr/local/apache2/bin/apxs
prefix=/usr/local/apache2/php with-ldap
with-oci8=instantclient,/usr/lib/oracle/10.2.0.1/client/lib enable-sigchild
--with-config-file-path=/usr/local/apache2/conf
However during the make ( towards the end ) i get the following ....
/usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so: undefined reference to `pthread_cond_signal@GLIBC_2.3.2'
/usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so: undefined reference to `__ctype_b_loc@GLIBC_2.3'
/usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so: undefined reference to `pthread_cond_broadcast@GLIBC_2.3.2'
/usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so: undefined reference to `pthread_cond_destroy@GLIBC_2.3.2'
/usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so: undefined reference to `pthread_cond_timedwait@GLIBC_2.3.2'
/usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so: undefined reference to `pthread_cond_wait@GLIBC_2.3.2'
/usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so: undefined reference to `pthread_cond_init@GLIBC_2.3.2'
/usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so: undefined reference to `__ctype_toupper_loc@GLIBC_2.3'
/usr/lib/oracle/10.2.0.1/client/lib/libclntsh.so: undefined reference to `__ctype_tolower_loc@GLIBC_2.3'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Any help would be appreciated
ThanksI've got the same problem, running on redhat 7.3, using gcc 3.43, php 5.1.4, instant client 10.2, installed via unzipping the oracle instant clients and being run on apache 1.33. I didn't 'link to pthreads' as I'm not sure what you have to do in order to do this linking. I just run php's configure, make install and let it go and it dies.
Any help would be appreciated. -
PLease help!! cannot make install php with oci8 instant client
Cannot make install :
Installing PHP SAPI module: cgi
Installing PHP CGI into: /usr/local/bin/
Installing PEAR environment: /usr/local/lib/php/
ld.so.1: php: fatal: libnnz10.so: open failed: No such file or directory
*** Error code 137
The following command caused the error:
/home/dmitriy/install/php-4.4.4/sapi/cli/php -n -dshort_open_tag=0 -dopen_basedir= -dsafe_mode=0 -dmemory_limit=-1 /home/dmitriy/install/php-4.4.4/pear/install-pear.php -d "/usr/local/lib/php" -b "/usr/local/bin" /home/dmitriy/install/php-4.4.4/pear/packages/*.tar
make: Fatal error: Command failed for target `install-pear-packages'
Current working directory /home/dmitriy/install/php-4.4.4
*** Error code 1
The following command caused the error:
if /home/dmitriy/install/php-4.4.4/build/shtool mkdir -p /usr/local/lib/php; then \
make -s install-pear-packages; \
else \
cat /home/dmitriy/install/php-4.4.4/pear/install-pear.txt; \
exit 5; \
fi
make: Fatal error: Command failed for target `install-pear'
LD_LIBRARY_PATH is set where i unziped oracle client instantclient
debug.log
CONFIGURE: './configure' '-with-oci8-instant-client=/home/dmitriy/instantclient_10_2'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS
CXX:
CXXFLAGS:
INCLUDES: -I/home/dmitriy/instantclient_10_2/sdk/include
LDFLAGS: -R/usr/ucblib -L/usr/ucblib -R/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3 -L/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3 -R/home/dmitriy/instantclient_10_2 -L/home/dmitr
iy/instantclient_10_2
LIBS: -lresolv -lm -lnsl -lsocket -lgcc -lclntsh
DLIBS:
SAPI: cgi
PHP_RPATHS: /usr/ucblib /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3 /home/dmitriy/instantclient_10_2
uname -a: SunOS solaris 5.10 Generic_118855-33 i86pc i386 i86pc
gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib -L/usr/ucblib -R/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3 -L/usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3 -R/home/d
mitriy/instantclient_10_2 -L/home/dmitriy/instantclient_10_2 conftest.c -lresolv -lm -lnsl -lsocket -lgcc -lclntsh 1>&5
ld.so.1: conftest: fatal: libnnz10.so: open failed: No such file or directoryPlease grab the "re-factored" oci8 code from http://pecl.php.net/package/oci8. The version of oci8 distributed with PHP 4 should be avoided. Replace the PHP 4.4 ext/oci8 directory completely with the new package, run buildconf --force and then configure/make etc. Note the configure option for instant client has changed:
--with-oci8=instantclient,/usr/lib/oracle/10.2.0.3/client/lib
-- cj
Maybe you are looking for
-
Front Panel Mass Binding Project Variables Issue
Hello - When attempting to bind controls to shared variables through the front panel mass binding option, there is an issue where you can not seem to bind a "project item" to the control. The method of binding I am using is to export a text list of c
-
I have a Iphone 3g,every now and then some of my music will disappear then reappear.I've tried to sync the music from my library on my laptop,nothing happens.How do I get my music back,without having to wait for it to reappear?
-
Is there a Premier Pro trial anymore, and if so, where is it?
Some of the experts in the hardware forum, after seeing my hardware, have recommended that I try out Premier Pro with the 30 day trial to see how it works with my workstation. I went looking for the trial, and along the way, someone came online with
-
HT1555 I lost my remote and now i have no idea how to navigate the screens. any help?
I found an old apple tv (1st Gen), and it works perfectly. I just dont have a remote, and without the remote i cant do anything. Any help?
-
Numbers and Pages don't open files on iCloud
In the open dialogue window, I have two spaces: the iCloud space and the 'On my Mac' space. I can't open any document stored in iCloud. I can move them on the desktop of the Mac (so removed from iCloud) and THEN I can open them (- & edit & save). I c