[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Oralce 11gR2 RAC Grid installation - root.sh failed Configuration of ASM failed

Posted on 2010-08-19
4
Medium Priority
?
3,224 Views
Last Modified: 2013-12-05
Hi guys,

I'm in the middle of 11gR2 RAC Grid installation and it failed at root.sh, these are last lines from the log file:

2010-08-19 13:24:41: Start of resource "ora.ctssd -init" Succeeded
2010-08-19 13:24:41: Configuring ASM via ASMCA
2010-08-19 13:24:41: Executing as oracle: /u01/app/11.2.0/grid/bin/asmca -silent -diskGroupName DATA -diskList ORCL:DATA1,ORCL:DATA2 -                                            redundancy EXTERNAL -configureLocalASM
2010-08-19 13:24:41: Running as user oracle: /u01/app/11.2.0/grid/bin/asmca -silent -diskGroupName DATA -diskList ORCL:DATA1,ORCL:DATA                                            2 -redundancy EXTERNAL -configureLocalASM
2010-08-19 13:24:41:   Invoking "/u01/app/11.2.0/grid/bin/asmca -silent -diskGroupName DATA -diskList ORCL:DATA1,ORCL:DATA2 -redundanc                                            y EXTERNAL -configureLocalASM" as user "oracle"
2010-08-19 13:25:28: Configuration of ASM failed, see logs for details
2010-08-19 13:25:28: Did not succssfully configure and start ASM
2010-08-19 13:25:28: Exiting exclusive mode
2010-08-19 13:25:28: Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.crsd -init
2010-08-19 13:25:28: Stop of resource "ora.crsd -init" failed
2010-08-19 13:25:28: Failed to stop CRSD
2010-08-19 13:26:01: Initial cluster configuration failed.  See /u01/app/11.2.0/grid/cfgtoollogs/crsconfig/rootcrs_oracle-node2.log fo                                            r details
oracle-node2:/u01/app/11.2.0/grid/cfgtoollogs/crsconfig # cd

root.sh failed on both nodes (node1 & node2).

Please advice, what should be the next step and how to move forward?
Thanks in advance.

gridCRS-error.jpg
0
Comment
Question by:el123
  • 2
  • 2
4 Comments
 
LVL 8

Expert Comment

by:tomcatkev
ID: 33490490
Can you verify that the physical disks allocated to ASM have the write permission ownership granted to Oracle user?  This is a common thing that can go wrong setting up ASM.
0
 

Author Comment

by:el123
ID: 33491830
thanks tomcatkev ... but how to check this ?
by running
/etc/init.d/oracleasm listdisks

it is showing 2 disks
DATA1
DATA2

how to confirm this and also, one more that ASM instance is not yet up & running too,
please advice/suggest how to move forward?

thanks for your assistance.
0
 
LVL 8

Accepted Solution

by:
tomcatkev earned 1500 total points
ID: 33493979
I'm not sure exactly what is the problem, but this article goes step by step through the prerequisite /etc/sysconfig/rawdevices settings and chown oracle ownership on the raw devices, as well as the oracleasm.

http://www.rampant-books.com/art_hunter_rac_oracle_asm_automatic_storage_management.htm

One of the points mentioned there, perhaps worthy to try, if this is of course a new database you are setting up, and there is no data of value present anyway, then just try to delete and recreate any problem disks again...

oracleasm deletedisk DATA1
oracleasm createdisk DATA1 /dev/????

And about filling in the ???? part, if you just cd /dev and then look for devices that have disk or dsk in the name, you should see the raw devices that correspond to your known hardware.

On AIX, I see disks raw device name like /dev/hdisk9, and then I want to see "ls -l" on that device and see that Oracle owns it and has write permission on it (the chown step in the article as above).



0
 

Author Closing Comment

by:el123
ID: 33825897
thanks
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Suggested Courses

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question