Skip to Main Content
  • Questions
  • Oracle 11.2.0.4.0 RAC for Linux86_64 execute 'root.sh' show error on first node in GI install

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, Quanwen.

Asked: July 23, 2017 - 3:40 am UTC

Last updated: July 25, 2017 - 7:29 am UTC

Version: 11.2.0.4.0

Viewed 1000+ times

You Asked

Hi,
I install Oracle RAC 11.2.0.4.0 for linux86_64 on CentOS 6.9 x86_64 yesterday,and there is a error on first node on installing GI,
content as follows,
......
clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4256: Updating the profile
Successful addition of voting disk 324f7af47b254f6bbf709624a35dbc66.
Successfully replaced voting disk group with +OCR.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
1. ONLINE   324f7af47b254f6bbf709624a35dbc66 (/dev/ocr1) [OCR]
Located 1 voting disk(s).
Oracle Grid Infrastructure stack start initiated but failed to complete at /app/11.2.0/grid/crs/install/crsconfig_lib.pm line 11814.
/app/11.2.0/grid/perl/bin/perl -I/app/11.2.0/grid/perl/lib -I/app/11.2.0/grid/crs/install /app/11.2.0/grid/crs/install/rootcrs.pl execution failed

and I check logfile 'rootcrs_orac1.log',content as follows;
# vi /app/11.2.0/grid/cfgtoollogs/crsconfig/rootcrs_orac1.log

2017-07-20 17:56:05: Checking the status of cluster
2017-07-20 17:56:10: Executing cmd: /app/11.2.0/grid/bin/crsctl check cluster -n orac1
2017-07-20 17:56:10: Checking the status of cluster
2017-07-20 17:56:15: ###### Begin DIE Stack Trace ######
2017-07-20 17:56:15:     Package         File                 Line Calling
2017-07-20 17:56:15:     --------------- -------------------- ---- ----------
2017-07-20 17:56:15:  1: main            rootcrs.pl            393 crsconfig_lib::dietrap
2017-07-20 17:56:15:  2: crsconfig_lib   crsconfig_lib.pm     11814 main::__ANON__
2017-07-20 17:56:15:  3: crsconfig_lib   crsconfig_lib.pm     1363 crsconfig_lib::wait_for_stack_start
2017-07-20 17:56:15:  4: crsconfig_lib   crsconfig_lib.pm     1236 crsconfig_lib::start_cluster
2017-07-20 17:56:15:  5: main            rootcrs.pl            864 crsconfig_lib::perform_start_cluster
2017-07-20 17:56:15: ####### End DIE Stack Trace #######

2017-07-20 17:56:15: 'ROOTCRS_STACK' checkpoint has failed
2017-07-20 17:56:15: Running as user grid: /app/11.2.0/grid/bin/cluutil -ckpt -oraclebase /app/grid -writeckpt -name ROOTCRS_STACK -state FAIL
2017-07-20 17:56:15: s_run_as_user2: Running /bin/su grid -c ' /app/11.2.0/grid/bin/cluutil -ckpt -oraclebase /app/grid -writeckpt -name ROOTCRS_STACK -state FAIL '
2017-07-20 17:56:16: Removing file /tmp/fileMmTHGE
2017-07-20 17:56:16: Successfully removed file: /tmp/fileMmTHGE
2017-07-20 17:56:16: /bin/su successfully executed

2017-07-20 17:56:16: Succeeded in writing the checkpoint:'ROOTCRS_STACK' with status:FAIL
2017-07-20 17:56:16: CkptFile: /app/grid/Clusterware/ckptGridHA_orac1.xml
2017-07-20 17:56:16: Sync the checkpoint file '/app/grid/Clusterware/ckptGridHA_orac1.xml'
2017-07-20 17:56:16: Sync '/app/grid/Clusterware/ckptGridHA_orac1.xml' to the physical disk

Please give me some advice,and how to solve it, thanks!

Best Regards
Quanwen Zhao

and Connor said...

With installation issues, your first port of call should be Support.

But take a look at MOS note 942166.1 - it has a list of steps to follow.

Rating

  (3 ratings)

Is this answer out of date? If it is, please let us know via a Comment

Comments

Quanwen Zhao, July 23, 2017 - 11:14 am UTC

I will to request Support,and read MOS article of your post at the same time.
Thank you very much.

my issue has solved

Quanwen Zhao, July 25, 2017 - 4:26 am UTC

Mr Connor,
my issue has solved perfectly yesterday and the result of troubleshooting is that there is a series of security reinforce after OS installing about 'CentOS 6.6 x86_64',because check
with script file 'runcluvfy.sh',running result as follows,
[grid@orac1 grid]$ ./runcluvfy.sh stage -pre crsinst -n orac1,orac2 -fixup -verbose
Performing pre-checks for cluster services setup 

Checking node reachability...
Check: Kernel parameter for "semmsl" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  orac2             250           unknown       250           failed (ignorable)  Configured value unknown. 
  orac1             250           unknown       250           failed (ignorable)  Configured value unknown. 
Result: Kernel parameter check passed for "semmsl"

Check: Kernel parameter for "semmns" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  orac2             32000         unknown       32000         failed (ignorable)  Configured value unknown. 
  orac1             32000         unknown       32000         failed (ignorable)  Configured value unknown. 
Result: Kernel parameter check passed for "semmns"

Check: Kernel parameter for "semopm" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  orac2             100           unknown       100           failed (ignorable)  Configured value unknown. 
  orac1             100           unknown       100           failed (ignorable)  Configured value unknown. 
Result: Kernel parameter check passed for "semopm"

Check: Kernel parameter for "semmni" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  orac2             128           unknown       128           failed (ignorable)  Configured value unknown. 
  orac1             128           unknown       128           failed (ignorable)  Configured value unknown. 
Result: Kernel parameter check passed for "semmni"

Check: Kernel parameter for "shmmax" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  orac2             68719476736   unknown       4294967295    failed (ignorable)  Configured value unknown. 
  orac1             68719476736   unknown       4294967295    failed (ignorable)  Configured value unknown. 
Result: Kernel parameter check passed for "shmmax"

Check: Kernel parameter for "shmmni" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  orac2             4096          unknown       4096          failed (ignorable)  Configured value unknown. 
  orac1             4096          unknown       4096          failed (ignorable)  Configured value unknown. 
Result: Kernel parameter check passed for "shmmni"

Check: Kernel parameter for "shmall" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  orac2             4294967296    unknown       2097152       failed (ignorable)  Configured value unknown. 
  orac1             4294967296    unknown       2097152       failed (ignorable)  Configured value unknown. 
Result: Kernel parameter check passed for "shmall"

Check: Kernel parameter for "file-max" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  orac2             6815744       unknown       6815744       failed (ignorable)  Configured value unknown. 
  orac1             6815744       unknown       6815744       failed (ignorable)  Configured value unknown. 
Result: Kernel parameter check passed for "file-max"

Check: Kernel parameter for "ip_local_port_range" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  orac2             between 9000.0 & 65500.0  unknown       between 9000.0 & 65500.0  failed (ignorable)  Configured value unknown. 
  orac1             between 9000.0 & 65500.0  unknown       between 9000.0 & 65500.0  failed (ignorable)  Configured value unknown. 
Result: Kernel parameter check passed for "ip_local_port_range"

Check: Kernel parameter for "rmem_default" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  orac2             262144        unknown       262144        failed (ignorable)  Configured value unknown. 
  orac1             262144        unknown       262144        failed (ignorable)  Configured value unknown. 
Result: Kernel parameter check passed for "rmem_default"

Check: Kernel parameter for "rmem_max" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  orac2             4194304       unknown       4194304       failed (ignorable)  Configured value unknown. 
  orac1             4194304       unknown       4194304       failed (ignorable)  Configured value unknown. 
Result: Kernel parameter check passed for "rmem_max"

Check: Kernel parameter for "wmem_default" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  orac2             262144        unknown       262144        failed (ignorable)  Configured value unknown. 
  orac1             262144        unknown       262144        failed (ignorable)  Configured value unknown. 
Result: Kernel parameter check passed for "wmem_default"

Check: Kernel parameter for "wmem_max" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  orac2             1048576       unknown       1048576       failed (ignorable)  Configured value unknown. 
  orac1             1048576       unknown       1048576       failed (ignorable)  Configured value unknown. 
Result: Kernel parameter check passed for "wmem_max"

Check: Kernel parameter for "aio-max-nr" 
  Node Name         Current       Configured    Required      Status        Comment     
  ----------------  ------------  ------------  ------------  ------------  ------------
  orac2             1048576       unknown       1048576       failed (ignorable)  Configured value unknown. 
  orac1             1048576       unknown       1048576       failed (ignorable)  Configured value unknown. 
Result: Kernel parameter check passed for "aio-max-nr"

I found some kernel parameter to be unknown from OS and causing by run '/app/11.2.0/grid/root.sh' on first node shown error about 'Oracle Grid Infrastructure stack start initiated but failed to complete at /app/11.2.0/grid/crs/install/crsconfig_lib.pm line 11814.
/app/11.2.0/grid/perl/bin/perl -I/app/11.2.0/grid/perl/lib -I/app/11.2.0/grid/crs/install /app/11.2.0/grid/crs/install/rootcrs.pl execution failed'.
after excluding 'security reinforce',installed RAC successfully finally.
Connor McDonald
July 25, 2017 - 7:29 am UTC

Thanks for getting back to us - this will be useful for others.

Quanwen Zhao, July 26, 2017 - 12:39 am UTC

You are welcome,
Exactly,AskTOM website is a fruitful and exciting platform for DBAs and APP developers.

More to Explore

Administration

Need more information on Administration? Check out the Administrators guide for the Oracle Database