Oracle Database 11G Installation on Solaris 10

(0 comments)

Installation Pre-RequisiteRefer to Oracle Database Installation Guide 11g Release 1 (11.1) for Solaris Operating System for checking Hardware and Software Requirements.

User Creation and Environment Settings

1)Create groups for Oracle account

#groupadd oinstall
#groupadd dba
#groupadd oper

2)Create Oracle Default Home directory

# mkdir /export/home
# mkdir /export/home/oracle

3)Create Oracle user

# useradd -g oinstall -G dba -d /export/home/oracle -s /usr/bin/bash oracle
# chown oracle:oinstall /export/home/oracle

4)Create Project for Oracle for setting the kernel parameters

In case of Solaris 10, you can use projects to configure the kernel parameters instead of /etc/system file. This can be done as following

# projadd -U oracle -K "project.max-shm-memory=(priv,4g,deny)" oracle
# projmod -sK "project.max-sem-nsems=(priv,256,deny)" oracle
# projmod -sK "project.max-sem-ids=(priv,100,deny)" oracle
# projmod -sK "project.max-shm-ids=(priv,100,deny)" oracle

There are many more ways of creating project entries such as group.group-name or user.user-name. For more details refer to Solaris Administration documents.

Update

Last three settings made by projmod command are not required as these values are lower than the default. This was pointed by Mike Madland and he also gave a Sun documentation link

http://docs.sun.com/app/docs/doc/819-2724/6n50b0795?l=en&a=view#chapter1-33

You can check the values for max-sem-ids and max-shm-ids with this command:

prctl -n project.max-sem-ids -i task `ps -o taskid= -p $$`

5)Create .bash_profile for Oracle user

#Oracle Environment Settings
TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR
ORACLE_BASE=/opt/oracle; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/11g; export ORACLE_HOME
ORACLE_SID=TESTDB11G; export ORACLE_SID
PATH=$PATH:/usr/local/bin:/usr/ccs/bin:/usr/sfw/bin:$ORACLE_HOME/bin

Now Set the Display to a X-windowing enabled system.

$ export DISPLAY=192.168.4.47:0.0

Also allow the host to accept the connection by

$xhost +

Oracle Software Installation

Go to the Oracle dump location and run runInstaller as Oracle user

$./runInstaller

Oracle 11g R2 Installation Error with Patch 124861-15

The Installation of 11gR2 is not proceeding due to missing OS patch 124861-15 on Solaris 10.

When we are trying to Install this patch it gives error:

bash-3.00# patchadd 124861-15
Validating patches...
Loading patches installed on the system...
Done!
Loading patches requested to install.
Version of package SPROlang from directory SPROlang in patch 124861-15 differs from the package installed on the system.
Version of package SPROlangx from directory SPROlangx in patch 124861-15 differs from the package installed on the system.
Version of package SPROsunms from directory SPROsunms in patch 124861-15 differs from the package installed on the system.
Version of package SPROmrcom from directory SPROmrcom in patch 124861-15 differs from the package installed on the system.
Done!
The following requested patches do not update any packages installed on the system
No Packages from patch 124861-15 are installed on the system.
No patches to dependency check.

The packages included in this patch are already Installed and with higher version. These packages are bundled with Sun Studio 12.1 and 12.2 , if you Installed Sun Studio 12.0 then it will allow you to Install the required patch 124861-15. This patch is for C compiler which is already installed with Sun Studio 12.x. So here Installing this patch doesn't make any sense as we already have these packages with higher version.

You can verify the packages bundled with this patch installed on your system or not:

bash-3.00# pkginfo -i SPROlang SPROlangx SPROsunms SPROmrcom
application SPROlang  Sun Studio 12 update 1 Compilers Common Components
application SPROlangx Sun Studio 12 update 1 Common 64-bit Components
application SPROmrcom Sun Studio 12 update 1 Common Compiler Man Pages/Online Info
application SPROsunms Sun Studio 12 update 1 Unbundled Shared libsunmath

Is these packages are Installed on your system, then you can avoid installing 124861-15 patch.

Here how you will avoid Installing this patch ?????

Just you need to comment pre-requiste file from 11g stage area.

11gR2stage/stage/cvu/cvu_prereq.xml

Find entry for patch 124861-15 :

original entry
!-- C Compiler Patches --
OSPATCH VALUE="124861-15" SEVERITY="IGNORABLE"     

Update Entry
!-- C Compiler Patches --
!-- OSPATCH VALUE="124861-15" SEVERITY="IGNORABLE" --

save this file and re-run the Installer it will not check this patch as a pre-requisite.

Currently unrated

Comments

There are currently no comments

New Comment

required

required (not published)

optional

required