Sie sind auf Seite 1von 68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Emmanuel'sBlog
AnOracledatabaseblog
Home
Home
AboutMe
Typetexttosearchhere...

Home>Database11g,InstallationGuides>InstallingOracleDatabase11gR2onOracleLinux6.3with
ASM(ENG)

InstallingOracleDatabase11gR2onOracleLinux6.3with
ASM(ENG)
August10,2012EmmanuelLeaveacommentGotocomments
Onthispost,iamgoingtoshowyouhowtoinstallasingleinstanceOracleDatabase11grelease2withASM
usingOracleEnterpriseLinux6x86_64androleseparation.
Inordertosetuptheenvironmentyouwillneed:
TheOracleDatabase11gSoftware(11.2.0.3).LINK
TheOracleGridInfrastructure11gSoftware(11.2.0.3).LINK
TheOracleLinux6.3x86_64installationCD/ISO.LINK
AVirtualMachine/Serverwithx86_64support
Note:YouwillneedyourOTNlogininordertodownloadtheproducts.Ifyoudonthaveone,goaheadand
register.
IamgoingtouseOracleVirtualBoxtosetupthelab.HerearethedetailsfortheVM.
Name:oralab1
RAM:3.5GB
Hostname:oralab1.localdomain
Ip:192.168.10.151/255.255.255.0gw192.168.10.1
Nics:1bridgedadapter
Disks:1*54GB,3*9GB
Wearegoingtomaketheinstallationinthefollowingorder.
1. InstallingandconfiguringtheOperatingsystem.
2. InstallingOracleGridInfrastructureandASM.
3. InstallingtheDatabaseSoftwareandcreatingtheDatabase.
LetsBegin
PARTIInstallingandconfiguringOracleEnterpriseLinux6x86_64
OnceyoucreateyourVM/ServeranddownloadedyourLinuxmedia,bootyourVM/Servertobeginthe
installation.
https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

1/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Oncetheanacondainstallerloadsup,clicknexttobegin

Follow

Follow
Emmanuel's
Blog
Get every new post delivered
to your Inbox.
Join 129 other followers
Enteryouremailaddress

Signmeup
Build a website with WordPress.com

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

2/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Selectyourpreferredlanguageandkeyboard

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

3/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Selectyourtypeforstorageandcontinue

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

4/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

5/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Setupyourhostnameandnetworkinterfacesandcontinue

Chooseyourtimezone

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

6/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Chooseyourrootpassword

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

7/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Selectyourtypeofinstallationandcontinue.

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

8/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Nextyouwillbepromptedtochoosewhichtypeofserverinstallationyouwant.HereIprefertoselectacustom
installationtoselectonlythepackagesthatineed.

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

9/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Inthenextscreenselectalltherequiredpackagesthatyouneed,atleastinclude:
DesktopEnvironment
XServer
Administrationtools
Oracle11gPreinstallpackageandtheAsmLibdriver

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

10/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Onceyouredonewiththepackages,clicknexttobegintheinstallation

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

11/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

12/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Clickreboottofinish

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

13/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Whentheoperatingsystemreboots,youwillneedtocompletethesetupasfollows

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

14/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

15/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

16/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Youcouldcreatethegriduserhere.Iprefertodoitlater,clickForwardtocontinue

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

17/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Selectyourtimetocontinue

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

18/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

ClickFinnish

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

19/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Nowyouwillneedtologinusingtherootuser.ThisisbecausetheoracleusercreatedbytheOraclePreinstall
packagedoesnothavepassword.Logonandsetitup

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

20/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

21/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Disablethefirewall.GogoSystem/Administration/Firewall

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

22/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Dependingonyourenvironmentedityournetworkinterfaceasfollows.

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

23/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

24/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Edityourhostsfilehostsfilewithyourhostnameandip.

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

25/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Reloadyournetworkasfollows

Installyourvirtualboxguestadditions.ThiswillnotbenecessaryifyoureonaphysicalserverorVmWare.

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

26/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Createthenecessarydirectoriesandthegriduser.

Setthenecessarypermissions

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

27/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Editthefile/home/grid/.bash_profileandaddthefollowinglinestosetupthegriduserenvironment

Editthefile/home/oracle/.bash_profileandaddthefollowinglinestosetuptheoracleuserenvironment

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

28/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

ShutdownyoursystemandaddthenecessarydiskstobeusedasASMdisks.InthiscaseIllcreated3disks

StartupyousystemandconfigureyouASMdriverastherootuser

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

29/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Checkifyourdisksareavailable

Itstimetosetupthedisks.Asyousawinthepreviousscreenshot,ihavethreeadditionaldisksnamed
(/dev/sdb,/dev/sdc,/dev/sdd)weneedtopartitioneachdisksinordertomakethemavailableforASM.We
willusefdisktopartitionthem,hereistheorderyoullhavetofollow.
1. fdisk/dev/sdb
2. n,p,1,1,w
3. fdisk/dev/sdc
4. n,p,1,1,w
5. fdisk/dev/sdd
https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

30/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

6. n,p,1,1,w
Hereishowitlookslike:

Letscheckagainourdisks.Youwillnoticethat3moredevicesappear,thosearethepartitionwecreated.

NextletsdisableSELinuxasfollowsvi/etc/selinux/config
https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

31/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

CreateyourASMdisksasfollows
oracleamcreatediskDISK1/dev/sdb1
oracleamcreatediskDISK2/dev/sdc1
oracleamcreatediskDISK3/dev/sdd1

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

32/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Atthispointwewillhaveourserverreadyforthegridinfrastructureinstallation.
PARTIIInstallingOracleGridInfrastructure11.2.0.3andASM
Inthisinstallationwewilluseroleseparationofdutieswewillproceedasthegriduserwhosgoingtobethe
GRID_HOMEowner
Ifyouhavedownloadedallthefilesrequired,unzipthefilep10404530_112030_Linuxx8664_3of7.zipas
follows

Afterunzippingthefile,youwillhaveafoldercalledgrid.Starttheinstallerwith./runInstaler

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

33/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Skipthesoftwareupdates

Selecttheoptionforastandaloneserverasshowninthepicture

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

34/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Selectyoulanguages

CreateonediskgroupcalledDATAwithdisks(DISK1,DISK2)withexternalredundancyashown.

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

35/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Specifyapasswordforsysandasmsnmpaccounts

Leavethedefaultgroupsandcontinue

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

36/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

ChoosethepathstodeORACLE_BASEandORACLE_HOME

Note:11.0.3inthepath,shouldbe11.2.3ifyoufollowOFAoryoucanchoosewhateveryouwantinyour
ORACLE_HOMEpath
Specifyforinventory

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

37/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Nexttheinstallerwillperformacheckonyourserverasshown

Iftheinstallerfindsthatsomethingisnotrightwithyourserver,itwilltellyoutorunsomefixupscripts.Run
https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

38/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

themasrootuntilyourgood

Oncereadycontinuewiththeinstallation

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

39/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Duringtheinstallationyouwillpromptedtoruntwoscriptsarootuser,runthemtocontinue

Aftertheinstallationendsclickclosetofinnish
https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

40/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Toverifytheinstallationjustexecutethecommandcrsctlstatusresourcetasgriduser

Andwithsqlplus

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

41/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

AtthispointwehaveourOracleRestartandASMinplace.
PARTIIIInstallingtheDatabaseSoftwareandcreatingtheDatabase
Nowwearegoingtoinstallthedatabasesoftwareastheoracleuser.Unzipallthefilesrequiredasfollows
unzipp10404530_112030_Linuxx8664_1of7.zip
unzipp10404530_112030_Linuxx8664_2of7.zip

Youllhaveafoldercalleddatabaseletsgetinsideandejecutetheoracleinstallerwith./runInstaller

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

42/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

IfyouhavetoyOracleSupportcredencialsputtheminplaceandcontinue.

SkipSofwareupdatesifyouwantandcontinue

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

43/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Selectinstallsoftwareonlyandcontinue

SelectSingleinstanceDatabaseinstallationandcontinue

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

44/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Selectyourlanguageandcontinue

SelectenterpriseEditionortheoneyoupreferandcontinue
https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

45/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

ChooseyourORACLE_BASEandORACLE_HOME

Reviewyourinstallationandclickinstalltoproceed
https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

46/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Astheinstallationgoeson,youwillneedtoexecuteascriptastherootuser

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

47/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Attheendoftheinstallationyouwillseesomethinglikethis.

Nowletscreateourdatabasewithdbca.Astheoracleuserexecutethedbca
https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

48/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Selectcreateadatabase

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

49/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Selectyourtemplate,thistimeweregoingtoselectgeneralpurpose

WriteyourGlobaldatabasenameandsid

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

50/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Choosetoconfiguretheenterprisemanager

Writeinthepasswordsfortheadministrativeusers

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

51/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Choosethestorageforyourdatabase.SelectASMandwritethenameofyourdiskgroup.

Specifyyourasmcredentials

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

52/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

ChoosetoenableornotarchivingandtheFRAforyoudatabase.Thistimewearenotgoingtosetitup.NOT
RECOMMENDEDINPRODUCCTIONSYSTEM.

Adjustyourmemorysettingsasyouwantorleavethedefaults
https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

53/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Nextreviewyourdatabasestorage.Youdontreallyneedyomodifyanythinghere.

OnthesummaryscreenclickOKtobeginthecreationofthedatabase

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

54/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

55/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Attheendyouwillseeasummaryofthedatabaseyoujustcreated

Letsverify

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

56/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

57/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Done!WenowhaveafullyfunctionalsingledatabaseinstanceusingASMforstorageoverOracleLinux6.
GoodLuck!
Emmanuel
About these ads

Sharethis:

Twitter

Facebook

Like
Onebloggerlikesthis.

Related

InstallingOracle11gR2(11.2.0)on
OracleLinux5.4(ENG)
In"Database11g"

InstallingOracleRAC10gR2on
OracleLinux5.6x86_64using
VirtualBox(ENG)
In"Database10g"

MovinganOracledatabasefrom
filesystemtoASM(ENG)
In"Database11g"

Categories:Database11g,InstallationGuidesTags:ASM,oracledatabase11g
https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

58/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Comments(30)Trackbacks(0)LeaveacommentTrackback
1.
p3p3
September10,2012at7:13am
Reply
TheOracleDatabase11gSoftware(11.2.0.3)isntfree,youwillneedthesupportlicensetodownload.

Emmanuel
September10,2012at11:02am
Reply
Youareright.Ifyoudonthaveasupportlicenceyoucanusethe11.2.0.1(2)
2.
PierreBoizot
October25,2012at8:29am
Reply
HiEmmanuel,
Whydonthaveusedasmlib?
withthediscoveringpathORCL:*
Pierre

Emmanuel
October25,2012at11:57am
Reply
HiPierre,
Youcanuseorcl:*inthediscoverypathaswell.IjustliketousethedefaultpathwhereASMLIB
createthedisks.
Regards.
3.
PierreBoizot
October25,2012at8:30am
Reply
HaveyoutrytouseADVM/ACFS?
Pierre

Emmanuel
October25,2012at12:05pm
https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

59/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Reply
Yes,
Inordertoprepareforthe1z0058youmusthaveagoodunderstandingofADVMandACFS.By
theway,imworkinginatutorialtomakeacoldfailoversingleinstancedatabase.Wellmakeuse
ofsomeofthat.
Regards.
4.
dinggafatihbahteradp
February28,2013at12:19am
Reply
Hiemmanuel,
IvefinishedistalledASM(11.2.0.3),butwhenItriedinstallingoracledatabase,Icantinstalltheoracle
database11gR2,hereistheoutput:
===========
[oracle@bahteralab~]$cddatabase/
[oracle@bahteralabdatabase]$./runInstaller
Youdonothavesufficientpermissionstoaccesstheinventory/u01/app/oraInventory.Installation
cannotcontinue.Itisrequiredthattheprimarygroupoftheinstalluserissameastheinventoryowner
group.Makesurethattheinstalluserispartoftheinventoryownergroupandrestarttheinstaller.:
Permissiondenied
[oracle@bahteralabdatabase]$
=========
anyimpacttoASMifIchangetheowner/u01/app/oraInventoryfromtoownergridtobeowneroracle?
Ineedyourhelptoresolvethiserror.
ManyThanks,

Emmanuel
February28,2013at4:41pm
Reply
HiDingga
Changingtheowneroftheinventorywillnotcauseanyproblemstotheexistinginstallation.you
coulddoitwithchownoracle:oinstall.Beforedoingthatmakesurethatoracleispartofthe
dba/oinstallgroup.Itsstrangethatyouarefacingthatissueifyouchangedtheownershipto
grid:oinstallwheninstallingtheclusterware.
Regards.

dingga
March1,2013at4:12am
HiEmmanuel,
https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

60/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

TheproblemhasbeensolvedafterIexecutedthecommandusermodgoinstallG
dba,asmdba,operoracle.
Installationoracledatabase11ghasbeenfinished.
butIfoundthenewissueafterIexecutecommand
createSPFILEfromPFILE,belowistheoutput:
====
SQL>createSPFILEfromPFILE=/u01/app/oracle/product/11.0.3/db1/dbs/init.ora'
Filecreated.
SQL>startupnomount
ORA48108:invalidvaluegivenforthediagnostic_destinit.oraparameter
ORA48140:thespecifiedADRBasedirectorydoesnotexist
[/u01/app/oracle/product/11.0.3/db1/dbs/]
ORA48187:specifieddirectorydoesnotexist
Linuxx86_64Error:2:Nosuchfileordirectory
Additionalinformation:1
==========
couldyoupleasehelpmetoresolvetheissue?
Thanks.
5.
dingga
March1,2013at4:57am
Reply
HiEmmanuel,
Theissuestartuphasbeensolved,butIcantcreatethedatabase,
========================
SQL>oracle@bahteralab~]$sqlplus/assysdba
SQL*Plus:Release11.2.0.3.0ProductiononFriMar115:54:052013
Copyright(c)1982,2011,Oracle.Allrightsreserved.
Connectedto:
OracleDatabase11gEnterpriseEditionRelease11.2.0.3.064bitProduction
WiththePartitioning,OLAP,DataMiningandRealApplicationTestingoptions
SQL>startupnomount
ORACLEinstancestarted.
TotalSystemGlobalArea567869440bytes
FixedSize2230392bytes
VariableSize171968392bytes
DatabaseBuffers390070272bytes
RedoBuffers3600384bytes
SQL>
SQL>CREATEDATABASEorcl
CREATEDATABASEorcl
*
https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

61/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

ERRORatline1:
ORA01501:CREATEDATABASEfailed
ORA00200:controlfilecouldnotbecreated
ORA00202:controlfile:+DATA/orcl/controlfile/current.260.808585161
ORA17502:ksfdcre:4Failedtocreatefile
+DATA/orcl/controlfile/current.260.808585161
ORA15046:ASMfilename+DATA/orcl/controlfile/current.260.808585161isnot
insinglefilecreationform
SQL>
===========
couldyoupleasehelpme?
Thanks,

Emmanuel
March1,2013at7:33am
Reply
Hi
Youcouldbemissingsomethinginthecreatedatabasecommand.Whydontyouusedbcatocreate
dedatabase.?
6.
Formiga
March11,2013at8:20am
Reply
Hi.
Verygoodthispost.
Oneimportantquestion:IneedGRIDCONTROL.ButyouareshowingDATABASECONTROL.Butin
PARTIIInstallingOracleGridInfrastructure11.2.0.3andASM,youtalkaboutGRID.Idonealllisted
here.But,attheend,IhaveDATABASECONTROLrunning.HowtochangethistoGRIDCONTROL
?
Thanks.
Formiga

Emmanuel
March11,2013at1:31pm
Reply
OracleGridControlisadifferentproductthatneedstobeinstalledonitsown.Itiseasetoconfuse
itwithdatabasecontrolbecausetheinterfaceisverysimilar(versions10g&11g)butisnotthe
samething.
Youshouldcheckitouthere:http://www.oracle.com/technetwork/oem/grid
control/downloads/index.html
DBAsusuallycallGRID,CRSandClusterwaretotheASM+Clusterwarecomponentofthe
https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

62/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

databaseserver.Anotherthingcommonistocreateagridusertobetheownerofthosecomponents
aswell.
Regards.
7.
Emmanuel
June13,2013at6:50pm
Reply
Thatseemstobesomemissingpackages.Didyouinstalledtheoraclepreinstallpackageasshowninthe
tutorial?

Dev
June13,2013at11:26pm
Reply
ImissedthatstepsinceihadalreadyinstalledtheOSandwaslookingfordocumenttoinstallASM
andfoundyourforumandstartedinstallingdirectly.Canweinstallthepackagenow?Whatisthe
exactnameofpackage

Emmanuel
June14,2013at10:47am
Thenameis:oraclerdbmsserver11gR2preinstall
youcouldfindmoreinfo:http://www.oracle.com/technetwork/articles/serversstorage
admin/ginnydbinstallonlinux61845247.html

dev
June17,2013at3:44pm
HIEmmanuel
Iinstalledthepackagereferredbyyoubutstilliseethesameerror.Couldyoupleaseletme
knowwhattodonext.
8.
Dev
June13,2013at10:57pm
Reply
HiEmmanuel
Thanksforthedetaileddocument.Itisveryhelpful.
Iamstuckatapointwhileinstallingdatabase.WheniselectthestoragetypeasASMandenterthedisk
nameas+DATAandhitnextitgivingmeanerrorasbelow.
cannotuseASMfordatabasestorageduetofollowingreason:couldnotconnecttoasmduetofollowing
errorora01031:insufficientprivilege.
https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

63/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Couldyoupleasehelpmeoutofthis.

Emmanuel
June14,2013at10:45am
Reply
DidyouinstalledASMwithanotheruser?

dev
June17,2013at3:43pm
HIEmmanuel
Sorryforthelatereply.
IInstalledGRIDandASMi.e.PARTIIintheabovestepsasgriduserandtheoracle
softwareasoracleuser.
9.
Dev
June13,2013at11:15pm
Reply
ImissedthatstepsinceihadalreadyinstalledtheOSandwaslookingfordocumenttoinstallASMand
foundyourforumandstartedinstallingdirectly.Canweinstallthepackagenow?Whatistheexactname
ofpackage
10.
lonelymoon
June14,2013at7:28pm
Reply
Hi,
Yesihavealreadyinstallitandstillgetthesameerror

pleasecanyoutesttheinstallationwithoracle6.4toseetheerrorthatiget?
pleaseireallyneedyourhelp

Emmanuel
June14,2013at7:40pm
Reply
Itshouldinstallprettywellifyoufollowthestepsfromthebeginning.Ibelievetherearemayor
changesin6.3.Illtryit.Andletyouknow.
11.
lonelymoon
https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

64/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

June14,2013at8:55pm
Reply
Thankyousomuchforyourtimeillbeveryhappyifitworksforme
Please,notealsothecustomespackagesthatyouwillchoosewheninstallingoracle6.4.assoilldothe
somestepslikeyou.
Thankyou(andsorryformyenglish

Emmanuel
June15,2013at12:45am
Reply
Honestly,Ididnotunderstand.DoyoumeanIfIknowthatpackagename?
12.
lonelymoon
June15,2013at2:02am
Reply
sorrywhatimeanthatswhenullinstalloracle6.,letmeknowwhatexactlyyougonnachoosein
costumespackageinordertodolikeyou
13.
RobSandier
June26,2013at11:35am
Reply
HelloEmmanuel,
First,thankyouforcreatingsuchafineandveryhelpfulblog.ThisistrulyaGodsendforpeoplelikemy
wifeandmyselfwhoareOraclenewbiesandwonderinghowtogetstarted.Wearebothenrolledin
Oracleclassroomtaughtclassesandareworkingourwaythroughthisandrecognizedearlyonthatthe
onlywaywearegoingtotrulybeabletolearnOracledbandgetcertifiedsothatwecanworkinthefield
istoinstalloracleonahomePCsothatwecanworkallofthelabsandclassroomexercises.Idohavea
coupleofquestionsthatIamhopingyoucanhelpmewith.Yousaidupaboveatthebeginning:
Inordertosetuptheenvironmentyouwillneed:
TheOracleDatabase11gSoftware(11.2.0.3).LINK
TheOracleGridInfrastructure11gSoftware(11.2.0.3).LINK
TheOracleLinux6.3x86_64installationCD/ISO.LINK
AVirtualMachine/Serverwithx86_64support
Wedonothaveavirtualmachine.Instead,weboughtanewPCandweplanoninstallingOracleLinux
6.4onit.Myquestionisthis:Willwebeabletodothis(installOraclelinux6.4onanewPCusingthe
guidelinesyououtlineforversion6.3?)ThankyousomuchforreadingthisandIdolookforwardtoyour
reply!
Rob
https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

65/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

Emmanuel
June26,2013at12:24pm
Reply
Yesyoucan.Justfollowthesamestepsandavoidthepartofcreatingthevm.Rememberthatavm
isjustlikeapcorserverbutwithvirtualhardware.
14.
wxsia
October23,2013at3:34pm
Reply
millionthanks&appreciateforsharingsuchagoodarticle/tutorial=)
15.
moreinfo
March9,2014at11:35pm
Reply
UsuallyIdonotlearnafticleonblogs,butIwouldliketosaythatthiswriteupverypressuredmeto
tryanddooso!Yourwritingstylehasbeensurprisedme.
Thanks,quitenicearticle.
1. Notrackbacksyet.

LeaveaReply
Enteryourcommenthere...

MovinganOracledatabasefromfilesystemtoASM(ENG)HowtoresolveError1418SqlServer2005database
mirroring(ENG)
RSSfeed

RecentPosts
ThetwelveDBAruleofthumb.
OaktableWorld2013
https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

66/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

11.2.0.4patchset
BecomingOCM
Oracledatabase12cOCPUpgradeExamTopics

Categories
Certification(5)
Database10g(1)
Database11g(9)
Database9i(1)
Dataguard(1)
InstallationGuides(5)
Linux(9)
RAC(3)
SqlServer(1)
Uncategorized(3)
VirtualBox(1)
VMware(1)

ASMCertificationDatabaseupgradeDataguardError1418LinuxOracleDatabaseoracledatabase10g

oracledatabase11gOracledatabase12c

OracleRACOWW13SolarisSuseLinux

OracleLinuxOracleMMA

VirtualBoxVMwareWebcast

Archives
February2014
October2013
August2013
July2013
June2013
March2013
February2013
October2012
September2012
August2012
July2012
February2012
August2012
M T W T F S S

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
Jul
Sep
Enteryouremailaddress
FollowThisBlog
https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

67/68

6/6/2015

InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

BlogStats
68,978hits
Top
BlogatWordPress.com.TheINoveTheme.

https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/

68/68

Das könnte Ihnen auch gefallen