Installing Oracle 11gR2 Client on Windows 7 professional yields " "Error in CreateOUIProcess(): 5"
Uncertain why this is happening? Each time I try to install the Oracle Client 11.2.0.3 on my laptop, I get this popup stating Error in CreateOUIProcess():5." Wny
Absolutely. Even tried running as xAdministrator on the laptop. The Error in CreateOUIProcess message still raised.
This is what I see in the install log
Contents from Install.log Using paramFile: C:\Oracle\client\OracleClient64\client\install\oraparam.ini
The commandline for unzip:
C:\Oracle\client\OracleClient64\client\install\unzip -o ..\stage\Components\oracle.jdk\1.5.0.30.03\1\DataFiles/"*.jar" -d "C:\Users\XADMIN~1\AppData\Local\Temp\OraInstall2015-04-27_12-52-55PM"
Similar Messages
-
Installing Oracle 11gR2 client from a batch file and it returns before done
Hello,
While installing Oracle 11gR2 client on XP and 7 from a batch file. When it launches the OUI from the batch file, it returns to the batch file before the installer finishes. So, there is no way for my script to know when the installer is done, or to glean a return code to test for success. This is particularly annoying...
I've also used the "call" command to force my batch file to wait, to no avail. Anyone have any clues about this one?
Thanks in advance!
--RobertSrini,
Awesome! Worked like a charm.
Many thanks!
--Robert -
""i Can't Install oracle 10g client in windows Vista"
hello,mr or mrs
i need help for install oracle10g client in windows vista???? cause there error when i install
"abnormal program termination.an internal error has occured.please provide the following files to oracle support : "unknown"
"unknown"
"unknown"
please help me .......???hello
Operating System
vista home is not support
Oracle Database for 32-bit Windows is supported on the following operating systems:
Windows 2000 with service pack 1 or later. All editions, including Terminal Services and Microsoft Windows 2000 MultiLanguage Edition (MLE), are supported.
Windows Server 2003 - all editions
Windows XP Professional
Windows NT is not supported.
Oracle Database for Windows x64 is supported on the following operating systems:
Windows Server 2003, Standard x64 Edition
Windows Server 2003, Enterprise x64 Edition
Windows Server 2003, Datacenter x64 Edition
Windows XP Professional x64 Edition
Windows Vista x64, Service Pack 1 - Business, Enterprise, and Ultimate editions
Windows Server 2008 x64 - Standard, Enterprise, Datacenter, Web, Standard without Hyper-V, Enterprise without Hyper-V, and Datacenter without Hyper-V editions
The specific operating system components that are not supported are Windows Server 2008 x64 Hyper-V and Server Core -
Installing Oracle 9i client on Windows 7
Hi Experts,
Can Oracle 9i client be installed in Windows 7 Enterprise -64 bit version ?
If so, Can anyone help me how to install oracle 9i in windows 7 ?
Regards,
AnupAnup wrote:
Hi Experts,
Can Oracle 9i client be installed in Windows 7 Enterprise -64 bit version ?
If so, Can anyone help me how to install oracle 9i in windows 7 ?
Regards,
AnupEither it works or it does not.
If it does not work, you are no worse off than you are right now. -
Install Oracle 11g client on Windows 7
Hi,
I am getting an error while installing Oracle 11g R1 client(11.1.0.7.0) on Windows 7 x32.
Error: OUI-18001: The operating system 'Windows Vista Version 6.1' is not supported.
Recommendation : install the recommended service pack.Only for Oracle 10g client installation on win 7 32, 64 bit
To get going with oracle on windows 7 64-bit. You can install oracle 10g 32 which you use for windows XP. Its unusal but successful. Install 10G it will get installed on program files x86. Then open tnsnames.ora files which will be either in program files x86/oracle/....search or it will be in c:\oracle...write the correct server name in tnsnames and in PB while doing the configuration..write tns:servername in the server textbox. I did that and it got connected...incase u need any help let me know my email address is [email protected]
cheers
Kishan Changlani -
INSTALL Oracle 10g RAC on Windows 2003. ERROR on starting services
During installation assistances try to configure and start RAC services,
but I get next message with error:
Starting to execute configuration assistants
Launched configuration assistant 'Oracle Cluster Ready Services Configuration Assistant'
Tool type is: Optional.
The command being spawned is: 'C:\oracle\product\10.1.0\crs/install/crssetup.config.bat'
Start output from spawned process:
clscfg: EXISTING configuration version 2 detected.
clscfg: version 2 is 10G Release 1.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: bdserver01 oracnode01 bdserver01
node 2: bdserver02 oracnode02 bdserver02
clscfg: Arguments check out successfully.
NO KEYS WERE WRITTEN. Supply -force parameter to override.
-force is destructive and will destroy any previous cluster
configuration.
Step 1: checking status of CRS cluster
Step 2: configuring OCR repository
Oracle Cluster Registry already initialized
Step 3: configuring safe mode for CRS stack
Step 4: Starting up CRS stack on all nodes
bdserver01 service OracleCSService in improper PENDING state, err(997)
bdserver02 service OracleCSService in improper PENDING state, err(997)
:-(((During installation assistances try to configure and start RAC services,
but I get next message with error:
Starting to execute configuration assistants
Launched configuration assistant 'Oracle Cluster Ready Services Configuration Assistant'
Tool type is: Optional.
The command being spawned is: 'C:\oracle\product\10.1.0\crs/install/crssetup.config.bat'
Start output from spawned process:
clscfg: EXISTING configuration version 2 detected.
clscfg: version 2 is 10G Release 1.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: bdserver01 oracnode01 bdserver01
node 2: bdserver02 oracnode02 bdserver02
clscfg: Arguments check out successfully.
NO KEYS WERE WRITTEN. Supply -force parameter to override.
-force is destructive and will destroy any previous cluster
configuration.
Step 1: checking status of CRS cluster
Step 2: configuring OCR repository
Oracle Cluster Registry already initialized
Step 3: configuring safe mode for CRS stack
Step 4: Starting up CRS stack on all nodes
bdserver01 service OracleCSService in improper PENDING state, err(997)
bdserver02 service OracleCSService in improper PENDING state, err(997)
:-((( -
Getting Problem installing Oracle 11gR2 on Windows 7 x64
Hello everyone,
beforhand thank you for helping a rookie. :-)
I getting an error message that my installation path contains empty spaces. C:\Program Files\....
In previous Releases of Oracle you could cancel these error message. Not in 11gR2.
Does anyone know a solution to install Oracle 11gR2 Client in the Windows Program Files (x86) / Program Files folder?
I modified the *.rsp File line "Complete path of the Oracle Home" with double quotes like in the previous Versions.
tried the environment variable "%...%" and also the DOS writing style "PROGRA~2".
Oracle takes over the complete notation.
Iam Working on a Windows 7 64 Bit Machine with an english Kernel.
Have to install: Oracle Client 11gR2 64 bit
Thank you in advance.
Best regardsWas there ever any thoughts on this issue? I'm using Oracle 11G R1 and it lets me cancel past errors saying I can't install to c:\program files\oracle because it has spaces and the programs I use also work perfectly fine.
Now, we're using Win 7, thus want to use Oracle 11G R2 so it won't fail OS checks and why not use the newest, right? Well, as stated here, you cannot cancel past "space" error any longer. I was going to try %programfiles% but it appears that that won't work; LAME!
Also, the runtime install for R2 says it's going to be 200MB more than the runtime install for R1, why would that be the case? That's a LOT more!
Thanks, Nick -
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.
-
Install Oracle 11gr2 on Windows 2008 R2 with ASM step by step Guide needed
Hi,
I am looking for a step by step guide on installing Oracle 11gr2 on Windows 2008 R2 with ASM etc. This is not a RAC environment since ASM architecture is a bit different in 11gR2, I would appreciate if anyone can point me to a guide to follow or provide a one.
Thanks in advance.
SujithHi Sujith;
I am looking for a step by step guide on installing Oracle 11gr2 on Windows 2008 R2 with ASM etc. This is not a RAC environment since ASM architecture is a bit different in 11gR2, I would appreciate if anyone can point me to a guide to follow or provide a one.You need to install grid first(Software only) its neccessary for ASM, Than you need to use asmca to create asm disks than you need to install 11gr2
All doc avaliable at:
http://www.oracle.com/pls/db112/homepage
Regard
Helios -
How to install Oracle 11gR2 on Windows 7
Hi friend;
There are many questions about *"how we can make instalaltion on win7"*. Thatswhy i made one video tutorial which is mention *"How to install Oracle 11gR2 on Windows 7*
Its avaliable at my blog:
*http://heliosguneserol.wordpress.com/*
Hope it helps who need to make this installation
Regard
HeliosThis question is not related to the Database Migration Assistant for Unicode (DMU). Please, post your question to one of the more appropriate forums, for example:
General Database Discussions
Database Installation
-- Sergiusz -
Can I install oracle 11gR2 on windows AD server?
I have a windows 2008 sever which has AD installed, can I install oracle 11gR2 on it?
If by AD you mean Active Directory, then it should not be an issue, as long as you meet minimum requirements - http://download.oracle.com/docs/cd/E11882_01/install.112/e10843/reqs.htm#i1011417
HTH
Srini -
Installing Oracle 8i client tools on Windows 2K Advanced Server SP2
I am having issues with installing Oracle 8i client tools on W2K Advanced Server SP2. The CD I have is labeled Oracle 8i Enterprise Edition, Release 3 (8.1.7) Win NT/2000 CSI# 2224188. The error message I get is that a dependency exist on having ORACLE.SWD.JRE 1.1.8.10.0 installed and the universal installer cant find it. The disk has a folder named ORACL.SWD.JRE with a subfolder named 1.1.7.30 which leads me to believe that the version of the file that shipped with this media is version 1.1.7.30.
Questions:
1. Why would Larry ship a CD with the wrong version of a file...just venting.
2. Where do I get the correct version?
3. How do I install it?
Any help would be appreciated.
KurtOracle8i on PIV
If you have Pentium IV do following: find file symcjit.dll file in the oracle installation folder and rename it to symcjit.old.
try to run setup.exe located in the install/win32 folder.
Oracle9i on W2K
Install service pack 2 or higher
Virtual memory between 800 and 900 MB ( Recommended )
if for any cause setup.exe does not make anything,
try to make click on autorun.exe
Joel P�rez -
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 -
Install Oracle 11gR2 Express Edition on Ubuntu Linux 11.04 (64-bit) Howto
h2. Install Oracle 11gR2 Express Edition on Ubuntu Linux 11.04 (64-bit) Howto
Version: B
Author: Dude, 24. May 2011
The following are step by step instructions how to install Oracle 11gR2 Express Edition (Beta) under Linux Ubuntu 11.04, 64-bit.
Access to the Internet is required.
The instructions cover the following additional topics:
- Converting Red Hat based Oracle XE installer to Ubuntu.
- Work-around for missing /sbin/chkconfig tool.
- Install Oracle XE into a different directory or disk volume.
- Relocate and configure the Oracle user and default login directory.
- Uninstall, reconfigure and perform first database backup.
- Notes and web links.
- Troubleshooting
h3. A) System Setup and Prerequisites
h4. A.1. System Access
You will need terminal command line, root and system console access to perform the setup tasks.
To open a Terminal at the system console:
Menu Applications > Accessories > TerminalThe following commands will enable remote ssh login with root access:
sudo apt-get install openssh-server
sudo passwd root
Verify:
ssh root@xe_server_host_nameh4. A.2. Software Prerequisites
The following is required in order to install Oracle 11gR2 XE:
sudo apt-get install alien libaio1 unixodbcThe following is not required, but it will fix backspace and arrow keys in case you prefer using the vi-editor:
sudo apt-get install vimh4. A.3. System Swap space
Minimum swap space required is 2 GB. You can increase swap space if necessary using a swap file:
To analyze current swap space and memory configuration:
sudo cat /proc/meminfo
To install a 1 GB swapfile named swapfile in /, for example:
sudo dd if=/dev/zero of=/swapfile bs=1024 count=1048576
(this may take a while)
sudo mkswap /swapfile
sudo swapon /swapfile
sudo cp /etc/fstab /etc/fstab.orig
sudo echo '/swapfile swap swap defaults 0 0' >> /etc/fstab
Verify:
sudo swapon -a
sudo swapon -sh4. A.4. Kernel Parameters
Oracle 11g XE requires the following additional kernel parameters:
sudo nano /etc/sysctl.d/60-oracle.conf
(Enter the following)
# Oracle 11g XE kernel parameters
fs.file-max=6815744
net.ipv4.ip_local_port_range=9000 65000
kernel.sem=250 32000 100 128
kernel.shmmax=536870912
(Save the file)
Note: kernel.shmmax = max possible value, e.g. size of physical RAM.
Verify: sudo cat /etc/sysctl.d/60-oracle.conf
Load new kernel parameters:
sudo service procps start
Verify:
sudo sysctl -q fs.file-max
-> fs.file-max = 6815744h4. A.5. Oracle Installation Directory
The current Oracle Installation Guide uses the same directory like in previous versions: /usr/lib/oracle/xe/app/oracle/product/11.2.0/server. However, the current Beta installation uses Oracle Flexible Architecture (OFA) and installs into /u01/app/oracle/product/11.2.0/xe. Due to size limitations of Oracle XE it may not be necessary to store the installation to a specific directory or separate volume, but it is possible:
Install Oracle XE to separate disk volume:
From the system console menu: System > Administration > Disk Utility
Select "ext3" filesystem for Oracle compatibility and specify a Volume label, e.g. Oracle.
Notice the device name e.g. /dev/sdb
Get the drive UUID:
sudo blkid
e.g. /dev/sdb: UUID="d19a2d8f-da43-4802-8bdb-0703c855e23a"
Modify /etc/fstab to automatically mount the volume at system startup:
sudo cp /etc/fstab /etc/fstab.original
sudo nano /etc/fstab
(Add the following, using determined UUID, for exmple)
UUID=d19a2d8f-da43-4802-8bdb-0703c855e23a /u01 ext3 defaults,errors=remount-ro 0 1
(Save the file)
Create the mount-point, mount the new volume and set ownership and privileges:
sudo mkdir /u01
sudo mount -a
sudo chown root:root /u01
sudo chmod 755 /u01
Verify:
df -h
or restart the systemYou can also install Oracle XE into a specific directory:
Create a symbolic link to store the installation into an existing directory, for instance:
sudo mkdir /home/oracle-xe
sudo ln -s /home/oracle-xe /u01h3. C) Oracle 11g XE Download and Installation
h4. C.1. Download and convert the Installer from Red Hat to Ubuntu
Please see section E.3. to download the Oracle 11gR2 XE installer.
Select the version listed for Linux x64.
sudo unzip linux.x64_11gR2_OracleXE.zip
sudo alien --to-deb --scripts oracle-xe-11.2.0-0.5.x86_64.rpm
(This may take a while)h4. C.2. Create a special chkconfig script
The Red Hat based installer of Oracle XE 11gR2 beta relies on +/sbin/chkconfig+, which is not used in Ubuntu. The chkconfig package available for the current version of Ubuntu produces errors and my not be safe to use. Below is a simple trick to get around the problem and install Oracle XE successfully:
Create /sbin/chconfig:
sudo nano /sbin/chkconfig
(Cut and paste the following)
#!/bin/bash
# Oracle 11gR2 XE installer chkconfig hack for Debian by Dude
file=/etc/init.d/oracle-xe
if [[ ! `tail -n1 $file | grep INIT` ]]; then
echo >> $file
echo '### BEGIN INIT INFO' >> $file
echo '# Provides: OracleXE' >> $file
echo '# Required-Start: $remote_fs $syslog' >> $file
echo '# Required-Stop: $remote_fs $syslog' >> $file
echo '# Default-Start: 2 3 4 5' >> $file
echo '# Default-Stop: 0 1 6' >> $file
echo '# Short-Description: Oracle 11g Express Edition' >> $file
echo '### END INIT INFO' >> $file
fi
update-rc.d oracle-xe defaults 80 01
(Save the file)
Set appropriate execute privileges:
chmod 755 /sbin/chkconfig
Note: You should remove the /sbin/chkconfig file after successful installation of Oracle XE.
h4. C.3. Install and configure Oracle XE
sudo dpkg --install ./oracle-xe_11.2.0-1.5_amd64.deb
/etc/init.d/oracle-xe configure
(This will take a while)
Remove the /sbin/chkconfig script, which is no longer needed.
sudo rm /sbin/chkconfigh4. C.4. Relocate and Configure the Oracle user login
The Oracle XE installer specifies /u01/app/oracle as the login directory for the Oracle user. Although not really necessary, the following will relocate the Oracle user $HOME to a standard location and create standard /etc/skel login files:
Exit all Oracle user sessions:
sudo /etc/init.d/oracle-xe stop
sudo kill -9 `ps -ef | grep oracle | grep -v grep | awk '{print $2}'`
sudo userdel oracle
sudo useradd -s /bin/bash -G dba -g dba -m oracle
sudo passwd oracle
Verify:
sudo id oracle
-> uid=1001(oracle) gid=1001(dba) groups=1001(dba)h4. C.5. Setup Oracle environment variables
In order to use sqlplus and other tools, the Oracle account requires certain environment variables. The following will set these variables automatically at every interactive Oracle login:
sudo echo '. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh' >> /home/oracle/.bashrch4. C.6. Oracle sudo root access
It is not essential to allow the Oracle user to use sudo, but it is convenient:
usermod -G admin oracle
Verify:
id oracle
-> uid=1001(oracle) gid=1001(dba) groups=1001(dba),120(admin)
sudo su -
-> Enter Oracle account passwordh4. C.7. Oracle 11g XE Post-installation
After you install Oracle Database XE, its graphical user interface is only available from the local server, but not remotely.
The following will correct the problem if necessary:
Login as user Oracle or use:
su - oracle
sqlplus / as sysdba
At the SQL prompt, enter the following command:
EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);
exith3. D) Unintstall, Reconfigure and Troubleshooting
h4. D.1. Uninstall Oracle 11g XE
The following will completely uninstall and remove Oracle 11g XE:
Login as user root:
sudo su -
/etc/init.d/oracle-xe stop
dpkg --purge oracle-xe
rm -r /u01/app
rm /etc/default/oracle-xe
update-rc.d -f oracle-xe removeh4. D.2. Reconfigure Oracle 11g XE
Type the following in a terminal window:
/etc/init.d/oracle-xe stop
sudo rm /etc/default/oracle-xe
/etc/init.d/oracle-xe configureh4. D.3. Enable Archivelog mode and perform a database backup
Login as user Oracle:
su - oracle
sqlplus / as sysdba
At the SQL prompt, enter the following commands:
shutdown immediate
startup mount
alter database archivelog;
alter database open;
exit
Login to system console of the Oracle user account:
Select Applications > Oracle Database 11g Express Edition > Backup Databaseh3. E) Notes
h4. E.1. Oracle 11g XE limitiations overview
- It will consume, at most, processing resources equivalent to one CPU.
- Only one installation of Oracle Database XE can be performed on a single computer.
- The maximum amount of user data in an Oracle Database XE database cannot exceed 11 GB.
- The maximum amount of RAM that Oracle XE uses cannot exceed 1 GB, even if more is available.
- HTTPS is not supported natively with the HTTP listener built into Oracle Database XE.
h4. E.2. Documentation and Links
Official documentation for Oracle 11gR2 XE can be found at:
http://www.oracle.com/pls/xe112/homepage
h4. E.3. Oracle 11g XE downloads
The Installer is available from the Oracle Technology Network at:
http://www.oracle.com/technology/products/database/xe
http://www.oracle.com/technetwork/database/express-edition/downloads/index.html
h4. E.4 APEX links and archives
The APEX archives can be found at:
http://www.oracle.com/technetwork/developer-tools/apex/application-express/all-archives-099381.html
The APEX download site is:
http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html
h3. F) Troubleshooting
... in progress
Regards and best of luck!
Edited by: Dude on May 25, Version B: various corrections. chkconfig package (A.2.) not required.even though I am admin user.Admin user is a MS Windows term, that does not apply to Linux or Unix in the same fashion.
The configuration script tells you "You must be root user to run the configure script. Login as root user and
then run the configure script."
This is most likely correct because your account is not root and does not have UID 0. What you can do is to login as root e.g. sudo su -, as the message suggest, or use "sudo /etc/init.d/oracle-xe configure", provided your account is defined in the /etc/sudoers file to perform root/admin actions.
Btw, do not modify /etc/passwd and /etc/group to give you admin privileges or try to create a another root account under a different name. That's not the way it works and usually leads to nasty problems. -
Unable to install Oracle 11g R2 on Windows 8
Hi All,
I know this is a familiar post with quite a few users facing problems while trying to install Oracle 11g R2 on Windows 8 platform. Subsequently, there have been resolutions provided - Hyperion Error of the Day: Oracle Database 11g Installer Disappears After Prerequisite Checks.
I am facing a similar problem - the installation window disappears after I select the "Select Class Option" as desktop. I tried following the steps which have been advised, but to no success. I would like to make a point here - The Operating System that I use is - Windows 8 Single Language, which is different from Windows 8 Enterprise Edition. Plus, the java I use is:
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) Client VM (build 24.45-b08, mixed mode, sharing)
Kindly Help.
With regards
SriramHi,
The solution provided in this link worked. Hyperion Error of the Day: Oracle Database 11g Installer Disappears After Prerequisite Checks
Even though I installed java in c:\java, I got the same error, but calling setup.exe from command prompt and setting the jreLoc path has worked.
Eg: on command prompt, I gave below command and it worked,
D:\downloads\database>setup -jreLoc "C:\Java\jdk1.7.0_51"
D:\downloads\database -> is path setup.exe location
Thanks,
Srikanth
Maybe you are looking for
-
HT1212 how do i un-disable my iPhone when it says i have to put in a password
how do i undissable my iphone when its says i have to put in my password on my iphone when connect to itunes
-
Hi, I have a design issue for which I really like your help. In a MPLS network there are twoPOP gateway routers (G1,G2) peering with various MPLS VPN Service providers via B2B vrf eBGP peering are in 4 different ASN's. They inturn all peer via VPNv4
-
Is there a patch for Preview and iPhoto for the new Canon RAW format yet?
I recently purchased a Canon 6D, and I was surprised to find out that my Preview and iPhoto does not read the new Canon RAW codec. It's been out for almost 7 or 8 months. All my software is current. I have a 2007 MacBook Pro with iOS 10.7.5 The softw
-
I am not able to delete any of my email
When I click on my email, and want to delete it, I get a response javascrip error false
-
Suppressing directories and .css files for excluded FrameMaker .fm files?
The source for this project I recently inherited is in FrameMaker. I noticed that the WebHelp output included the PDF title page (Title.fm in FM), so I checked the Excluded Unreferenced Topics from Output and Exclude Unreferenced boxes. The Title.fm