当前位置:Gxlcms > 数据库问题 > Oracle Study之--AMD CPU安装Oracle 11gR2 RAC错误

Oracle Study之--AMD CPU安装Oracle 11gR2 RAC错误

时间:2021-07-01 10:21:17 帮助过:22人阅读

系统环境:

    操作系统: RedHat  EL55

    Oracle :     Oracle 11gR2 Grid +  Oracle

 

1、错误现象

  1. [root@syl1 install]# /u01/11.2.0/grid/root.shRunning Oracle 11g root.sh script...
  2. The following environment variables are set as:    
  3. ORACLE_OWNER= grid    
  4. ORACLE_HOME=  /u01/11.2.0/grid
  5. Enter the full pathname of the local bin directory: [/usr/local/bin]:
  6. The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n) [n]: y   
  7. Copying dbhome to /usr/local/bin ...
  8. The file "oraenv" already exists in /usr/local/bin.  
  9. Overwrite it? (y/n) [n]: y   
  10. Copying oraenv to /usr/local/bin ...The file "coraenv" already exists in /usr/local/bin.  
  11. Overwrite it? (y/n) [n]: y   
  12. Copying coraenv to /usr/local/bin ...
  13. Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created
  14. Finished running generic part of root.sh script.
  15. Now product-specific root actions will be performed.2015-05-26 
  16. 14:40:11: Parsing the host name2015-05-26 
  17. 14:40:11: Checking for super user privileges2015-05-26 
  18. 14:40:11: User has super user privilegesUsing configuration parameter file: /u01/11.2.0/grid/crs/install/crsconfig_params
  19. Failure with signal 11 from command: /u01/11.2.0/grid/bin/ocrconfig -local -upgrade grid oinstall
  20. Failed to create or upgrade OLR

2、清除CRS配置

  1. [root@syl1 install]# perl rootcrs.pl -deconfig -force  
  2. 2015-05-26 14:40:30: Parsing the host name  
  3. 2015-05-26 14:40:30: Checking for super user privileges  
  4. 2015-05-26 14:40:30: User has super user privileges  
  5. Using configuration parameter file: ./crsconfig_params  
  6. PRCR-1035 : Failed to look up CRS resource ora.cluster_vip.type for 1  
  7. PRCR-1068 : Failed to query resources  
  8. Cannot communicate with crsd  
  9. PRCR-1070 : Failed to check if resource ora.gsd is registered  
  10. Cannot communicate with crsd  
  11. PRCR-1070 : Failed to check if resource ora.ons is registered  
  12. Cannot communicate with crsd  
  13. PRCR-1070 : Failed to check if resource ora.eons is registered  
  14. Cannot communicate with crsd  
  15.   
  16. ACFS-9200: Supported  
  17. CRS-4535: Cannot communicate with Cluster Ready Services  
  18. CRS-4000: Command Stop failed, or completed with errors.  
  19. Failure at scls_scr_setval with code 8  
  20. Internal Error Information:   
  21.   Category: -2  
  22.  Operation: failed  
  23.   Location: scrsearch3  
  24.   Other: id doesnt exist scls_scr_setval  
  25.   System Dependent Information: 2  
  26.   
  27. CRS-4544: Unable to connect to OHAS  
  28. CRS-4000: Command Stop failed, or completed with errors.  
  29. error: package cvuqdisk is not installed  
  30. 3、解决方法
  31.  关于这个问题,Meatlink 上[ID 1068212.1]有关于这个问题的描述,同时也说明明了由bug 8670579所引起的,而且还是未公开的,说是不认识新的AMD芯片,
  32. 原来是AMD CPU搞得鬼
  33. [html] view plaincopyprint?
  34. Cause    
  35.       
  36.   Unpublished bug 8670579 which relates to the identification of newer AMD chips and therefore only affect platforms     
  37.   using the newer AMD chips.    
  38.       
  39.   Solution    
  40.       
  41.   If the error occurs during the installation of the GRID Infrastructure the patch has to be applied,     
  42.   before the root.sh Script in the installation is run:    
  43.       
  44.   a.) Run a installation (grid/runInstaller) to the prompt where it requests to run orainstroot.sh and <GRID_HOME>/root.sh    
  45.   b.) Run orainstroot.sh on all nodes, but not root.sh    
  46.   c.) Open another session with the Oracle User and apply Patch 8670579 on all nodes (with opatch apply).    
  47.   d.) Continue with the root.sh from the installation.    
  48.       
  49.   If you hit this bug, and have already started root.sh then:    
  50.   - Deconfigure Clusterware on the failed host with <GRID_HOME>/install/rootcrs.pl -deconfig -force    
  51.   - Install the Patch as Oracle User (opatch apply)    
  52.   - Rerun root.sh


4、下载上传patch并应用(以grid用户的身份) 

[grid@syl1 ~]$ ls

oradiag_grid  p8670579_112010_LINUX.zip


[grid@syl1 ~]$ unzip p8670579_112010_LINUX.zip 

  1. Archive:  p8670579_112010_LINUX.zip
  2.    creating: 8670579/
  3.    creating: 8670579/files/
  4.    creating: 8670579/files/lib/
  5.    creating: 8670579/files/lib/libnnz11.a/
  6.   inflating: 8670579/files/lib/libnnz11.a/ahseteco.o  
  7.   inflating: 8670579/files/lib/libnnz11.a/am11rkg.o  
  8.   inflating: 8670579/files/lib/libnnz11.a/amsha.o  
  9.   inflating: 8670579/files/lib/libnnz11.a/cpui32.o  
  10.   inflating: 8670579/files/lib/libnnz11.a/sha.o  
  11.   inflating: 8670579/files/lib/libnnz11.a/x931rand.o  
  12.   inflating: 8670579/files/lib/libnnz11.a/am11dkg.o  
  13.   inflating: 8670579/files/lib/libnnz11.a/am931rnd.o  
  14.   inflating: 8670579/files/lib/libnnz11.a/amsharnd.o  
  15.   inflating: 8670579/files/lib/libnnz11.a/ghash.o  
  16.   inflating: 8670579/files/lib/libnnz11.a/shacomm.o  
  17.   inflating: 8670579/files/lib/libnnz11.so  
  18.    creating: 8670579/etc/
  19.    creating: 8670579/etc/config/
  20.   inflating: 8670579/etc/config/inventory.xml  
  21.   inflating: 8670579/etc/config/actions.xml  
  22.   inflating: 8670579/etc/config/deploy.xml  
  23.    creating: 8670579/etc/xml/
  24.   inflating: 8670579/etc/xml/GenericActions.xml  
  25.   inflating: 8670579/etc/xml/ShiphomeDirectoryStructure.xml  
  26.   inflating: 8670579/README.txt      
  27.  extracting: ¢|||í?ê?-á+?.txt

[grid@syl1 ~]$ ls
8670579  oradiag_grid  p8670579_112010_LINUX.zip  ??????ê?-?+?.txt

进入patch目录并应用:

    1. [grid@syl1 ~]$ cd 8670579/  
    2. [grid@syl1 8670579]$ /u01/11.2.0/grid/OPatch/opatch apply  
    3.   
    4. Invoking OPatch 11.1.0.6.6  
    5.   
    6. Oracle Interim Patch Installer version 11.1.0.6.6  
    7. Copyright (c) 2009, Oracle Corporation.  All rights reserved.  
    8.   
    9.   
    10. Oracle Home       : /u01/11.2.0/grid  
    11. Central Inventory : /u01/app/oraInventory  
    12.    from           : /etc/oraInst.loc  
    13. OPatch version    : 11.1.0.6.6  
    14. OUI version       : 11.2.0.1.0  
    15. OUI location      : /u01/11.2.0/grid/oui  
    16. Log file location : /u01/11.2.0/grid/cfgtoollogs/opatch/opatch2015-05-26_14-52-15PM.log  
    17.   
    18. Patch history file: /u01/11.2.0/grid/cfgtoollogs/opatch/opatch_history.txt  
    19.   
    20.   
    21. --------------------------------------------------------------------------------  
    22. The patch has more than one Archive Action but there is no Make Action.  
    23. --------------------------------------------------------------------------------  
    24. ApplySession applying interim patch ‘8670579‘ to OH ‘/u01/11.2.0/grid‘  
    25.   
    26. Running prerequisite checks...  
    27.   
    28. OPatch detected the node list and the local node from the inventory.  OPatch will patch the local system then propagate the patch to the remote nodes.  
    29.   
    30.   
    31. This node is part of an Oracle Real Application Cluster.  
    32. Remote nodes: ‘syl2‘   
    33. Local node: ‘syl1‘  
    34. Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.  
    35. (Oracle Home = ‘/u01/11.2.0/grid‘)  
    36.   
    37.   
    38. Is the local system ready for patching? [y|n]  
    39. y  
    40. User Responded with: Y  
    41. Backing up files and inventory (not for auto-rollback) for the Oracle Home  
    42. Backing up files affected by the patch ‘8670579‘ for restore. This might take a while...  
    43. Backing up files affected by the patch ‘8670579‘ for rollback. This might take a while...  
    44.   
    45. Patching component oracle.network.rsf, 11.2.0.1.0...  
    46. Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/ahseteco.o"  
    47. Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/am11rkg.o"  
    48. Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/amsha.o"  
    49. Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/cpui32.o"  
    50. Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/sha.o"  
    51. Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/x931rand.o"  
    52. Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/am11dkg.o"  
    53. Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/am931rnd.o"  
    54. Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/amsharnd.o"  
    55. Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/ghash.o"  
    56. Updating archive file "/u01/11.2.0/grid/lib/libnnz11.a"  with "lib/libnnz11.a/shacomm.o"  
    57. Copying file to "/u01/11.2.0/grid/lib/libnnz11.so"  
    58. ApplySession adding interim patch ‘8670579‘ to inventory  
    59.   
    60. Verifying the update...  
    61. Inventory check OK: Patch ID 8670579 is registered in Oracle Home inventory with proper meta-data.  
    62. Files check OK: Files from Patch ID 8670579 are present in Oracle Home.  
    63.   
    64. The local system has been patched.  You can restart Oracle instances on it.  
    65.   
    66.   
    67. Patching in rolling mode.  
    68.   
    69.   
    70. The node ‘syl2‘ will be patched next.  
    71.   
    72.   
    73. Please shutdown Oracle instances running out of this ORACLE_HOME on ‘syl2‘.  
    74. (Oracle Home = ‘/u01/11.2.0/grid‘)  
    75.   
    76. Is the node ready for patching? [y|n]  
    77. y  
    78. User Responded with: Y  
    79. Updating nodes ‘syl2‘   
    80.    Apply-related files are:  
    81.      FP = "/u01/11.2.0/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_files.txt"  
    82.      DP = "/u01/11.2.0/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_dirs.txt"  
    83.      MP = "/u01/11.2.0/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/make_cmds.txt"  
    84.      RC = "/u01/11.2.0/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/remote_cmds.txt"  
    85.   
    86. Instantiating the file "/u01/11.2.0/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_files.txt.instantiated" by replacing $ORACLE_HOME in "/u01/11.2.0/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_files.txt" with actual path.  
    87. Propagating files to remote nodes...  
    88. Instantiating the file "/u01/11.2.0/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_dirs.txt.instantiated" by replacing $ORACLE_HOME in "/u01/11.2.0/grid/.patch_storage/8670579_Feb_25_2010_09_55_12/rac/copy_dirs.txt" with actual path.  
    89. Propagating directories to remote nodes...  
    90.   
    91. The node ‘syl2‘ has been patched.  You can restart Oracle instances on it.  
    92.   
    93.   
    94. OPatch succeeded.

5、重新执行root.sh     

  1. [root@syl1 ~]# /u01/11.2.0/grid/root.sh  
  2. Running Oracle 11g root.sh script...  
  3.   
  4. The following environment variables are set as:  
  5.     ORACLE_OWNER= grid  
  6.     ORACLE_HOME=  /u01/11.2.0/grid  
  7.   
  8. Enter the full pathname of the local bin directory: [/usr/local/bin]:   
  9. The file "dbhome" already exists in /usr/local/bin.  Overwrite it? (y/n)   
  10. [n]: y  
  11.    Copying dbhome to /usr/local/bin ...  
  12. The file "oraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)   
  13. [n]: y  
  14.    Copying oraenv to /usr/local/bin ...  
  15. The file "coraenv" already exists in /usr/local/bin.  Overwrite it? (y/n)   
  16. [n]: y  
  17.    Copying coraenv to /usr/local/bin ...  
  18.   
  19. Entries will be added to the /etc/oratab file as needed by  
  20. Database Configuration Assistant when a database is created  
  21. Finished running generic part of root.sh script.  
  22. Now product-specific root actions will be performed.  
  23. 2015-05-26 14:58:23: Parsing the host name  
  24. 2015-05-26 14:58:23: Checking for super user privileges  
  25. 2015-05-26 14:58:23: User has super user privileges  
  26. Using configuration parameter file: /u01/11.2.0/grid/crs/install/crsconfig_params  
  27. LOCAL ADD MODE   
  28. Creating OCR keys for user ‘root‘, privgrp ‘root‘..  
  29. Operation successful.  
  30.   root wallet  
  31.   root wallet cert  
  32.   root cert export  
  33.   peer wallet  
  34.   profile reader wallet  
  35.   pa wallet  
  36.   peer wallet keys  
  37.   pa wallet keys  
  38.   peer cert request  
  39.   pa cert request  
  40.   peer cert  
  41.   pa cert  
  42.   peer root cert TP  
  43.   profile reader root cert TP  
  44.   pa root cert TP  
  45.   peer pa cert TP  
  46.   pa peer cert TP  
  47.   profile reader pa cert TP  
  48.   profile reader peer cert TP  
  49.   peer user cert  
  50.   pa user cert  
  51. Adding daemon to inittab  
  52. CRS-4123: Oracle High Availability Services has been started.  
  53. ohasd is starting  
  54. CRS-2672: Attempting to start ‘ora.gipcd‘ on ‘syl1‘  
  55. CRS-2672: Attempting to start ‘ora.mdnsd‘ on ‘syl1‘  
  56. CRS-2676: Start of ‘ora.gipcd‘ on ‘syl1‘ succeeded  
  57. CRS-2676: Start of ‘ora.mdnsd‘ on ‘syl1‘ succeeded  
  58. CRS-2672: Attempting to start ‘ora.gpnpd‘ on ‘syl1‘  
  59. CRS-2676: Start of ‘ora.gpnpd‘ on ‘syl1‘ succeeded  
  60. CRS-2672: Attempting to start ‘ora.cssdmonitor‘ on ‘syl1‘  
  61. CRS-2676: Start of ‘ora.cssdmonitor‘ on ‘syl1‘ succeeded  
  62. CRS-2672: Attempting to start ‘ora.cssd‘ on ‘syl1‘  
  63. CRS-2672: Attempting to start ‘ora.diskmon‘ on ‘syl1‘  
  64. CRS-2676: Start of ‘ora.diskmon‘ on ‘syl1‘ succeeded  
  65. CRS-2676: Start of ‘ora.cssd‘ on ‘syl1‘ succeeded  
  66. CRS-2672: Attempting to start ‘ora.ctssd‘ on ‘syl1‘  
  67. CRS-2676: Start of ‘ora.ctssd‘ on ‘syl1‘ succeeded  
  68.   
  69. ASM created and started successfully.  
  70.   
  71. DiskGroup OCR_VOTE created successfully.  
  72.   
  73. clscfg: -install mode specified  
  74. Successfully accumulated necessary OCR keys.  
  75. Creating OCR keys for user ‘root‘, privgrp ‘root‘..  
  76. Operation successful.  
  77. CRS-2672: Attempting to start ‘ora.crsd‘ on ‘syl1‘  
  78. CRS-2676: Start of ‘ora.crsd‘ on ‘syl1‘ succeeded  
  79. CRS-4256: Updating the profile  
  80. Successful addition of voting disk 09a53580da564f6cbf73f80df1b2fed4.  
  81. Successful addition of voting disk 008f54a53d074f7bbfa9b183f9731505.  
  82. Successful addition of voting disk aae02f43bc7f4f6cbfbd5e8374f0cab6.  
  83. Successfully replaced voting disk group with +OCR_VOTE.  
  84. CRS-4256: Updating the profile  
  85. CRS-4266: Voting file(s) successfully replaced  
  86. ##  STATE    File Universal Id                File Name Disk group  
  87. --  -----    -----------------                --------- ---------  
  88.  1. ONLINE   09a53580da564f6cbf73f80df1b2fed4 (/dev/oracleasm/disks/OCR_VOTE3) [OCR_VOTE]  
  89.  2. ONLINE   008f54a53d074f7bbfa9b183f9731505 (/dev/oracleasm/disks/OCR_VOTE2) [OCR_VOTE]  
  90.  3. ONLINE   aae02f43bc7f4f6cbfbd5e8374f0cab6 (/dev/oracleasm/disks/OCR_VOTE1) [OCR_VOTE]  
  91. Located 3 voting disk(s).  
  92. CRS-2673: Attempting to stop ‘ora.crsd‘ on ‘syl1‘  
  93. CRS-2677: Stop of ‘ora.crsd‘ on ‘syl1‘ succeeded  
  94. CRS-2673: Attempting to stop ‘ora.asm‘ on ‘syl1‘  
  95. CRS-2677: Stop of ‘ora.asm‘ on ‘syl1‘ succeeded  
  96. CRS-2673: Attempting to stop ‘ora.ctssd‘ on ‘syl1‘  
  97. CRS-2677: Stop of ‘ora.ctssd‘ on ‘syl1‘ succeeded  
  98. CRS-2673: Attempting to stop ‘ora.cssdmonitor‘ on ‘syl1‘  
  99. CRS-2677: Stop of ‘ora.cssdmonitor‘ on ‘syl1‘ succeeded  
  100. CRS-2673: Attempting to stop ‘ora.cssd‘ on ‘syl1‘  
  101. CRS-2677: Stop of ‘ora.cssd‘ on ‘syl1‘ succeeded  
  102. CRS-2673: Attempting to stop ‘ora.gpnpd‘ on ‘syl1‘  
  103. CRS-2677: Stop of ‘ora.gpnpd‘ on ‘syl1‘ succeeded  
  104. CRS-2673: Attempting to stop ‘ora.gipcd‘ on ‘syl1‘  
  105. CRS-2677: Stop of ‘ora.gipcd‘ on ‘syl1‘ succeeded  
  106. CRS-2673: Attempting to stop ‘ora.mdnsd‘ on ‘syl1‘  
  107. CRS-2677: Stop of ‘ora.mdnsd‘ on ‘syl1‘ succeeded  
  108. CRS-2672: Attempting to start ‘ora.mdnsd‘ on ‘syl1‘  
  109. CRS-2676: Start of ‘ora.mdnsd‘ on ‘syl1‘ succeeded  
  110. CRS-2672: Attempting to start ‘ora.gipcd‘ on ‘syl1‘  
  111. CRS-2676: Start of ‘ora.gipcd‘ on ‘syl1‘ succeeded  
  112. CRS-2672: Attempting to start ‘ora.gpnpd‘ on ‘syl1‘  
  113. CRS-2676: Start of ‘ora.gpnpd‘ on ‘syl1‘ succeeded  
  114. ......


  • 再次执行root.sh成功!

本文出自 “天涯客的blog” 博客,请务必保留此出处http://tiany.blog.51cto.com/513694/1655762

Oracle Study之--AMD CPU安装Oracle 11gR2 RAC错误

标签:oracle

人气教程排行