Oracle 11gR2 Grid Package installed
Hello, I need your help you. I try to install Oracle database 11gR2 in Linux Oracle 6.5 but I need that package(but I have installed that for better versions):
for example, the package libaio-0.3.105, I have installed libaio-0.3.107(that package it's included in DVD of oracle Linux 6.5), why the installer doesn't know which the version is installing?
Thank you!
Pl post the 11gR2 version to 4 digits. For Linux 6.x, you will need 11.2.0.3 or later - http://docs.oracle.com/cd/E11882_01/relnotes.112/e23558/toc.htm#CHDFHIEA
If you are using the publicly available 11.2.0.1 version, you will need to use Linux 5.x
Similar Messages
-
How to install oracle 11gR2 Grid Infrastructure for standalond server
Hi Experts,
we do not want to install ASM. under this condition, does any expert install oracle 11gR2 Grid Infrastructure for standalone server in Linux 5 at file system?
Please share tip and experiences of installed oracle 11gR2 as single instance include install oracle 11gR2 Grid Infrastructure for standalone server in Linux 5. no one node RAC configuration.
If we do not install 11gR2 Grid Infrastructure for standalone server . which function will be lost? restat server only?
Thanks
JimGrid Infrastructure automatically uses Oracle Restart as default if you're installing Standalone. You can turn this off using crsctl ('disable has', I believe).
According to the inference in the install docs (http://download.oracle.com/docs/cd/E11882_01/install.112/e16763/oraclerestart.htm#CIHCBGCC), you can install 11gR2 without Grid Infrastructure, but you lose ASM and Restart. -
How to download Oracle 11gr2 installation packages
Hey,
I am trying to install Oracle 11g r2 on a Linux Ubuntu 11. Can anyone tell me where can I find those special packages please ?
rpm -Uvh binutils-2.*
rpm -Uvh compat-libstdc++-33*
rpm -Uvh compat-libstdc++-33*.i386.rpm
rpm -Uvh elfutils-libelf*
rpm -Uvh gcc-4.*
rpm -Uvh gcc-c++-4.*
rpm -Uvh glibc-2.*
rpm -Uvh glibc-common-2.*
rpm -Uvh glibc-devel-2.*
rpm -Uvh glibc-headers-2.*
rpm -Uvh ksh*
rpm -Uvh libaio-0.*
rpm -Uvh libaio-devel-0.*
rpm -Uvh libgomp-4.*
rpm -Uvh libgcc-4.*
rpm -Uvh libstdc++-4.*
rpm -Uvh libstdc++-devel-4.*
rpm -Uvh make-3.*
rpm -Uvh sysstat-7.*
rpm -Uvh unixODBC-2.*
rpm -Uvh unixODBC-devel-2.*
rpm -Uvh numactl-devel-2*
I think many people try to install oracle 11g on their computers so I home his won't be a big problem.
Regards,The following might answer your questions:
Install Oracle 11gR2 Ubuntu Linux 11.04 (64-bit)
Install Oracle 11gR2 on Ubuntu Linux 11.04 (64-bit) Howto -
Wheather ASM Disk need to be configured before Oracle 11gR2 Grid software
Hi All,
I have a confusion regarding ASM Disk configuration. Whether this need to be done before the grid software installation or shall we do it after grid software installation.
Kindly Advice over the samevk82 wrote:
Hi All,
I have a confusion regarding ASM Disk configuration. Whether this need to be done before the grid software installation or shall we do it after grid software installation.
Kindly Advice over the same
ASM is going to be a storage option. The storage that would be used by the ASM instance must be available already. The installation of the GI would be on the file system of the node.
HTH
Aman.... -
Hi Guru's.
I am not able to get listener connectivity after installing Oracle 11gr2 Grid infrastructure on windows on vmware workstation. I register with static ip.
Even i recreated the listener and running the listener from Grid home.
The output what i am getting is :--
C:\> lsnrctl status
The listener support no services
Can you please help me outC:\Users\Administrator>lsnrctl stop
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 26-NOV-2013 09:09:10
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
The command completed successfully
C:\Users\Administrator>lsnrctl start
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 26-NOV-2013 09:09:21
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Starting tnslsnr: please wait...
TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
Log messages written to c:\app\administrator\diag\tnslsnr\WIN-0P8BCA3R7V5\listener\alert\log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=WIN-0P8BCA3R7V5)(PORT=1521)))
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
Start Date 26-NOV-2013 09:09:24
Uptime 0 days 0 hr. 0 min. 4 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File c:\app\administrator\diag\tnslsnr\WIN-0P8BCA3R7V5\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=WIN-0P8BCA3R7V5)(PORT=1521)))
The listener supports no services
The command completed successfully
C:\Users\Administrator>lsnrctl status
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 26-NOV-2013 09:09:31
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
Start Date 26-NOV-2013 09:09:24
Uptime 0 days 0 hr. 0 min. 8 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Log File c:\app\administrator\diag\tnslsnr\WIN-0P8BCA3R7V5\listener\alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=WIN-0P8BCA3R7V5)(PORT=1521)))
The listener supports no services
The command completed successfully
C:\Users\Administrator>lsnrctl service
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 26-NOV-2013 09:13:10
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
Services Summary...
Service "+asm" has 1 instance(s).
Instance "+asm", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: WIN-0P8BCA3R7V5, pid: 2560>
(ADDRESS=(PROTOCOL=tcp)(HOST=WIN-0P8BCA3R7V5)(PORT=49246))
The command completed successfully -
Java.lang error while installing 11gR2 Grid Infrastructure on HPUX 11.31
Hi,
I am installing 11gR2 Grid Infrastructure on HPUX 11.31 Itanium server for installing RAC database.
I do not get any error during the installation of the software but while running the root.sh I am getting following error..
# /opt/oracle/app/11.2.0/grid/root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /opt/oracle/app/11.2.0/grid
Enter the full pathname of the local bin directory: [usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n) [n]:
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]:
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n) [n]:
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2010-04-23 15:09:28: Parsing the host name
2010-04-23 15:09:28: Checking for super user privileges
2010-04-23 15:09:28: User has super user privileges
Using configuration parameter file: /opt/oracle/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
stty: : Not a typewriter
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'sys'..
Operation successful.
root wallet
root wallet cert
root cert export
peer wallet
profile reader wallet
pa wallet
peer wallet keys
pa wallet keys
peer cert request
pa cert request
peer cert
pa cert
peer root cert TP
profile reader root cert TP
pa root cert TP
peer pa cert TP
pa peer cert TP
profile reader pa cert TP
profile reader peer cert TP
peer user cert
pa user cert
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
CRS-2672: Attempting to start 'ora.gipcd' on 'bmblade-91'
CRS-2672: Attempting to start 'ora.mdnsd' on 'bmblade-91'
CRS-2676: Start of 'ora.gipcd' on 'bmblade-91' succeeded
CRS-2676: Start of 'ora.mdnsd' on 'bmblade-91' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'bmblade-91'
CRS-2676: Start of 'ora.gpnpd' on 'bmblade-91' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'bmblade-91'
CRS-2676: Start of 'ora.cssdmonitor' on 'bmblade-91' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'bmblade-91'
CRS-2672: Attempting to start 'ora.diskmon' on 'bmblade-91'
CRS-2676: Start of 'ora.diskmon' on 'bmblade-91' succeeded
CRS-2676: Start of 'ora.cssd' on 'bmblade-91' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'bmblade-91'
CRS-2676: Start of 'ora.ctssd' on 'bmblade-91' succeeded
Error occurred during initialization of VM
java.lang.Error: Permission denied
sh: 10154 Abort
Configuration of ASM failed, see logs for details
Did not succssfully configure and start ASM
CRS-2500: Cannot stop resource 'ora.crsd' as it is not running
CRS-4000: Command Stop failed, or completed with errors.
Command return code of 1 (256) from command: /opt/oracle/app/11.2.0/grid/bin/crsctl stop resource ora.crsd -init
Stop of resource "ora.crsd -init" failed
Failed to stop CRSD
CRS-2500: Cannot stop resource 'ora.asm' as it is not running
CRS-4000: Command Stop failed, or completed with errors.
Command return code of 1 (256) from command: /opt/oracle/app/11.2.0/grid/bin/crsctl stop resource ora.asm -init
Stop of resource "ora.asm -init" failed
Failed to stop ASM
CRS-2673: Attempting to stop 'ora.ctssd' on 'bmblade-91'
CRS-2677: Stop of 'ora.ctssd' on 'bmblade-91' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'bmblade-91'
CRS-2677: Stop of 'ora.cssdmonitor' on 'bmblade-91' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'bmblade-91'
CRS-2677: Stop of 'ora.cssd' on 'bmblade-91' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'bmblade-91'
CRS-2677: Stop of 'ora.gpnpd' on 'bmblade-91' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'bmblade-91'
CRS-2677: Stop of 'ora.gipcd' on 'bmblade-91' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'bmblade-91'
CRS-2677: Stop of 'ora.mdnsd' on 'bmblade-91' succeeded
Initial cluster configuration failed.
Do anybody came accross this issue? I had 11gR2 Grid Infrastructure installed on this server, but for demostration to other team members, I removed the earlier installation using Metalink Note :942166.1. I will appreciate your input.
Regards
ShailandraHi,
One of the recommended solution for this issue by Oracle.
Have the DISPLAY variable set when running root.sh. This is the th recommendation by oracle to a SR opened by another vendor for this issue.
Regards -
Oracle 11gR2 RAC Grid installation - Configuration of ASM failed,
Hi guys,
Trying to install/configure Oracle 11gR2 Grid for 2 nodes RAC on Suse 10, root.sh failed with this error:
2010-08-19 15:30:47: Querying for existing CSS voting disks
2010-08-19 15:30:47: Performing initial configuration for cluster
2010-08-19 15:30:48: Start of resource "ora.ctssd -init" Succeeded
2010-08-19 15:30:48: Configuring ASM via ASMCA
2010-08-19 15:30:48: Executing as oracle: /u01/app/11.2.0/grid/bin/asmca -silent -diskGroupName DATA -diskList ORCL:DATA1,ORCL:DATA2 -redundancy EXTERNAL -configureLocalASM
2010-08-19 15:30:48: Running as user oracle: /u01/app/11.2.0/grid/bin/asmca -silent -diskGroupName DATA -diskList ORCL:DATA1,ORCL:DATA2 -redundancy EXTERNAL -configureLocalASM
2010-08-19 15:30:48: Invoking "/u01/app/11.2.0/grid/bin/asmca -silent -diskGroupName DATA -diskList ORCL:DATA1,ORCL:DATA2 -redundancy EXTERNAL -configureLocalASM" as user "oracle"
2010-08-19 15:30:51: Configuration of ASM failed, see logs for details
2010-08-19 15:30:51: Did not succssfully configure and start ASM
2010-08-19 15:30:51: Exiting exclusive mode
2010-08-19 15:30:51: Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.crsd -init
2010-08-19 15:30:51: Stop of resource "ora.crsd -init" failed
2010-08-19 15:30:51: Failed to stop CRSD
2010-08-19 15:30:51: Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.asm -init
2010-08-19 15:30:51: Stop of resource "ora.asm -init" failed
2010-08-19 15:30:51: Failed to stop ASM
2010-08-19 15:31:12: Initial cluster configuration failed. See /u01/app/11.2.0/grid/cfgtoollogs/crsconfig/rootcrs_oracle-node2.log for details
oracle-node2:/u01/app/11.2.0/grid/cfgtoollogs/crsconfig #
Can any one please help/assist/guide ... how to move forward?
Thanks in advance.failed ... with the same error
2010-08-19 16:52:05: Start of resource "ora.ctssd -init" Succeeded
2010-08-19 16:52:05: Configuring ASM via ASMCA
2010-08-19 16:52:06: Executing as oracle: /u01/app/11.2.0/grid/bin/asmca -silent -diskGroupName DATA -diskList ORCL:DATA1,ORCL:DATA2 -redundancy EXTERNAL -configureLocalASM
2010-08-19 16:52:06: Running as user oracle: /u01/app/11.2.0/grid/bin/asmca -silent -diskGroupName DATA -diskList ORCL:DATA1,ORCL:DATA2 -redundancy EXTERNAL -configureLocalASM
2010-08-19 16:52:06: Invoking "/u01/app/11.2.0/grid/bin/asmca -silent -diskGroupName DATA -diskList ORCL:DATA1,ORCL:DATA2 -redundancy EXTERNAL -configureLocalASM" as user "oracle"
2010-08-19 16:52:08: Configuration of ASM failed, see logs for details
2010-08-19 16:52:08: Did not succssfully configure and start ASM
2010-08-19 16:52:08: Exiting exclusive mode
2010-08-19 16:52:08: Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.crsd -init
2010-08-19 16:52:08: Stop of resource "ora.crsd -init" failed
2010-08-19 16:52:08: Failed to stop CRSD
2010-08-19 16:52:08: Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.asm -init
2010-08-19 16:52:08: Stop of resource "ora.asm -init" failed
2010-08-19 16:52:08: Failed to stop ASM
2010-08-19 16:52:30: Initial cluster configuration failed. See /u01/app/11.2.0/grid/cfgtoollogs/crsconfig/rootcrs_oracle-node1.log for details
oracle-node1:/u01/app/11.2.0/grid/cfgtoollogs/crsconfig # -
11gR2 Grid Infrastucture Installation Problem on HP-UX 11.31
While installing Oracle 11gR2 Grid Infrastructure on HP-UX 11.31 it is giving error message
INS-06006: Passwordless SSH connectivity not set up between the following node(s),
but manually it is working fine from both nodes.
What to do now, any suggestion from anybody.I had the same issue today, it took me 30 minutes to figure out how to solve it.
I had a script called by .bashrc that was setting Oracle variables and doing Echos to have a nice login prompt.
For some reason, the SSH Connectivity created a directory with the banner (!!) sounds crazy, but when i removed those files, started again, it went through.
I'd say, whenever you install this software, do not init Oracle specific environmental variables such as ORACLE_HOME, ORACLE_SID, etc.
If it still doesn't work, check Oracle Note: *How to Validate Network and Name Resolution Setup for the Clusterware and RAC [ID 1054902.1]*
Hope this helps.
JB -
Oracle 11gR2 RAC problem with resource state
Hi all,
I installed Oracle 11gR2 grid infrastructure with 2 nodes and I installed DB 11gR2.
S.O: HP-UX
I actived both DB instance in each node.
For an hardware problem node 1 become unstable (continuos auto reboot).
I found that the problem was RAM.
However I note that database resource is in a particular state and i don't able to reset it.
Performing command crsctl status resource ora.orcl.db this is the result
ora.orcl.db
1 OFFLINE UNKNOWN node1 Startup Initiated
2 ONLINE ONLINE node2 Open
That UNKNOWN state is really abstruse.
I tryed to perform crsctl stop resource ora.orcl.db -n node1 and the result is
CRS-2679: Attempting to clean 'ora.orcl.db' on 'node1'
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
HPUX-ia64 Error: 2: No such file or directory
Process ID: 0
Session ID: 0 Serial number: 0
CRS-2680: Clean of 'ora.orcl.db' on 'node1' failed
CRS-4000: Command Stop failed, or completed with errors.
I tryed to perform crsctl start resource ora.orcl.db -n node1 and the result is
CRS-2662: Resource 'ora.orcl.db' is disabled on server 'node1'
CRS-4000: Command Start failed, or completed with errors.
How do I do to reset that UNKNOWN state?
Thanks in advance.
Bye
AlessandroI tryed srvctl enable instance -d orcl -i ORCL_1
but the results is
srvctl enable instance command is not supported for configuration using server pool.
I tryed to delete service ora.orcl.db and recreate it.
Now I have
NAME=ora.orcl.db
TYPE=ora.database.type
TARGET=ONLINE , ONLINE
STATE=UNKNOWN on node1, OFFLINE
So Targets are both ONLINE, but if I write crsctl start resource ora.orcl.db
the result is
CRS-2679: Attempting to clean 'ora.orcl.db' on 'node1'
CRS-2672: Attempting to start 'ora.orcl.db' on 'node2'
CRS-5003: Invalid attribute value: '' for attribute DB_UNIQUE_NAME
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
HPUX-ia64 Error: 2: No such file or directory
Process ID: 0
Session ID: 0 Serial number: 0
CRS-2674: Start of 'ora.orcl.db' on 'node2' failed
CRS-2679: Attempting to clean 'ora.orcl.db' on 'node2'
CRS-2681: Clean of 'ora.orcl.db' on 'node2' succeeded
CRS-2632: There are no more servers to try to place resource 'ora.orcl.db' on that would satisfy its placement policy
CRS-2680: Clean of 'ora.orcl.db' on 'node1' failed
CRS-4000: Command Start failed, or completed with errors.
Where DB_UNIQUE_NAME attribute must be set?
Any other suggest?
Thanks in advance.
Regards.
Alessandro
Edited by: Alessandro Zenoni on 21-giu-2010 11.26 -
hi i 'am yapi
i'm trying to install Oracle 11gR2 grid infrastructure on Solaris 5.10 and i get this error (11gR2 Grid Infrastructure Install - Invalid Entry Size).
please help me.
Thank.check this:
11gR2 Grid Infrastructure Install - Invalid Entry Size -
Best way to change from Oracle 11gR2 Standard Edition to Standard one..?
Hi,
I have installed Oracle 11gR2 Standard edition+ installed database and additional software (which looks into the Oracle 11g database) in around 20 PCs (company)
But now the management says that they got license only for 11g Standard one edition (Standard one is significantly cheaper than standard edition)
So I have to change the Oracle edition from Standard to Standard one now..We only need standard one edition features in the PCs.
Can somebody please advise what would be the best way to do this? Do I have to uninstall all database and reinstall standard one edition again?
I will be grateful if somebody says some kind of upgrade is possible(in this case degrade!)..
Pls ..waiting for a reply..its very urgent!
Thanks®ards..Yes I agree there was standard and standard one options and I selected standard.
But how to confirm?
SQL> select banner from v$version;
BANNER
Oracle Database 11g Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
It doesnt say anything..where else will I check?
Also as said in the previous post,
1) SE max. 4 sockets , SE1 2 sockets <======== hardware restriction
2) No RAC on SE1
3) No Automatic Workload Management (a RAC feature) on SE1
These apply to us.
So can we get a SE1 license, since we are not on RAC and satisfy all criteria for standard one.
Thanks&Regards -
Where to download 11gr2 Grid infra structure for Windows
Hi,
I am not seeing the software of Oracle 11gR2 grid infra structure for Windows. Please let me know the link to download the grid infra structure for Windows.
Thanks,
MahipalAFAIK there is no software for windows 32-bit. but it is there for 64-bit. you can download from here
http://www.oracle.com/technetwork/database/enterprise-edition/downloads/112010-win64soft-094461.html -
Oracle 11gR2 RAC : How to resume runInstaller to continue to install Grid ?
Folks,
Hello.
I am installing Oracle 11gR2 RAC using 2 Virtual Machines (rac1 and rac2 whose OS are Oracle Linux 5.6) in VMPlayer.
I have been installing Grid Infrastructure using runInstaller from step 1 to step 9 of 10 in both VM rac1 and rac2.
After finish running the script root.sh in VM rac1 and rac2, the Computer is shut down automaticall because I don't touch the keyboad for a long time. When I resume the Computer, runInstaller Wizard is gone. My question is:
How to resume runInstaller to continue to install Grid ?
Thanks.Hi!
You can't resume runInstaller.
You must Clear you envinronment, and try again. -
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. -
Error while installing oracle 10g grid on windows
hi all,
when i am installing oracle 10g grid i got the error that
"Configuration assistant "OMS Configuration" failed "
when i saw the log
it has been mentioned the failed to create repos user.
this is the out put of the log
[14-02-2008 11:51:55] Enter SYS user's password :
[14-02-2008 11:51:55]
[14-02-2008 11:51:55] Enter repository user password :
[14-02-2008 11:51:55]
[14-02-2008 11:51:55] Enter MetaLink user password :
[14-02-2008 11:51:55]
[14-02-2008 11:51:55] Getting temporary tablespace from database...
[14-02-2008 11:51:55] Found temporary tablespace: TEMP
[14-02-2008 11:51:55] Checking SYS Credentials ...
[14-02-2008 11:51:56] OK.
[14-02-2008 11:51:56] Checking DB Init Parameters ...
[14-02-2008 11:51:56] OK.
[14-02-2008 11:51:56] Checking for Repos User ...
[14-02-2008 11:51:56] Does not Exist.
[14-02-2008 11:51:56] Loading necessary DB objects ...
[14-02-2008 11:51:56] Checking DB Object (DBMS_SHARED_POOL , PACKAGE) ...
[14-02-2008 11:51:56] Done Loading necessary DB objects
[14-02-2008 11:51:56] Creating repos user ...
DECLARE
ERROR at line 1:
ORA-01119: error in creating database file
'E:\oraclegrid\oms10g\oradata\mgmt.dbf'
ORA-27040: file create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
ORA-06512: at line 44
[14-02-2008 11:51:57] Failed.
[14-02-2008 11:51:57] Repository Creation failed. Failed to create Repos User.
all users and everyone has full permission on this folder, i don't know why it is giving,
please any one help me out i am stuck in the middle of the installation
oracle 10g grid version is 10.1
please reply to this
Regards,
Veeresh Sthis is the output what i get in oui:configuration assistants
Output generated from configuration assistant "OMS Configuration" (attempt 6):
Command = oracle.sysman.emcp.oms.OmsPlugIn -configureOms
Operation Stopping OPMN Processes is in progress.
Operation EM Deploying is in progress.
Operation Creating OMS Respository is in progress.
Configuration assistant "OMS Configuration" failed
The "E:\oraclegrid\agent10g\cfgtoollogs\configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same.-------------------------------------------------------------------------------
when i saw this E:\oraclegrid\agent10g\cfgtoollogs\configToolFailedCommands file
the below 2 lines was mentioned in that file.
rem Copyright (c) 1999, 2006, Oracle. All rights reserved.
oracle.sysman.emcp.agent.AgentPlugIn
this below log i got in E:\oraclegrid\agent10g\cfgtoollogs\cfgfw\CfmLogger_2008-02-14_10-28-34-AM.log file
i have pasted last lines of the files.
INFO: oracle.sysman.top.oms:OmsPlugIn:Requested Configuration Step 0 have been completed with status=true
INFO: oracle.sysman.top.oms:deployOms:Already deployed, skipped.
INFO: oracle.sysman.top.oms:OmsPlugIn:Requested Configuration Step 1 have been completed with status=true
INFO: oracle.sysman.top.oms:OmsPlugIn:Requested Configuration Step 2 have been completed with status=true
INFO: oracle.sysman.top.oms:PerformSecureCommand:runCmd:Performing Command=E:\oraclegrid\oms10g\sysman\admin\emdrep\bin\RepManager.bat -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=A1MD04823)(PORT=1521)))(CONNECT_DATA=(SID=q))) -action drop -repos_user SYSMAN -output_file E:\oraclegrid\oms10g\sysman\log\emca_repos_drop12_19_36.log
INFO: oracle.sysman.top.oms:PerformSecureCommand:drain:Spaced passwords by=100 ms
INFO: oracle.sysman.top.oms:PerformSecureCommand:runCmd:E:\oraclegrid\oms10g\sysman\admin\emdrep\bin\RepManager.bat -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=A1MD04823)(PORT=1521)))(CONNECT_DATA=(SID=q))) -action drop -repos_user SYSMAN -output_file E:\oraclegrid\oms10g\sysman\log\emca_repos_drop12_19_36.log have completed with exitCode=0
INFO: oracle.sysman.top.oms:PerformSecureCommand:runCmd:Command Output stdout:
'Enter SYS user's password :
Getting temporary tablespace from database...
Found temporary tablespace: TEMP
Checking SYS Credentials ... OK.
Dropping the repository..
Quiescing DB ... Done.
Checking for Repos User ... Does not Exist.
Repos User does not exist ... Continuing with cleanup ...
Dropping Roles/Synonymns/Tablespaces ... Done.
Unquiescing DB ... Done.
Dropped Repository Successfully.
INFO: oracle.sysman.top.oms:PerformSecureCommand:runCmd:Command Output stderr:
''stty' is not recognized as an internal or external command,
operable program or batch file.
'stty' is not recognized as an internal or external command,
operable program or batch file.
INFO: oracle.sysman.top.oms:PerformSecureCommand:runCmd:Performing Command=E:\oraclegrid\oms10g\sysman\admin\emdrep\bin\RepManager.bat -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=A1MD04823)(PORT=1521)))(CONNECT_DATA=(SID=q))) -action create -repos_user SYSMAN -metalink_username NOTAVAILABLE_ -output_file E:\oraclegrid\oms10g\sysman\log\emca_repos_create12_19_38.log -ecm_datafile E:\oraclegrid\oms10g\oradata\mgmt_ecm_depot1.dbf -datafile E:\oraclegrid\oms10g\oradata\mgmt.dbf
INFO: oracle.sysman.top.oms:PerformSecureCommand:drain:Spaced passwords by=200 ms
INFO: oracle.sysman.top.oms:RepManager Create Repository Error = E:\oraclegrid\oms10g\sysman\admin\emdrep\bin\RepManager.bat -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=A1MD04823)(PORT=1521)))(CONNECT_DATA=(SID=q))) -action create -repos_user SYSMAN -metalink_username NOTAVAILABLE_ -output_file E:\oraclegrid\oms10g\sysman\log\emca_repos_create12_19_38.log -ecm_datafile E:\oraclegrid\oms10g\oradata\mgmt_ecm_depot1.dbf -datafile E:\oraclegrid\oms10g\oradata\mgmt.dbf . Please check the log file at 12
'Enter SYS user's password :
Enter repository user password :
Enter MetaLink user password :
Getting temporary tablespace from database...
Found temporary tablespace: TEMP
Checking SYS Credentials ... OK.
Checking DB Init Parameters ... OK.
Checking for Repos User ... Does not Exist.
Loading necessary DB objects ...
Checking DB Object (DBMS_SHARED_POOL , PACKAGE) ... Exists.
DBMS POOL package exists.
Done Loading necessary DB objects
Creating repos user ... Failed.
Repository Creation failed. Failed to create Repos User.
''stty' is not recognized as an internal or external command,
operable program or batch file.
'stty' is not recognized as an internal or external command,
operable program or batch file.
'stty' is not recognized as an internal or external command,
operable program or batch file.
'stty' is not recognized as an internal or external command,
operable program or batch file.
'stty' is not recognized as an internal or external command,
operable program or batch file.
'stty' is not recognized as an internal or external command,
operable program or batch file.
INFO: oracle.sysman.top.oms:PerformSecureCommand:runCmd:E:\oraclegrid\oms10g\sysman\admin\emdrep\bin\RepManager.bat -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=A1MD04823)(PORT=1521)))(CONNECT_DATA=(SID=q))) -action create -repos_user SYSMAN -metalink_username NOTAVAILABLE_ -output_file E:\oraclegrid\oms10g\sysman\log\emca_repos_create12_19_38.log -ecm_datafile E:\oraclegrid\oms10g\oradata\mgmt_ecm_depot1.dbf -datafile E:\oraclegrid\oms10g\oradata\mgmt.dbf have completed with exitCode=12
INFO: oracle.sysman.top.oms:PerformSecureCommand:runCmd:Command Output stdout:
'Enter SYS user's password :
Enter repository user password :
Enter MetaLink user password :
Getting temporary tablespace from database...
Found temporary tablespace: TEMP
Checking SYS Credentials ... OK.
Checking DB Init Parameters ... OK.
Checking for Repos User ... Does not Exist.
Loading necessary DB objects ...
Checking DB Object (DBMS_SHARED_POOL , PACKAGE) ... Exists.
DBMS POOL package exists.
Done Loading necessary DB objects
Creating repos user ... Failed.
Repository Creation failed. Failed to create Repos User.
INFO: oracle.sysman.top.oms:PerformSecureCommand:runCmd:Command Output stderr:
''stty' is not recognized as an internal or external command,
operable program or batch file.
'stty' is not recognized as an internal or external command,
operable program or batch file.
'stty' is not recognized as an internal or external command,
operable program or batch file.
'stty' is not recognized as an internal or external command,
operable program or batch file.
'stty' is not recognized as an internal or external command,
operable program or batch file.
'stty' is not recognized as an internal or external command,
operable program or batch file.
INFO: oracle.sysman.top.oms:RepManager Create Repository Error = 12. Please check the log file at E:\oraclegrid\oms10g\sysman\log\emca_repos_create12_19_38.log
WARNING: oracle.sysman.top.oms:EmcpPlug:startProcessing:Exception in runner=RepManager Create Repository Error = 12. Please check the log file at E:\oraclegrid\oms10g\sysman\log\emca_repos_create12_19_38.log
INFO: oracle.sysman.top.oms:EmcpPlug:invoke:Completed EmcpPlug invoke method on an aggregate=oracle.sysman.top.oms for Action=configuration in step=2:microstep=0
INFO: oracle.sysman.top.oms:Internal PlugIn for {Micro Step state:step:2:configuration in CfmAggregateInstance: oracle.sysman.top.oms:10.2.0.2.0:common:family=CFM:oh=E:\oraclegrid\oms10g:label=7} failed with an unhandled exception:
java.lang.Exception: RepManager Create Repository Error = 12. Please check the log file at E:\oraclegrid\oms10g\sysman\log\emca_repos_create12_19_38.log
at oracle.sysman.emcp.util.EmcpPlug.startProcessing(EmcpPlug.java:389)
at oracle.sysman.emcp.util.EmcpPlug.invoke(EmcpPlug.java:360)
at oracle.sysman.emCfg.core.PerformMicroStep.runJavaClass(PerformMicroStep.java:509)
at oracle.sysman.emCfg.core.PerformMicroStep.executeMicroStep(PerformMicroStep.java:121)
at oracle.sysman.emCfg.core.ActionPerformer.performMicroStep(ActionPerformer.java:917)
at oracle.sysman.emCfg.core.ActionPerformer$Performer.run(ActionPerformer.java:1038)
INFO: oracle.sysman.top.oms:The plug-in OMS Configuration has failed its perform method
INFO: OuiConfigVariables:IAction.perform() was called on {Action state:OUICA in CfmAggregateInstance: OuiConfigVariables:1.0.0.0.0:common:family=CFM:oh=E:\oraclegrid\oms10g:label=7}
INFO: Framework waiting for Action to complete at 12:19:41.469
INFO: CfwProgressMonitor:actionProgress:About to perform Action=OUICA Status=is running with ActionStep=0 stepIndex=0 microStep=0
INFO: OuiConfigVariables:About to execute plug-in OUI_CA
INFO: OuiConfigVariables:The plug-in OUI_CA is running
INFO: OuiConfigVariables:Launching CmdExec
INFO: OuiConfigVariables:ExitCode=0
INFO: OuiConfigVariables:The plug-in OUI_CA executed as attached=true in separate process with exitcode=0
INFO: OuiConfigVariables:The plug-in OUI_CA has successfully been performed
INFO: done waiting for Action from 12:19:41.469
INFO: Cfm.save() was called
INFO: Cfm.save(): 15 aggregate instances saved
please anyone help, i have given all details, i want to install this grid as soon as possible
Maybe you are looking for
-
Restrict access to buttons, regions, etc. on a per user basis?
My application restricts access to buttons, regions, etc. on a per user basis. Here is my application logic... 1. A User can only edit items they own. 2. A Super-User can edit all items So, when a user logs in, I use a post-authentication process to
-
CS4 nested pdf font encoding "bug"
I receive many pdf artwork files daily. We process all art through InDesign. There is a "bug" with nested pdf files when exporting out of CS4. If PDF/X-4:2008 is used, the fonts render correctly. If any other setting is used, the fonts do not encode
-
I have an HP Pavillion g6-2010nr Notebook PC . It's came with Windows 7. I want to use a wireless display adapter to wirelessly display (mirror) my laptop screen on TV. It requires that my laptop be "Intel WiDi and Miracast" enabled. Is my laptop
-
OpenGL disabled...Graphics Issues
I installed OS X 10.4.3. I began to experience kernal panics one right after the other. The only way the computer would boot was in safe mode. I Zapped PRAM, performed fsck, reset open firmware. Checked all RAM disabled all non-shipped perifs. I even
-
How to use HTML tags inside JSF pages
I am creating a Menu using dataTable and outputLink in a JSF page. <div class="bodyarea"> <div id="location"> <ol> <h:dataTable value="#{menuItem.breadCrumb}" var="bread" > <h:column> <li> <h:outputLink id="crumbID" value="#{bread.menuLink}"> <h:outp