Step by Step installing Oracle 11g R2 on Oracle Solaris 10
Posted by Kamran Agayev A. on March 27th, 2011
In this step by step tutorial I’m going to show you the steps of installing Oracle 11gR2 on Oracle Solaris 10. For this, download Oracle 11gR2 and Oracle Solaris 10, create virtual machine and install Oracle Solaris 10 using my following step by step tutorial:
http://kamranagayev.wordpress.com/2010/11/03/step-by-step-installing-oracle10gr2-on-oracle-solaris/
After installing the Solaris, login with root user. As a first step let’s install VMware tools. For this, disconnect the installation dvd and select “Install VMware tools” from the VM menu
After some seconds a new window will appear.
Get its address, copy the file from to the /tmp directory using a terminal window, unzip and install it
Get into the unzipped folder and run the installation file.
cd vmware-tools-distrib ./vmware-install.pl
After the installation completes, logout from the root user and login again
Now, let’s check the installed OS packages that are required for the Oracle installation. For this, run the following command:
pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibC SUNWlibms SUNWsprot SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt
You should miss two packages – 1) SUNWi1cs 2) SUNWi15cs
To install them, mount the Solaris installation dvd and run the following command:
pkgadd -d /cdrom/sol_10_910_x86/Solaris_10/Product SUNWi1cs SUNWi15cs
If the mount point of the cdrom is different in your environment, specify the correct path to the dvd
After installation completed perform the following steps:
1) Create necessary groups and a user
groupadd oinstall groupadd dba useradd -g oinstall -G dba -d /export/home/oracle -s /usr/bin/bash oracle passwd oracle
2) Create necessary folder for the installation
mkdir -p /export/home/oracle/product/11.2.0/db_1 mkdir /export/home/oracle/tmp
chown -R oracle:oinstall /export/home/oracle
3) Change kernel parameters
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 echo "set maxuprc=16384" >> /etc/system echo "set max_nprocs=30000" >> /etc/system echo "set shmsys:shminfo_shmmax=4294967295" >> /etc/system
Now reboot the machine and login with an oracle user. Let’s create a new swap file with 1Gb size, as it’s required for the Oracle installation
mkfile 1024m /export/home/oracle/orcl_swap swap -a /export/home/oracle/orcl_swap
Now change the .profile file of the oracle user and set necessary environment variables:
gedit /export/home/oracle/.profile
export ORACLE_BASE=/export/home/oracle export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1 export PATH=$ORACLE_HOME/bin:$PATH export TMP=/export/home/oracle/tmp export TMPDIR=/export/home/oracle/tmp export DISPLAY=:0.0
Now create an “installation” direcotry under /export/home/oracle
Then mout the cdrom device and copy the installation files to that directory
Extract both files uzing unzip utility, and start the installation
unzip your_file1.zip unzip your_file2.zip cd database ./runInstaller
Uncheck the checkbox and click next. If you can’t see the Next button, use Alt+N combination
Select the first option and click next
Click Next
Defint the folder for Oracle installation, database name and passwords and click next
Click Next
Click Finish to start the installation.
After the installation of the software finishes, installer automatically runs the DBCA to create the database
After a while, installation finishes.
Click OK and you’ll be prompted to run orainstRoot.sh and root.sh
Switch to the previous Terminal, create new window, login with a root user and run both shell scripts
At last, you’ll get success message
Now let’s connect to the database from Sql*Plus






























April 1st, 2011 at 4:06 am
Hi.I want install Oracle 11g on solaris 10 but I don’t unzip database file.
# unzip solaris.sparc64_11gR1_database_1013.zip
error:
Archive: solaris.sparc64_11gR1_database_1013.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
unzip: cannot find zipfile directory in one of solaris.sparc64_11gR1_database_1013.zip or
solaris.sparc64_11gR1_database_1013.zip.zip, and cannot find solaris.sparc64_11gR1_database_1013.zip.ZIP, period.
Please help me
April 1st, 2011 at 9:27 am
Dear Bakhtiyar
It seems your zip file is corrupted. Please download it again, check the checksum and try it
Good Luck!
April 14th, 2011 at 9:07 pm
Hi! Kamran, what installation files I must copy into the /export/home/oracle/installation folder? where to get them? Please, explain from that moment and next step.
Thank in advance
April 29th, 2011 at 4:36 pm
HI Kamran,
Your Blog is very helpful to all buddies in oracle like me.
In Step by Step installing Oracle 10g RAC on VMware. Screenshot No.59, i get stucked. I cannot create the ORACLE_BASE,ORACLE_HOME and other directories as oracle user. and why we add all env variables in root’s .bash_profile file.
please clarify my boubt.
Thanks and Regards,
Nagarjuna Reddy
May 2nd, 2011 at 8:13 pm
Add those environment variables to the .bash file of the oracle user, switch to the oracle user, make sure all those variables are set (using echo command) and create the folders
June 1st, 2011 at 4:51 pm
sir, i get job in good company on DBA post but i have exp in oracle sql .pl/sql .i have not exp in oracle 11g dba. pls guide me what i do .my current project upCl up.work stat
June 7th, 2011 at 5:38 pm
Dear Amod
I’d suggest you to start reading Oracle documentation from http://tahiti.oracle.com
June 17th, 2011 at 7:40 am
File not found
/export/home/oracle/product/11.2.0/db_1/owb/external/oc4j_applications/applications/WFMLRSVCApp.ear
Solution:
unzip win64_11gR2_database_1of2
unzip the win64_11gR2_database_2of2
cd database–>stage–>Components and copy all folders
go to win64_11gR2_database_1of2 –>database–>stage–>componenets
and paste them all and rerun setup.exe from first unzip fil
June 17th, 2011 at 4:49 pm
Dear Stan, you got the error because you’ve unzipped both files to seperate directory. Unzip them to the same directory and try the installation
Check the following metalink note for more information
Installing 11G on Any Platform : File Not Found Errors Running RunInstaller/Setup.exe [ID 468771.1]
July 8th, 2011 at 7:38 pm
Hi Kamran,
I have installed Solaris 10 x86, and have done all the configurations in preparation for Oracle 11g installation..
Just to be sure..Where should the Oracle installation files be downloaded to, and unzipped to?
July 11th, 2011 at 9:31 am
Dear Olu
You can download and unzip the oracle installation to any directory in your system.
July 29th, 2011 at 10:45 pm
During the installation of Solaris 10, what should be the proper disk layout requirements for a successful Oracle 11g installation. I have always selected auto-layout, but I get the following error message – INS-32021: Insufficient disk space on this volume for the selected Oracle home.
For a lab environment, assuming I am allocating 20g for the Disk space of my Solaris machine, you give me pointers on how I should layout my disk space.
August 4th, 2011 at 2:17 pm
hi Kamran,
I can’t connect to sql plus by using connect /as sysdba
the system keep asking me username & password.
What should i fill in?
Thanks much
Long
August 11th, 2011 at 2:49 pm
Dear Long
Please post the output and error you get
August 11th, 2011 at 9:14 pm
Hi kamran,
I am installing Oracle11gR1 on Solaris 5.10 Sparc 64 bits. it has 64 GB RAM. There will be about 8 instance on this server. Each database will have processes=300 SGA size ranging from 2 -6GB. I would like to allocate 46GB to oracle. What kernel parameters I need to change and what’s value should be?
Thank you in advance.
Pravin
August 15th, 2011 at 8:49 am
Dear Kamran,
i have installed oracle 11G express. Is it same method of installations? This because this solaris machine was on text mode. No GUI.
Please advise
September 4th, 2011 at 3:30 pm
Hi Kamran,
Am not sure abt others but for me it’s very helpfull these steps……………
In my company we have standard procedure for creating DB like need to install specific patches to it(like patch #12311357,12431716) etc…please let me know how to install those patches….waiting for ur reply….
September 5th, 2011 at 6:07 pm
Hi i completed installation successfully but sqlplus is not working for me
And when i try to reinstall once again am getting below error
>>> Ignoring required pre-requisite failures. Continuing…
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-09-05_06-04-16PM. Please wait …
DISPLAY not set. Please set the DISPLAY and try again.
Depending on the Unix Shell, you can use one of the following commands as examples to set the DISPLAY environment variable:
- For csh: % setenv DISPLAY 192.168.1.128:0.0
- For sh, ksh and bash: $ DISPLAY=192.168.1.128:0.0; export DISPLAY
Use the following command to see what shell is being used:
echo $SHELL
Use the following command to view the current DISPLAY environment variable setting:
echo $DISPLAY
- Make sure that client users are authorized to connect to the X Server.
To enable client users to access the X Server, open an xterm, dtterm or xconsole as the user that started the session and type the following command:
% xhost +
To test that the DISPLAY environment variable is set correctly, run a X11 based program that comes with the native operating system such as ‘xclock’:
%
Can someone help me on this…
September 7th, 2011 at 11:39 pm
Hi Kamran ,
Thanks for sharing the info, could you also please guide me to install the same in silent mode since we are not able to invoke GUI on citrix application.
Thanks in Advance!!
September 9th, 2011 at 10:53 am
HI Khan
Check the following link to get information about Silent installation of Oracle 11g on Solaris
http://download.oracle.com/docs/cd/E11882_01/install.112/e17163/app_nonint.htm#BABFEECI
September 10th, 2011 at 5:34 pm
Hi Kamran,
I am getting an error while running the Installer. Pl check this
bash-3.00$ ./runInstaller
/export/home/oracle/Installation/database/install/.oui: syntax error at line 1: `|’ unexpected
I have been looking at the Solaris OS and DB 11gr2 compatibility. The solaris OS that I have used (and being used in this post) is sol-10-u9-ga-x86-dvd – a 32 bit OS.
However, the 11gr2 DB packages i.e. “solaris.x64_11gR2_database_1of2 and solaris.x64_11gR2_database_2of2″ are compatible with x86-64.
Is this what is creating a problem? Pl advice.
Also, pl let me know your system configuration because I have using Intel i5 core vpro 150M which I believe is not a x86-64 processor.
Awaiting your response.
Regards,
Nikhil.
September 16th, 2011 at 7:10 pm
Hi Nikhil
You try to install 64 bit Oracle on 32 bit OS, which is not supported. Please download correct soft and install it. You should succeed
September 16th, 2011 at 7:11 pm
Hi Vivek
Have you tried to set it as it described in this post?
September 16th, 2011 at 7:13 pm
Hi Vivek
Patch installation guide is writte README file inside the patchset. Just read and follow the steps. It’s very simple
September 23rd, 2011 at 4:14 am
Hello Kamran,
I’ve been following your steps installing Oracle 11g R2 on solaris 10.
Everything’s been working well until i changed directory to database and executed the $ ./runInstaller command
-bash-3.00$ cd database
-bash-3.00$ ls
doc response runInstaller stage
install rpm sshsetup welcome.html
-bash-3.00$ ./runInstaller
/export/home/oracle/installation/database/install/.oui: syntax error at line 1: `|’ unexpected
Here’s my OS version
“Sun Microsystems Inc. SunOS 5.10 Generic January 2005″
Is it compatible with 11g R2 or i need later Solaris OS.
Regards
Laitan
October 11th, 2011 at 12:45 am
Excelent! this information!, for this intalllation!!!, Txnss!!!
October 20th, 2011 at 10:38 am
[...] 4. Step by Step installing Oracle 11g R2 on Oracle Solaris 10 [...]
November 14th, 2011 at 2:50 pm
hi kamran,
oracle 11g r2 installation check fails at 3 packages because of
libaio-develop-0.3.106
unixODBC-2.211
unixODBC-devel 2.2.11
packages not installed.
to overcome this we will install rpms from os cd.
my question is instead of installing this three rpms later, con’t we install at the time of os installation only.
Please let me know. I hope this comment will answer.
Thanks a lot.
November 15th, 2011 at 5:53 am
It’s not possible to install *all* packages directly from the installation, they should be installed after the installation
December 2nd, 2011 at 10:46 pm
Thanks for this. Saved me a huge amount of time.
December 3rd, 2011 at 3:50 am
HI Kamran Agayev
I got the following error when i was executing ./runInstaller file in installion Oracle 11gr2 on Solaris 10 x86 on Intel Machine.
/install/.oui: syntax error at line 1: `|’ unexpected
could you please suggest me to solve the error.
December 6th, 2011 at 2:43 pm
Hi, I follow your manual installation, everything is ok, but when I tried to start Oracle this error is displaying:
bash-3.00$ export ORACLE_SID=orcl
bash-3.00$ sqlplus /as sysdba
bash:sqlplus: command not found
Could you help me with this please?
Regards
December 6th, 2011 at 2:58 pm
Just make sure you’ve set PATH variable correctly
export PATH=$ORACLE_HOME/bin:$PATH
And make sure you’ve already set ORACLE_HOME environment variable
December 9th, 2011 at 6:38 am
It seems you use 64bit installation on 32bit OS or vice verse
December 13th, 2011 at 4:20 pm
Thank you for your answer, I export environments variables and work ok, but when I shutdown my machine and start again, trying to start SQLPlus but I cannot.
This message is displaying: “Connected to an idle instance.”
and when I try to execute some query and error display.
Please can you help me?
December 27th, 2011 at 5:34 pm
Hello Kamran,
Excellent blog, helped me a lot in standalone installation. Do you have same kind of document for RAC installation also in 2-nodes SPARC system environment?
All the help will be highly appreciated.
Thanks!!!
-
Regards
SS
January 11th, 2012 at 7:22 pm
Hi
Really very helpful
Note: please specify the kernel parameter lillte clear
Thanks
satya
February 9th, 2012 at 2:07 pm
Hi
what is the minimum solaris release needed for Oracle 11g to be installed.
I am trying to install oracle on following release, but its failing.
Solaris 10 6/06 s10s_u2wos_09a SPARC
February 12th, 2012 at 4:22 pm
Check the following link:
http://docs.oracle.com/cd/E11882_01/install.112/e24346/pre_install.htm#BABFDGHJ
February 19th, 2012 at 12:36 pm
Dear Kamran,
Thankyou for your valuable information, I could not be able to successfully installed oracle on Solaris but it was done on linux.
The file I have downloade from edelivery.oracle.com as below for 11gr2 installation on Solaris
Operating System – Oracle Solaris 10 8/11 Operating System, Multi-Language, (x64/x86)
Database – Oracle Database 11g Release 2 (11.2.0.1.0) for Solaris Operating System (x86-64) (Part 1 of 2)
- Oracle Database 11g Release 2 (11.2.0.1.0) for Solaris Operating System (x86-64) (Part 2 of 2)
I followed your given step to install 11gr2 on Solaris 10, the installation is going smooth till 95% of installation progress but suddenly I got error says “INS:20802 Oracle Net Configuration Assistant Failed” and when I clicked on detail button it was mention “Cause : The plug-in failed in its perform method” and “Action : Refer to the logs”.
I checked the log and it was as below
INFO: Oracle Net Services Configuration:
INFO: # An unexpected error has been detected by HotSpot Virtual Machine:
INFO: # SIGSEGV (0xb) at pc=0xfffffd7fe8018ff9, pid=3704, tid=1
INFO: # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_17-b03 mixed mode)
…….
Your kind assistant is required, I tried more than 10 time but still have same problem.
Thank & regards
Shahid
February 20th, 2012 at 10:39 pm
It seems an unexpected error of the Virtual Machine. I also got it several times, and I do hope you need to start the installation again and see what happens
March 6th, 2012 at 6:35 am
Hi Kamran,
Thanks a ton.. You have done a great job. i had exact similar situation with solaris 10 VM on MAC. I followed your instructions and successfully installed oracle.
Thanks
Jeet !!
March 6th, 2012 at 6:37 am
Thanks for the feedback Jeet! It’s nice to hear my articles are helpful
Keep visiting my blog!