Installation of Oracle 11g (R2) on Solaris 10 x86_64

Page 1 of 4

Installation of Oracle 11g Release 2 on Solaris 10 x86_64
This paper (HOWTO) describes step-by-step installation of Oracle 11g release 2 ( database software on Solaris 10 x86_64. This paper covers following steps: Pre-Instalation Tasks Download & Install Post-Instalation Tasks Common Installation Errors

Pre-Instalation Tasks
1. Create oracle User Account Login as root and create te user oracle which belongs to oinstall,dba,asmdba and asmadmin groups.
su # groupadd dba # groupadd oinstall # groupadd asmdba # groupadd asmadmin # useradd -g oinstall -G dba,asmdba,asmadmin -m -d /export/home/oracle s /usr/bin/bash oracle

Note: "#" sign means that you need execute this command as root user. For use of Bash shell you need to install SUNWbash package You can separate ASM and DBA roles between more users. You can create for example "asm" user as ASM administrator. 2. Setting System parameters Edit the /etc/system and add following line:
set noexec_user_stack=1

Note: Since Solaris 10 shared memory settings for Oracle in /etc/system is obsolete. Execute following commands to configure system settings for Oracle.
# # # # projadd projmod projmod projmod -U oracle -K "project.max-shm-memory=(priv,4g,deny)" -sK "project.max-sem-nsems=(priv,512,deny)" -sK "project.max-sem-ids=(priv,128,deny)" -sK "project.max-shm-ids=(priv,128,deny)"

Note: - Use "projects -l project" command to check the settings. - Values for max-sem-nsems, max-sem-ids, max-shm-ids are defaults in Solaris 10. You need not to specified them unless you want to set higher values. More info at


kartik.bash_profile and execute following commands for load new enviroment: cd /export/home/oracle .oracle). To check whether required packages are installed on your operating system use following command: pkginfo -i SUNWarc SUNWlibms SUNWtoo SUNWi1cs SUNWi15cs SUNWxwfnt SUNWxwplt SUNWmfrun SUNWxwplr SUNWxwdv SUNWgcc SUNWbtool SUNWi1of SUNWhea SUNWlibm SUNWsprot SUNWuiu8 SUNWpool SUNWpoolr Install the required packages using the pkgadd command: # pkgadd -d . Installation of required packages Some additional packages are required for succesful instalation of Oracle software. You don't need to set CRS_HOME in case Grid will be not installed. Enviroment settings Edit the /export/home/oracle/. http://ivan.Installation of Oracle 11g (R2) on Solaris 10 x86_64 Page 2 of 4 . SUNWarc SUNWlibms SUNWtoo SUNWi1cs SUNWi15cs SUNWxwfnt SUNWxwplt SUNWmfrun SUNWxwplr SUNWxwdv SUNWgcc SUNWbtool \ SUNWi1of SUNWhea SUNWlibm SUNWsprot SUNWuiu8 SUNWpool SUNWpoolr 3.1. Create base directory for Oracle Login as root and create base directory for Oracle ($ORACLE_BASE). Download the Oracle 10g (11. In case your "dba" group will contain more members than "oracle" user define limits for group (group. .html 4/22/2010 .0) software from Oracle website.bash_profile file and add following lines: ORACLE_BASE=/opt/oracle ORACLE_HOME=$ORACLE_BASE/112 ORACLE_SID=ORA11GR2 CRS_HOME=$ORACLE_BASE/112_crs LD_LIBRARY_PATH=$ORACLE_HOME/lib:$CRS_HOME/lib PATH=$PATH:/usr/local/bin:/usr/ccs/bin:$ORACLE_HOME/bin:$CRS_HOME/bin export ORACLE_BASE ORACLE_HOME ORACLE_SID LD_LIBRARY_PATH PATH Note: This configuration assumes that user oracle is using Bash as default shell. 볨 su # cd /opt # mkdir oracle # chown oracle:dba oracle Download & Install 1.bash_profile 4.dba) rather than user (user. Save the .0.Example (as above) represents setting for "oracle" user. CRS_HOME is optional.2. # /opt/oracle/112/ For Database software installation: unzip solaris.30-sol10-x86-local. Execute scripts (# means "as root"): # /opt/oracle/oraInventory/orainstRoot.6-sol10-x86-local. Start the Oracle software installation process. Now the system is prepared for Oracle software installation.Installation of Oracle 11g (R2) on Solaris 10 x86_64 Page 3 of 4 Extract the files using following command: For Grid (CRS) software installation: unzip solaris.gz (use Save as) site: 4.6-sol10-x86-local.gz readline-5.x64_11gR2_grid.4.4.kartik.gz (use Save as) libgcc-3.2-sol10-x86-local.gz -d libgcc-3. rman or adrci utility./runInstaller For Database software installation: cd database .html 4/22/2010 unzip solaris. (Optional) You may consider to use rlwrap for comfortable work with sqlplus./runInstaller 볨 Post-Instalation Tasks For Solaris 10 (x86) release you need to download following packages from official Sunfreeware.x64_11gR2_database_2of2.gz (use Save as) Install downloaded packages: su # gunzip # gunzip # gunzip # pkgadd # pkgadd libgcc-3.gz rlwrap-0.6-sol10-x86-local -d readline-5.2-sol10-x86-local http://ivan. To start the installation process execute the following commands: For Grid (CRS) software installation: cd grid .

pm line /export/home/oracle/.so. Failed <<<< Some requirement checks failed. Comments.1: java: fatal: libXm.8. You must fulfill these requirements before continuing with the installation. Install SUNWxwplt package 2.bash_profile Common Installation Errors UX: useradd: ERROR: Unable to create the home directory: No such file or directory. Also You can leave the comment to relevant post on my blog http://ivan.kartik. Solution: Install the SUNWpool SUNWpoolr packages.1: perl: fatal: Set DISPLAY variable 3. Execute xhost + on target (set in DISPLAY) computer 볨 Exception in thread "main" java. root. /usr/xpg4/bin/grep: not found Solution: ln -s /usr/bin/grep /usr/xpg4/bin/grep Last update: 29-12-2009 (DD-MM-YYYY).at which time they will be rechecked. Create specified directory where home directory will be errors (also grammatical :) )? Feel free to contact me. suggestions. Unable to convert from "UTF-8" to "646" for NLS! Solution: Install SUNWuiu8 package.4: open failed: No such file or directory Solution: Install the SUNWmfrun package. Solution(s): 1.UnsatisfiedLinkError: .4/lib/i86pc-solaris-64int/DynaLoader.html 4/22/2010 .so: ld.8.30-sol10-x86-local # exit echo "alias sqlplus='/usr/local/bin/rlwrap sqlplus'" >> /export/home/oracle/.4/lib/i86pc-solaris-64int/auto/Sun/Solaris/Project/Project. libmawt.bash_profile echo "alias rman='/usr/local/bin/rlwrap rman'" >> /export/home/oracle/.lang.bash_profile echo "alias adrci='/usr/local/bin/rlwrap adrci'" >> /export/home/oracle/.bash_profile .so' for module Sun::Solaris::Project: ld..Installation of Oracle 11g (R2) on Solaris 10 x86_64 Page 4 of 4 # pkgadd -d rlwrap-0. In example for /export/home/oracle home you need to execute "mkdir -p /export/home" directory. BEGIN failed--compilation aborted at /usr/sbin/projadd line 19. Checking monitor: must be configured to display at least 256 colors >>> Could not execute auto check for display colors using command /usr/openwin/bin/ at /usr/sbin/projadd line 19 Compilation failed in require at /usr/sbin/projadd line 19.1: open failed: No such file or directory at /usr/perl5/5. Check if the DISPLAY variable is set. Can't load '/usr/perl5/5.

Sign up to vote on this title
UsefulNot useful