Problems installing Oracle Instant Client
Hi *
I've unzipped oracle instance client on RH so I can connect to a remote DB server.
in the unpacked zip is:
libsqlplusic.so and
libsqlplus.so
I've set the LD_LIBRARY_PATH to th instant client directory however I don't seem to have a few 'SO' files such as:
ldd sqlplus
linux-gate.so.1 => (0xffffe000)
libsqlplus.so => /home/greenscp/instantclient/instantclient_11_2/libsqlplus.so (0xf7f4d000)
libclntsh.so.11.1 => not found
libnnz11.so => not found
libdl.so.2 => /lib/libdl.so.2 (0x0077d000)
libm.so.6 => /lib/tls/libm.so.6 (0x00746000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00732000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00783000)
libc.so.6 => /lib/tls/libc.so.6 (0x00604000)
/lib/ld-linux.so.2 (0x005ea000)
libclntsh.so.11.1 => not found
libnnz11.so => not found
Do I need to install more than just the instance client to get sqlplus working?
Thanks.
James
Have you downloaded and unzipped basic.zip also (that is a pre-requisite for getting sqlplus.zip to work)? Also, the basic.zip and sqlplus.zip should be for the same version of Instant Client.
Similar Messages
-
Problems Installing Oracle 9i Client
I got problems while I'm trying to Install Oracle 9i Client on a Windows 98 PC.
When I run Setup.exe file, nothing happens, I cant See Setup dialogs.
Somebody knows what is happening.
I appreciate some help
Best regardsThis was posted by someone else sometime ago. I'm posting it again for your reference. hope this helps.
raja
You must read carefully the following steps here. If you previously installed any Oracle's products on your machine, I strongly recommend you to clean up thoroughly before install the new products.
================================================================
Uninstallation
The easiest way to remove ALL traces of Oracle software, for an 8i installation, is:
(1) Using regedit, remove the key \\HKEY_LOCAL_MACHINE\\SOFTWARE\ORACLE.
(2) Remove all the Oracle services (usually called Ora-something) from \\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.
(3) Go to the ORACLE_HOME directory (usually C:\Oracle\Ora81). Go to the BIN directory beneath this. Rename the file OCIW32.DLL to something like OCIW32.OLD.
(4) Reboot your box.
(5) Once you have logged on again, delete the directories C:\Program Files\Oracle and C:\Oracle.
(6) Right-click on My Computer, select Properties->Environment. Edit the environmental variable PATH to remove all refernces to files in the two directories you have just deleted.
(7) Remove the Oracle folders from your Start menu.
*** Obviously, using regedit on your machine always entails risks, and I won't be held responsible if you end up trashing your system. However, the above procedure is one I have used many times with complete success. You have been warned! ;) ***
As to logging on, the "standard" Oracle accounts are:
SYS/change_on_install (SYSDBA - database owner)
SYSTEM/manager (Owns various VIEWs and utility PACKAGEs)
and (optionally):
SCOTT/tiger (Training account containing some sample tables)
If you're using PO8i on the local machine, you shouldn't need to worry about setting up NET*8 (Oracle's networking protocols)
=================================================================
Windows 95 and 98
This will remove all Oracle products, Oracle services, and Oracle registry entries from your computer.
Complete the following steps to create a Clean Machine. Backup any relevant databases before proceeding!
On Windows 95 and Windows 98:
1. Ensure you shutdown your Oracle. Right click on the Oracle Icon in the toolbar and click on the shutdown option.
2. Un-install all your Oracle products if possible. Use universal installer to do that. Ignore this step if you dont have universal installer on your machine.
3. In regedit, go to HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE.
4. Delete the ORACLE key.
5. Edit your AUTOEXEC.BAT file and remove your %ORACLE_HOME%\bin and JRE paths from the path setting.
6. From the Windows Explorer (or from the command prompt), delete the Oracle directory (Oracle Base).
7. Delete <system_drive>:\Program Files\Oracle (from the Windows NT Explorer or from the command prompt).
8. Delete Icons from <system_drive>: \Windows\Start Menu\Programs\Oracle - <HOME> and <system_drive>:\Windows\StartMenu\Programs\Oracle Installation Products. Where <HOME> is the previous HOME name.
9. Reboot your computer.
On Windows NT:
1. Ensure you are logged in as a user with Administrator privileges.
2. Stop all Oracle Services through Control Panel Services. Use universal installer to un-install your Oracle products. Ignore un-install if you dont have universal installer on your machine.
3. Using regedit (at the command prompt, type regedit), go to HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE and delete the ORACLE key.
4. Open HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services, and remove all keys under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services that begin with ORACLE.
5. Open HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application, and remove all keys under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application that begin with ORACLE.
6. Close regedit.
7. From the Control Panel, open System.
8. If JRE was installed by Oracle, remove the %ORACLE_HOME%\BIN path and the JRE path. For example, you may see a path similar to this one: C:\ORACLE\ORAxx\BIN;G: \Program Files\Oracle\jre\1.1.7\bin. Go to Start > Control Panel > System > Environment tab. Click on the system variable path and modify the path.
9. Delete Icons from <system_drive>:\Winnt\Profiles\All Users\Start Menu\Programs\Oracle - <HOME> and <system_drive>:\Winnt\Profiles\All Users\Start Menu\Programs\Oracle Installation Products. Where <HOME> is the previous HOME name.
10. Delete <system_drive>:\Program Files\Oracle (from the Windows NT Explorer or from the command prompt).
11. Reboot your computer.
12. Delete all ORACLE_BASE directories (You can find the Oracle homes listed in HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\ORACLE_HOMES).
================================================================
Doc ID:
Note:131299.1
Subject:
Oracle Installer 8.1.X Hangs on Machines with Pentium 4
Processors
Type:
ALERT
Status:
PUBLISHED
Content
Type:
TEXT/PLAIN
Creation
Date:
02-JAN-2001
Last
Revision Date:
18-APR-2001
This alert was modified 16-January-2001 by specifying specific
Oracle Universal
Installer Versions in the the Versions Affected section.
Oracle Universal Installer (OUI) for 8.1.x Hangs on Machines
with Pentium 4
Processors
~~~~~~~~~~~~~~~~~~
Versions Affected
~~~~~~~~~~~~~~~~~
Oracle 8.1.5
============
Oracle Universal Installer 1.6.0.9.0
Oracle 8.1.6
=============
Oracle Universal Installer 1.7.0.19.0
Oracle 8.1.7
==============
Oracle Universal Installer 1.7.1.9.0
Platforms Affected
~~~~~~~~~~~~~~~~~~
Any platform that uses the Intel Pentium 4 processor, with the
Sun JRE
and Symmantec JIT will encounter this problem. Windows NT,
Windows 2000
and NetWare platforms are confirmed to be affected.
Description
~~~~~~~~~~~
When installing Oracle Products with the Oracle Universal
Installer (8.1.x)
on machines that use the Sun JRE and Symmantec JIT, the
installer hangs.
Specifically for the Windows platform, the following version
of the Symmantec
JIT or earlier will encounter the failure:
Symantec Java! JustInTime Compiler Version 3.10.107 for JDK
1.2.
Details regarding this issue can be found at:
http://developer.intel.com/design/processor/future/manuals/knowni ssue.htm
How to determine if you have Symmantec Java for JDK 1.2:
1. Select the file "symcjit.dll" and right click on it.
2. Select Properties, then the Version tab.
3. Under Microsoft Windows*, the properties of the DLL are:
"Symantec Java! JustInTime Compiler Version 3.10.107 for
JDK 1.2 Copyright (C)
1996-99 Symantec Corporation Dynamic Link Library file".
DLLs older than this will also not work. "
Likelihood of Occurrence
~~~~~~~~~~~~~~~~~~~~~~~~
Any platform that uses the Intel Pentium 4 processor, with the
Sun JRE
and Symmantec JIT will encounter this problem. Windows NT,
Windows 2000 and NetWare platforms are confirmed to be
affected.
Possible Symptoms
~~~~~~~~~~~~~~~~~
The failure typically is that the affected application simply
terminates.
Workaround
~~~~~~~~~~
Not only will OUI be affected by this bug, most of the
post-install
configuration tools will also be affected. Running these
tools with "-nojit"
specified will avoid the hang, but it is not simple to specify
"-nojit" for
some of the products.
The following workaround works for the Windows operating
system:
a. Copy only the install directory from the CD to the hard
disk ,say, e:\temp.
b. Open oraparam.ini and make the following modifications
(Assuming CD
drive is f:)
* Change the "SOURCE=" line to use the full path to the CD
instead of a
relative path. (i.e., SOURCE=f:\stage\products.jar)
* Change the "JRE_LOCATION" line to use the full path to the
CD instead of a
relative path. (i.e.,
JRE_LOCATION=f:\stage\Components\oracle\swd\jre\1.1.7\1\DataFiles
\Expanded)
* Change the "OUI_LOCATION" line to use the full path to the
CD instead of a
relative path. (i.e.,
OUI_LOCATION=f:\stage\Components\oracle\swd\oui\1.6.0.9.0\1\DataF
iles\Expanded
* Change the "JRE_MEMORY_OPTIONS" line to add "-nojit" as the
first argument.
(i.e., JRE_MEMORY_OPTIONS=-nojit -ms16m -mx32m)
^^^^^^
* Other entries should remain the same
c. Launch setup.exe from the temporary location on your hard
drive (i.e.
e:\temp\install\win32\setup.exe). This will use the
modified
oraparam.ini and pick up the information from the CD since
the absolute
locations are specified.
Choose a Custom install and choose not to create a database
during the
install. This way, the Database Configuration Assistant will
not be launched
during installation.
The Net8 Configuration Assistant will still be launched, and
there is no way
to suppress it. You will need to kill the Net8 Configuration
Assistant if it
hangs due to the bug. The installation still will have been
successful, and
you can run the DBCA and NetCA after installation.
To kill NetCA if it hangs during installation:
In the "Configuration Tools" window, highlight the "Net8
Configuration
Assistant" and click "Stop". If that does not work, look for
the most recent
JRE process using the Task Manager, and kill it manually.
NOTE: the OUI
itself will also have a jre process. Be sure to kill the one
with the most
recent date, which should be the jre process being used for
Net8CA, not the
one for OUI itself.
After killing the configuration tools and continuing through
the installation
to the "End of Installation" screen, you should modify the
configuration tools
to use "-nojit", then call the appropriate tools from the
Start Menu.
Once installation is complete, each of the following files in
the ORACLE_HOME
needs to be modified:
assistants\dbca\dbassist.cl
assistants\dbma\dbmig.cl
assistants\ifa\ifa.cl
bin\elogin.cl
bin\owm.cl
ldap\oidamdin\oidadmin.cl
network\tools\netasst.cl
network\tools\netca.cl
owm\install\instelogin.cl
owm\install\instowm.cl
Edit the contents of the above files to add "-nojit" as shown
below:
Command=("C:\Program Files\Oracle\jre\1.1.7\BIN\JREW" -nojit
-classpath ....
this is the only thing you need to add --> ^^^^^^
Then, launch the necessary tools, like Net8CA and DBCA from
the Start Menu.
Patches
~~~~~~~
Currently there is not a patched installer available to deal
with this
problem, the workaround listed above must be used.
References
~~~~~~~~~~
[BUG:1507768] INSTALLER FAILS WHEN RUNNING ON NEW PENTIUM 4
(IV) PROCESSORS
[BUG:1507946] INSTALLER FAILS WHEN RUNNING ON NEW INTEL
PENTIUM 4 (IV) PROCESSORS
@[BUG:1518935] SYMCJIT.DLL DOESN'T WORK WITH THE NEW P4
PROCESSORS
Oracle
Support Services.
Copyright (c) 1995,2000 Oracle Corporation. All Rights
Reserved. Legal Notices and Terms of Use.
================================================================
The solution of making a local copy of the installation CD on
the hard disk and renameing symcjit.dll to symcjit.old does
work to allow installation of Oracle Client 8.1.7 on a Pentium 4
This function is useful and you can find two file to rename
===============================================================
Windows ME
Solution to the installation of Oraclei8.1.7 PE in Windows Millennium
Oracle does not support installing version 8.1.7 PE into
Windows Millennium.
As an unsupported workaround, you may add the following line
to the [compatibility95] section of win.ini prior to
installation:
Jrew=0x00080000
After setup is complete, Oracle will recommend a reboot.
There is one additional step necessary prior to reboot;
Oracle may add a non-standard path statement to the
autoexec.bat file. Please modify this SET PATH
statement to use short-filenames if you find a quoted
LFN string represented as part of the path. You can
confirm that the path was merged successfully into the
registry after reboot by examining the PATH variable
in the registry at
HKLM\System\CurrentControlSet\Control\SessionManager\Environment
Symptoms of a missing Oracle path statement in the registry are that Net8 Easy Config will not launch.
Please note that Oracle does not support the use of this
product in Windows ME, but have authorized these workarounds
for testing purposes only.
===============================================================
Windows XP Home Edition
Oracle 8i is not certified on windows XP. Even if yes, it must be Windows XP Professional.
You can install Oracle8i on windows XP Home Edition, try like this:
1 - Copy your Oracle CD into hard disk in your
machine. For example Copy from oracle8i CD into C:\Oracle\ ...
2 - Search the two files named Symcjit.dll on the D drive (where you have copied Oracle8i. You can found them in (example):
C:\Oracle\stage\Components\oracle.swd.jre\1.1.7.30\1
\DataFiles\Expanded\jre\win32\bin\symcjit.dll
3 - Rename this file (Example): symcjit_back.dll (make sure to find two files and rename them)
4 - Execute the Oracle setup.exe from C:\Oracle\setup.exe
===============================================================
When Oracle 8i dies on the install or the installer hangs, here is the fix for this, make sure that you have Service Pack 2 installed.
1. \JRE\1.3.1\ From Sun. (You can download java program at http://java.sun.com/products/jdk/1.1/jre/download-jre-windows.html)
2. Install the java file.
There is also a problem in the installation disk.
3. Make a copy of the Oracle 8i disk on the local hard disk.
4. Do a search for the two files called symcjit.dll and rename them for example: symcjit.old.
5. Install Oracle from the win32 directory.
================================================================
PLEASE NOTE THAT ORACLE DOESN'T SUPPORT THE USE OF THOSE PRODUCTS IN WINDOWS ME, BUT HAVE AUTHORIZED THESE WORKAROUNDS FOR TESTING PURPOSES ONLY -
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"]
1399483024Your 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. -
Problem installing Oracle 8i Client
I am Trying to install Oracle Client on a P II, 64 MB Computer. I am getting a problem every time when the Installer starts Configuring Net8 Configuration. It goes on an endless session. I had Tried and retry but it do not work again.
After 2-3 tries i left the component to be configured later. Later when i tried to run the "Net8 configuration assistant" it didn't open however for this 2 processes JREW and Launch are running.
Do someone please help me resolving this problem . I have installed oracle client on some other machines where it installed fine.
Thanks in Advance and RegardsHi
Open TNSNAMES.ORA file. You can find it under
ORACLE_HOME\NETWORK\ADMIN or ORACLE_HOME\NET80\ADMIN
remove all the contents and paste this
TEST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = test)
where
TEST=>Your Connect String (You can put anything you want eg ABC)
HOST=>your machine hostname or IP
(use ipconfig /all from command prompt to get this value)
SERVICE_NAME=>your database name (SID).
If that doesnt work then simply change SERVICE_NAME to SID like this
TEST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = myhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SID= test)
Also remove everything from SQLNET.ORA
If you still get connection errors then let us know
Rgds
Adnan -
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. -
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! -
Oracle Instant Client 10.1.0.3
Hi,
I'm trying to install Oracle Instant Client on a FreeBSD 6.0 machine. The PORTS system of FreeBSD requires the version 10.1.0.3, but the version available for download is 10.1.0.4. Does anyone konw where to get 10.1.0.3 version?
Thanx,
HaboshHi,
Here is the link where you can find the ports : http://www.freshports.org/search.php?query=linux-oracle-instantclient-&search=go&num=10&stype=name&method=match&deleted=excludedeleted&start=1&casesensitivity=caseinsensitive
One question :
I'm trying to run sqlplus, but have a pb of version :
(sh)$ sqlplus
sqlplus: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /compat/linux/usr/lib/oracle/10.2.0.1.20050713/client/lib/libsqlplus.so)
sqlplus: /lib/libpthread.so.0: version `GLIBC_2.3.2' not found (required by /compat/linux/usr/lib/oracle/10.2.0.1.20050713/client/lib/libclntsh.so.10.1)
sqlplus: /lib/libc.so.6: version `GLIBC_2.3.3' not found (required by /compat/linux/usr/lib/oracle/10.2.0.1.20050713/client/lib/libclntsh.so.10.1)
sqlplus: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /compat/linux/usr/lib/oracle/10.2.0.1.20050713/client/lib/libclntsh.so.10.1)
sqlplus: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /compat/linux/usr/lib/oracle/10.2.0.1.20050713/client/lib/libnnz10.so)
I had the same problem when I tried to compile directly from the client.
I can't find GLIBC_2.3.3 on FreeBSD 5.3.
Do you know if it works with another version of FreeBSD ? or should I install an emulator (I tried red hat 8.8, but doesn't work)? I tried to compile glib2.3.3, but it hasn't been ported on FreeBSD.
Anyway, I will try with redhat9.
Thanks,
Basha -
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 PMIt 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. -
Oracle Instant Client question?
I installed Oracle Instant Client 11.2 on a desktop with Win 7. Then I created a System DSN using MS ODBC Data Source Administrator (selected the Instant Client driver). The TNS Service Name is set to one of our databases on a separate server.
1) Instead of having the tnsnames.ora file reside on the desktop. Is it possible to configure Instant Client to use a tnsnames.ora file on a different server? I'm trying have it so that when I create the System DSN, the TNS Service Name drop down box displays all the aliases listed in the remote server's tnsnames.ora file. Is this possible?
I tried creating a new environment variable on the desktop named TNS_ADMIN. Setting the value to a mapped drive that I created. The map drive points to the directory location of the remote servers tnsnames.ora file (O:\network\admin).
Your help is appreciated.If you want to avoid having to customize tnsnames.ora files on every client and use a centralized approach instead,
you should use "directory naming".
See http://docs.oracle.com/cd/E11882_01/network.112/e10836/concepts.htm#sthref144
While using a tnsnames.ora file on a CIFS share is not something I would do for a production system,
it should work. What problems do you encounter?
Yours,
Laurenz Albe -
Unable tu install Oracle 9i Client on Win XP Professional
Hello!
I have problems installing Oracle 9i Client on Windows XP Professional. The error appears when I try launching the setup.exe file from the "Disk1" folder on my HD. The message error says something like "I can't run the set up". If somebody have any ideas please help me.double click autorun.exe in the autorun folder.
-
Hi all,
I have installed oracle instant client. How to check whether I have installed correctly or not?
When I started the sqlplus.exe, it asked for username and password. But I don't have tnsnames.ora file. Do I have to manually create a tnsnames.ora file?
If so is there any particular directory that I have to create it?
I have installed the basic and sqlplus packages for 10g instant client in a directory C:\Oracle\instantclient_10_2
Please help. How do I check connections to Oracle database in a different server?I got it. I manually created the tnsnames.ora file in the same dir as the instantclient, and it worked.
-
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
PratchayaUse --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 -
Triying to intall oracle instant client
Hi Buddies;
I have to install oracle instant client in linux5 Red hat Enterprise.
I got to create the next:
Instant Client Package - Basic and Instant Client Package - SQL*Plus unzip it and make sqlplus runnable from anywhere ( set new PATH or copy to defined PATH) and test SQLPLUS sqlplus user/passwd@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=IP or hostname)(Port=port))(CONNECT_DATA=(SID=sid)))
Is the first time I doing this; So I proceed to download the following files:
instantclient-basic-linux32-10.2.0.3-20061115.zip
oracle-instantclient-basic-10.2.0.3-1.i386.rpm
I unzipped the firt one and now I got a new directory (instantclient_10_2) whi these files:
-rwxrwxr-x 1 root root 72480394 Nov 15 2006 libociei.so
-rwxrwxr-x 1 root root 67053 Nov 15 2006 genezi
-r-xr-xr-x 1 root root 5486009 Nov 15 2006 libnnz10.so
-rwxrwxr-x 1 root root 1398088 Nov 15 2006 libocci.so.10.1
-rwxrwxr-x 1 root root 18825267 Nov 15 2006 libclntsh.so.10.1
-r--r--r-- 1 root root 1600090 Nov 15 2006 classes12.jar
-r--r--r-- 1 root root 1545954 Nov 15 2006 ojdbc14.jar
-r-xr-xr-x 1 root root 120135 Nov 15 2006 libocijdbc10.so
My doubt is, which of them to execute?
And what I have to do with file oracle-instantclient-basic-10.2.0.3-1.i386.rpm?
Besides, I don't see anything related with sqlplus, and I understand I need that.
May be this is something simple, but I not sure what to do.
Could somebody help me ?
Thanks and best Regards;
AlAt first try to check the Instant Client download page again: http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html
As you can see there are several categories of packages and description for these packages.
Instant Client Package - Basic: All files required to run OCI, OCCI, and JDBC-OCI applications
Instant Client Package - Basic Lite: Smaller version of the Basic, with only English error messages and Unicode, ASCII, and
Instant Client Package - JDBC Supplement: Additional support for XA, Internationalization, and RowSet operations under JDBC
Instant Client Package - SQL*Plus: Additional libraries and executable for running SQL*Plus with Instant Client
Instant Client Package - SDK: Additional header files and an example makefile for developing Oracle applications with Instant
Instant Client Package - ODBC: Additional libraries for enabling ODBC applications
Instant Client Package - WRC: Workload Replay Client used to replay workload for RAT's DB Replay Feature
You need to download those packages which are required for your application (for example).
Packages are provided in two versions. ZIP and RPM (for Redhat Package Manager).
You don't need to download both of versions. You can choose only one - ZIP or RPM, it depends on you.
Now you said, you need to use SQLPLUS.
1.So, you need to download these two packages (assume that you are running 32bit Linux):
instantclient-basic-linux32-10.2.0.3-20061115.zip
instantclient-sqlplus-linux32-10.2.0.3-20061115.zip2. Unzip these packages and you will see new directory named instantclient_10_2
3. Place this directory where you want (i.e to /opt directory)
mv instantclient_10_2 /opt/4. set the environment (still using /opt directory)
export PATH=/opt/instantclient_10_2:$PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/instantclient_10_2Note: To make this settings permanent put this commands to shell profile file (i.e.: For bash it is .bash_profile file) in user's directory or to /etc/profile file to make this settings global for any user.
5. Tnsnames file. By default TNS settings is searched in these directories and in order as follows:
/home/<current user>/.tnsnames.ora (Note the dot in .tnsnames.ora in this case)
/etc/tnsnames.ora
/<path to directory where the instant client directory is located>/instantclient_10_2/network/admin/tnsnames.ora (in our case it's the /opt directory)
Hope that helps. -
Problem Installing Oracle Client 11g R2 64 bit on Windows 7 Enterprise 64
Hi,
I am having problems installing the Oracle Client 11g R2 64 bit installation on my Windows 7 64 bit Enterprise machine. The installer does all the checks successfully, it gets me to summary screen and I press finish to start the installation. It then opens the installation mask where it first says Checking whether Central Inventory is locked by another OUI session. After that it very briefly shows Central Inventory is not locked and then the window immediately dissapears with no other errors. I tried installing at my colleague's W7 Enterprise 64 machine and it behaves a little differently but with the same result. Basically on his machine it never even opens the Install mask, when pressing finish from the Summary it just disappears and never starts installation. I tried installing 11g R1 and that loads the first mask and when i press next it just dissapears. I basically need an oracle client 64 bit installation on my machine deperately. Please help. Thanks
AlexOne user above reported installing the 64 bit odbc drivers and then the 32 bit drivers. How did you do that? I'm a neophyte to this.
I'm trying to get a 32 bit ODBC oracle driver to work on a server 2008 R2 machine. I downloaded the 11gR2 x64 client from oracle. The install process makes no mention of 32bit vs 64bit installation. After running the instalation I can run the ODBC administrator and generate a DSN for oracle. When I run the 32 ODBC administrator there is no oracle driver available except the microsoft driver for oracle. When I select that it says that I need to install oracle.
I had at first tried to install 11g instant client. However that didn't work for the 2008 R2 machine. It complained about some registry error when I tried to run the ODBC install program. I need to get it to work for a customer asap. -
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.
Maybe you are looking for
-
im having trouble with syncing my ipod touch with my itunes library that i keep on a external hardrive. when i plug up my external hardrive that has all my songs on it, it doesn't sync to my ipod correctly. i have to copy and paste the songs to my ip
-
After using Norton Utilities 8.0 my iTunes crashed and won't launch. Already ran Apple disk utility and repaired disk permissions. The following was in the iTunes.crash.log: Command: iTunes Path: /Applications/iTunes.app/Contents/MacOS/iTunes Version
-
How to put Menu in WebDynPro for ABAP
How to put Menu in WebDynPro for ABAP
-
Question re start up drives & disc utility under Lion
My startup drive is slightly buggy (I hope only slightly) and I need to fix it with disc utility - I know I need to first startup from another drive. two questions: 1 - I have a backup drive (external USB) that's formatted with the 10.6.5 OS. If I s
-
Simple way to get a photo onto the Touch?
Is there any way--including 3rd party app--to get a single photo, or a few pics, onto the Touch? Sometimes I just want to get something on the Touch without the bother of adding it to iPhoto or creating a dedicated folder, copying the pic to it, manu