running root.sh on second node failed.

Questions relating to Oracle Real Application Clusters (RAC) and Clusterware.

Moderator: Tim...

running root.sh on second node failed.

Postby salmancs9 » Sun Feb 17, 2013 5:10 pm

Dears,

Let me first thanks you for this forums and the articles.

I am following the below link article to install oracle rac , first the grid on stage to run the two scripts.

the root.sh was running successfully on the first node , but on the second node it is failed always, below the result.plz help me to solve it.
Node details:

uname -a
Linux ol6-112-rac2.localdomain 2.6.39-200.24.1.el6uek.x86_64 #1 SMP Sat Jun 23 02:39:07 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
==============

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
2013-02-17 19:15:33: Parsing the host name
2013-02-17 19:15:33: Checking for super user privileges
2013-02-17 19:15:33: User has super user privileges
Using configuration parameter file: /u01/app/11.2/grid/crs/install/crsconfig_params
LOCAL ADD MODE
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Adding daemon to inittab
CRS-4123: Oracle High Availability Services has been started.
ohasd is starting
ADVM/ACFS is not supported on oraclelinux-release-6Server-3.0.2.x86_64



CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node ol6-112-rac1, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
CRS-2672: Attempting to start 'ora.mdnsd' on 'ol6-112-rac2'
CRS-2676: Start of 'ora.mdnsd' on 'ol6-112-rac2' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'ol6-112-rac2'
CRS-2676: Start of 'ora.gipcd' on 'ol6-112-rac2' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'ol6-112-rac2'
CRS-2676: Start of 'ora.gpnpd' on 'ol6-112-rac2' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'ol6-112-rac2'
CRS-2676: Start of 'ora.cssdmonitor' on 'ol6-112-rac2' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'ol6-112-rac2'
CRS-2672: Attempting to start 'ora.diskmon' on 'ol6-112-rac2'
CRS-2676: Start of 'ora.diskmon' on 'ol6-112-rac2' succeeded
CRS-2674: Start of 'ora.cssd' on 'ol6-112-rac2' failed
CRS-2679: Attempting to clean 'ora.cssd' on 'ol6-112-rac2'
CRS-2681: Clean of 'ora.cssd' on 'ol6-112-rac2' succeeded
CRS-2673: Attempting to stop 'ora.diskmon' on 'ol6-112-rac2'
CRS-2677: Stop of 'ora.diskmon' on 'ol6-112-rac2' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'ol6-112-rac2'
CRS-2677: Stop of 'ora.cssdmonitor' on 'ol6-112-rac2' succeeded
CRS-4000: Command Start failed, or completed with errors.
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'ol6-112-rac2'
CRS-2676: Start of 'ora.cssdmonitor' on 'ol6-112-rac2' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'ol6-112-rac2'
CRS-2672: Attempting to start 'ora.diskmon' on 'ol6-112-rac2'
CRS-2674: Start of 'ora.diskmon' on 'ol6-112-rac2' failed
CRS-2679: Attempting to clean 'ora.diskmon' on 'ol6-112-rac2'
CRS-5016: Process "/u01/app/11.2/grid/bin/diskmon" spawned by agent "/u01/app/11.2/grid/bin/orarootagent.bin" for action "clean" failed: details at "(:CLSN00010:)" in "/u01/app/11.2/grid/log/ol6-112-rac2/agent/ohasd/orarootagent_root/orarootagent_root.log"
CRS-2681: Clean of 'ora.diskmon' on 'ol6-112-rac2' succeeded
CRS-2674: Start of 'ora.cssd' on 'ol6-112-rac2' failed
CRS-2679: Attempting to clean 'ora.cssd' on 'ol6-112-rac2'
CRS-2681: Clean of 'ora.cssd' on 'ol6-112-rac2' succeeded
CRS-4000: Command Start failed, or completed with errors.
Command return code of 1 (256) from command: /u01/app/11.2/grid/bin/crsctl start resource ora.ctssd -init -env USR_ORA_ENV=CTSS_REBOOT=TRUE
Start of resource "ora.ctssd -init -env USR_ORA_ENV=CTSS_REBOOT=TRUE" failed
Failed to start CTSS
Failed to start Oracle Clusterware stack


Regards

Salman
salmancs9
Member
 
Posts: 6
Joined: Sun Feb 17, 2013 10:53 am

Re: running root.sh on second node failed.

Postby Tim... » Sun Feb 17, 2013 5:49 pm

Hi.

I notice you are doing the installation on OL6, so my first question would be, are you using the 11.2.0.3 download from MOS? This installation does not work if you are using the 11.2.0.1 download from OTN. You must use 11.2.0.3.

If you are using the correct version of the software, I would then suggest working through this article to try and diagnose your issue:

http://www.oracle-base.com/articles/rac ... oblems.php

Cheers

Tim...
Tim...
Oracle ACE Director
Oracle ACE of the Year 2006 - Oracle Magazine Editors Choice Awards
OakTable Member
OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
OCP Advanced PL/SQL Developer
Oracle Database: SQL Certified Expert
My website: http://www.oracle-base.com
My blog: http://www.oracle-base.com/blog
Tim...
Site Admin
 
Posts: 17937
Joined: Mon Nov 01, 2004 5:56 pm
Location: England, UK

Re: running root.sh on second node failed.

Postby salmancs9 » Sun Feb 17, 2013 6:13 pm

Thanks for your prompt reply, actully I am using 11.2.0.3 and downloaded from MOS. below is the articles that I following to install the Rac.

http://www.oracle-base.com/articles/11g ... ualbox.php

I am still on setup stage, not yet completed due to the above issue.
salmancs9
Member
 
Posts: 6
Joined: Sun Feb 17, 2013 10:53 am

Re: running root.sh on second node failed.

Postby Tim... » Sun Feb 17, 2013 6:36 pm

Hi.

Questions:

1) How much memory have you allocated to each VM and what is the total physical memory on your system.
2) Have you run the cluvfy utility against your setup to check what it says?

Cheers

Tim...
Tim...
Oracle ACE Director
Oracle ACE of the Year 2006 - Oracle Magazine Editors Choice Awards
OakTable Member
OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
OCP Advanced PL/SQL Developer
Oracle Database: SQL Certified Expert
My website: http://www.oracle-base.com
My blog: http://www.oracle-base.com/blog
Tim...
Site Admin
 
Posts: 17937
Joined: Mon Nov 01, 2004 5:56 pm
Location: England, UK

Re: running root.sh on second node failed.

Postby salmancs9 » Sun Feb 17, 2013 6:40 pm

1) for each node 2 GB.
2) i run the mentioned script, all are passed except some packages, I check it one by one and found that the yum install the updated and latest packages . all other checking are passed successfully.
salmancs9
Member
 
Posts: 6
Joined: Sun Feb 17, 2013 10:53 am

Re: running root.sh on second node failed.

Postby Tim... » Sun Feb 17, 2013 8:36 pm

Hi.

The minimum requirement is about 4G per VM. I mention this in my article. You are attempting the install with too little memory.

If you can't allocate more memory you should look at RAC Attack. Jeremy has a script that releases memory from the clusterware. That can help you complete the installation with less memory.

Cheers

Tim...
Tim...
Oracle ACE Director
Oracle ACE of the Year 2006 - Oracle Magazine Editors Choice Awards
OakTable Member
OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
OCP Advanced PL/SQL Developer
Oracle Database: SQL Certified Expert
My website: http://www.oracle-base.com
My blog: http://www.oracle-base.com/blog
Tim...
Site Admin
 
Posts: 17937
Joined: Mon Nov 01, 2004 5:56 pm
Location: England, UK

Re: running root.sh on second node failed.

Postby salmancs9 » Mon Feb 18, 2013 3:14 am

So the above error because of memory ? I belive the system will be slow and will use swap if needed not failed since no message on the root for the memory size.. appretiate if you can clearfiy this point to me. and where I can find the script that releases memory?

best regards

Salman
salmancs9
Member
 
Posts: 6
Joined: Sun Feb 17, 2013 10:53 am

Re: running root.sh on second node failed.

Postby Tim... » Mon Feb 18, 2013 11:58 am

Hi.

RAC is particularly sensitive when run on machine with limited resources. When you have too little memory, the VM swaps like crazy, slowing it down, which causes CRS to freak. The installation is very unreliable on VMs with too little memory, hence my point and my recommendation in the article.

You see the RAC Attack installation guide here:

http://en.wikibooks.org/wiki/RAC_Attack ... se_at_Home

Jeremy has a script mentioned somewhere there to release memory from CRS. I've never used it, so please don't ask me about that bit. :)

Cheers

Tim...
Tim...
Oracle ACE Director
Oracle ACE of the Year 2006 - Oracle Magazine Editors Choice Awards
OakTable Member
OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
OCP Advanced PL/SQL Developer
Oracle Database: SQL Certified Expert
My website: http://www.oracle-base.com
My blog: http://www.oracle-base.com/blog
Tim...
Site Admin
 
Posts: 17937
Joined: Mon Nov 01, 2004 5:56 pm
Location: England, UK

Re: running root.sh on second node failed.

Postby salmancs9 » Mon Feb 18, 2013 7:28 pm

Hi

many thanks for your reply, it is more clear to me now.

I am going to increase the memory to be 4 GB for each node as recommended on your article and complete the installation.

Thanks again for your cooperation and support.

Regards

Salman
Last edited by salmancs9 on Tue Feb 19, 2013 5:48 pm, edited 1 time in total.
salmancs9
Member
 
Posts: 6
Joined: Sun Feb 17, 2013 10:53 am

Re: running root.sh on second node failed.

Postby Tim... » Tue Feb 19, 2013 10:09 am

Hi.

Remember, you can only do this if your PC has enough physical memory to support that.

Cheers

Tim...
Tim...
Oracle ACE Director
Oracle ACE of the Year 2006 - Oracle Magazine Editors Choice Awards
OakTable Member
OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
OCP Advanced PL/SQL Developer
Oracle Database: SQL Certified Expert
My website: http://www.oracle-base.com
My blog: http://www.oracle-base.com/blog
Tim...
Site Admin
 
Posts: 17937
Joined: Mon Nov 01, 2004 5:56 pm
Location: England, UK


Return to Oracle RAC and Clusterware

Who is online

Users browsing this forum: No registered users and 1 guest

cron