Anda di halaman 1dari 41

Kamran Agayev's Oracle Blog

Kamran Agayev's Oracle Blog


Home Step by Step Oracle guides Oracle VIDEO Tutorials My Oracle e-books Exclusive Interviews with Top Oracle Experts About me My Photos

Oracle ACE, 9i/10g OCP

My Social Networks

Subscribe to receive new blogposts

Your email:
Enter email address...

Counter

Calendar
March 2011 M T W T F S S Feb Apr 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Blogroll
o o o o o o o o o o

Alex Nuijtens Blog All Oracle Blogs Aman Sharmas Oracle Blog Arjus Oracle Blog Ask Anantha AskTom Christian Antogninis Oracle Blog Coskans Oracle Blog Dion Chos Oracle Blog Documentation

o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o

Hemants Blog Joel Goodmans Oracle Blog Laurent Schneider OCP Advisors Blog Oracle by Madrid Oracle Forum Plugins Richard Footes Oracle Blog Rob Van Wijks Blog Sami Maliks Blog Stan Repettas Blog Suggest Ideas Support Forum Surachart Opuns Blog Syed Jaffar Hussain Teymur Hajiyevs Oracle blog Themes Tonguc Yilmazs Blog Turkish Oracle Forum Uwe Hesse WordPress Blog WordPress Planet Zekeriye Besiroqlus Blog Administration DBA scripts Expert Interviews Interview questions My abstracts from Documentation 10gR2 Oracle on Linux Oracle Utilities Qafqaz University RAC issues RMAN Backup and Recovery SQL and PL/SQL Uncategorized Video Tutorials March 2012 (1) February 2012 (5) January 2012 (3) October 2011 (4) September 2011 (5) July 2011 (3) June 2011 (3)

Categories

Archive

o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o

May 2011 (1) April 2011 (4) March 2011 (7) February 2011 (2) January 2011 (3) December 2010 (2) November 2010 (1) October 2010 (2) September 2010 (2) August 2010 (3) July 2010 (1) June 2010 (4) May 2010 (2) April 2010 (5) March 2010 (4) February 2010 (1) December 2009 (2) November 2009 (10) October 2009 (4) September 2009 (5) August 2009 (3) July 2009 (6) June 2009 (5) May 2009 (2) April 2009 (2) March 2009 (1) February 2009 (3) January 2009 (1) December 2008 (8) November 2008 (2)

Meta
o o o

Log in Entries (RSS) Comments (RSS)

Subscribe

Kamran Agayev A.

My Book Expert secrets for using RMAN and Data Pump

My ebook

TROUG

Ink & Toner Cartridges

Recent Posts
o o o o o o o o o o

RMAN-06172: no autobackup found or specified handle is not a valid copy or piece Exclusive Interview with Kai Yu Getting ORA-00959: tablespace TBS01 does not exist during Data Pump import NOT IN with NULL values Regsiter for BIG Data online Forum Login operation failed in Grid Control Finding the folder that consumes more space in Linux OS My presentation at Oracle OpenWorld 2011 San Francisco Oracle Flashback Technologies VIDEO Tutorial Dumping an Oracle data block, reading the output and doing some math New blog post : RMAN-06172: no autobackup found or specified handle is not a valid copy or piece http://t.co/v1BgneM7http://t.co/cAQZkwuu 3 weeks ago My Exclusive Interview with Kai Yu http://t.co/L3BiCQCJ 1 month ago Login operation failed in Grid Control http://t.co/7Xkrb6La 1 month ago You can download my OpenWorld-2011 presentation files (including video tutorials) http://t.co/01k9a7ll 2 months ago Part of my speech at Oracle OpenWorld 2011 - San Francisco http://t.co/oa1DtseP 2 months ago

Twitter Updates
o o o o o

Step by Step installing Oracle 11g R2 on OEL 5.5 TNS-04612: Null RHS for while creating a database using dbca

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 Im 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-oraclesolaris/ After installing the Solaris, login with root user. As a first step lets 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. 1cd vmware-tools-distrib 2./vmware-install.pl After the installation completes, logout from the root user and login again Now, lets check the installed OS packages that are required for the Oracle installation. For this, run the following command: 1SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt
pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibC SUNWlibms SUNWsprot SUNWtoo

You should miss two packages 1) SUNWi1cs 2) SUNWi15cs

To install them, mount the Solaris installation dvd and run the following command: 1pkgadd -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 1groupadd oinstall 2groupadd dba 3useradd -g oinstall -G dba -d /export/home/oracle -s /usr/bin/bash oracle 4passwd oracle 2) Create necessary folder for the installation 1mkdir -p /u01/app/oracle/product/11.2.0.2/db_1 2mkdir -p /export/home/oracle/tmp 1chown -R oracle:oinstall /export/home/oracle 3) Change kernel parameters 1 projadd -U oracle -K "project.max-shm-memory=(priv,4g,deny)" oracle 2projmod -sK "project.max-sem-nsems=(priv,256,deny)" oracle 3projmod -sK "project.max-sem-ids=(priv,100,deny)" oracle 4projmod -sK "project.max-shm-ids=(priv,100,deny)" oracle 5echo "set maxuprc=16384" >> /etc/system "set max_nprocs=30000" >> /etc/system 6echo echo "set shmsys:shminfo_shmmax=4294967295" >> /etc/system 7

Now reboot the machine and login with an oracle user. Lets create a new swap file with 1Gb size, as its required for the Oracle installation 1mkfile 2048m /export/home/oracle/orcl_swap 2swap -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
ORACLE_BASE=/u01/app/oracle/ 1export export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1 2export PATH=$ORACLE_HOME/bin:$PATH

3export TMP=/export/home/oracle/tmp 4export TMPDIR=/export/home/oracle/tmp export DISPLAY=:0.0 5 6

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 1unzip your_file1.zip 2 3unzip your_file2.zip

4 5cd database 6 7./runInstaller

Uncheck the checkbox and click next. If you cant 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 youll 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, youll get success message

Now lets connect to the database from Sql*Plus

This entry was posted on Sunday, March 27th, 2011 at 1:05 am and is filed under Administration. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

43 Responses to Step by Step installing Oracle 11g R2 on Oracle Solaris 10


1. Bakhtiyar Says:
April 1st, 2011 at 4:06 am

Hi.I want install Oracle 11g on solaris 10 but I dont 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 2. Kamran Agayev A. Says:
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! 3. Aydin Says:
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 4. nagarjuna reddy Says:
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 roots .bash_profile file. please clarify my boubt. Thanks and Regards, Nagarjuna Reddy 5. Kamran Agayev A. Says:
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 6. amod Says:
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 7. Kamran Agayev A. Says:
June 7th, 2011 at 5:38 pm

Dear Amod Id suggest you to start reading Oracle documentation from http://tahiti.oracle.com 8. Stan Kate Says:
June 17th, 2011 at 7:40 am

File not found /export/home/oracle/product/11.2.0/db_1/owb/external/oc4j_applications/applications/W FMLRSVCApp.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 9. Kamran Agayev A. Says:
June 17th, 2011 at 4:49 pm

Dear Stan, you got the error because youve 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] 10. Olu Says:
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? 11. Kamran Agayev A. Says:
July 11th, 2011 at 9:31 am

Dear Olu You can download and unzip the oracle installation to any directory in your system. 12. olu Says:
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. 13. Long Says:
August 4th, 2011 at 2:17 pm

hi Kamran, I cant connect to sql plus by using connect /as sysdba the system keep asking me username & password. What should i fill in? Thanks much Long

14. Kamran Agayev A. Says:


August 11th, 2011 at 2:49 pm

Dear Long Please post the output and error you get 15. Pravin Says:
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 whats value should be? Thank you in advance. Pravin 16. John Says:
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 17. vivek Says:
September 4th, 2011 at 3:30 pm

Hi Kamran, Am not sure abt others but for me its 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) etcplease let me know how to install those patches.waiting for ur reply. 18. vivek Says:
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-0416PM. 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 19. Khan Says:
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!! 20. Kamran Agayev A. Says:
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#BA BFEECI 21. Nikhil Says:
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. 22. Kamran Agayev A. Says:
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 23. Kamran Agayev A. Says:
September 16th, 2011 at 7:11 pm

Hi Vivek Have you tried to set it as it described in this post? 24. Kamran Agayev A. Says:
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. Its very simple 25. Laitan Akinya Says:
September 23rd, 2011 at 4:14 am

Hello Kamran, Ive been following your steps installing Oracle 11g R2 on solaris 10.

Everythings 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 Heres 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 26. Mauricio Lopez Says:
October 11th, 2011 at 12:45 am

Excelent! this information!, for this intalllation!!!, Txnss!!! 27. Kamran Agayev's Oracle Blog Blog Archive Step by Step Oracle installation All in One e-book Says:
October 20th, 2011 at 10:38 am

[...] 4. Step by Step installing Oracle 11g R2 on Oracle Solaris 10 [...] 28. venkat Says:
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, cont we install at the time of os installation only. Please let me know. I hope this comment will answer. Thanks a lot. 29. Kamran Agayev A. Says:
November 15th, 2011 at 5:53 am

Its not possible to install *all* packages directly from the installation, they should be installed after the installation 30. Tom Says:
December 2nd, 2011 at 10:46 pm

Thanks for this. Saved me a huge amount of time. 31. Phani Says:
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. 32. Cami Says:
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 33. Kamran Agayev A. Says:
December 6th, 2011 at 2:58 pm

Just make sure youve set PATH variable correctly export PATH=$ORACLE_HOME/bin:$PATH And make sure youve already set ORACLE_HOME environment variable 34. Kamran Agayev A. Says:
December 9th, 2011 at 6:38 am

It seems you use 64bit installation on 32bit OS or vice verse 35. Cami Says:
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? 36. Sarabjeet Singh Says:
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 37. satya Says:
January 11th, 2012 at 7:22 pm

Hi Really very helpful Note: please specify the kernel parameter lillte clear Thanks satya

38. Imran Says:


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 39. Kamran Agayev A. Says:
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 40. Shahid Khan Says:


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 41. Kamran Agayev A. Says:


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 42. Jeet Says:
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 !! 43. Kamran Agayev A. Says:
March 6th, 2012 at 6:37 am

Thanks for the feedback Jeet! Its nice to hear my articles are helpful Keep visiting my blog!

Leave a Reply
Name (required)

Mail (will not be published) (required)

Website XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of follow-up comments by email. Notify me of new posts by email. Step by Step installing Oracle 11g R2 on OEL 5.5 TNS-04612: Null RHS for while creating a database using dbca Kamran Agayev's Oracle Blog is powered by WordPress | Design by Andreas Viklund | Ported by Ainslie

Anda mungkin juga menyukai