5 Replies Latest reply: Dec 3, 2012 9:49 PM by user1920874 RSS

    Oracle11gR2  RAC root.sh报all disks are not OCR/OLR formatted

    966789
      Centos 5.6 上安装 11gr2 rac 在第一个节点(两个节点)执行root.sh时报
      Timed out waiting for the CRS stack to start.
      查看日志发现
      2012-11-29 02:15:13.808: [ OCRCONF][3640970864]ocrconfig starts...
      2012-11-29 02:15:13.843: [ OCRCONF][3640970864]Upgrading OCR data
      2012-11-29 02:15:13.874: [  OCROSD][3640970864]utread:3: Problem reading buffer 1cb37000 buflen 4096 retval 0 phy_offset 102400 retry 0
      2012-11-29 02:15:13.874: [  OCROSD][3640970864]utread:3: Problem reading buffer 1cb37000 buflen 4096 retval 0 phy_offset 102400 retry 1
      2012-11-29 02:15:13.874: [  OCROSD][3640970864]utread:3: Problem reading buffer 1cb37000 buflen 4096 retval 0 phy_offset 102400 retry 2
      2012-11-29 02:15:13.874: [  OCROSD][3640970864]utread:3: Problem reading buffer 1cb37000 buflen 4096 retval 0 phy_offset 102400 retry 3
      2012-11-29 02:15:13.874: [  OCROSD][3640970864]utread:3: Problem reading buffer 1cb37000 buflen 4096 retval 0 phy_offset 102400 retry 4
      2012-11-29 02:15:13.874: [  OCROSD][3640970864]utread:3: Problem reading buffer 1cb37000 buflen 4096 retval 0 phy_offset 102400 retry 5
      2012-11-29 02:15:13.874: [  OCRRAW][3640970864]propriogid:1_1: Failed to read the whole bootblock. Assumes invalid format.
      2012-11-29 02:15:13.874: [  OCRRAW][3640970864]proprioini: all disks are not OCR/OLR formatted
      2012-11-29 02:15:13.874: [  OCRRAW][3640970864]proprinit: Could not open raw device
      2012-11-29 02:15:13.874: [ default][3640970864]a_init:7!: Backend init unsuccessful : [26]
      2012-11-29 02:15:13.875: [ OCRCONF][3640970864]Exporting OCR data to [OCRUPGRADEFILE]
      2012-11-29 02:15:13.876: [  OCRAPI][3640970864]a_init:7!: Backend init unsuccessful : [33]
      2012-11-29 02:15:13.876: [ OCRCONF][3640970864]There was no previous version of OCR. error:[PROCL-33: Oracle Local Registry is not configured]
      2012-11-29 02:15:13.877: [  OCROSD][3640970864]utread:3: Problem reading buffer 1cb37000 buflen 4096 retval 0 phy_offset 102400 retry 0
      2012-11-29 02:15:13.877: [  OCROSD][3640970864]utread:3: Problem reading buffer 1cb37000 buflen 4096 retval 0 phy_offset 102400 retry 1
      2012-11-29 02:15:13.877: [  OCROSD][3640970864]utread:3: Problem reading buffer 1cb37000 buflen 4096 retval 0 phy_offset 102400 retry 2
      2012-11-29 02:15:13.877: [  OCROSD][3640970864]utread:3: Problem reading buffer 1cb37000 buflen 4096 retval 0 phy_offset 102400 retry 3
      2012-11-29 02:15:13.877: [  OCROSD][3640970864]utread:3: Problem reading buffer 1cb37000 buflen 4096 retval 0 phy_offset 102400 retry 4
      2012-11-29 02:15:13.877: [  OCROSD][3640970864]utread:3: Problem reading buffer 1cb37000 buflen 4096 retval 0 phy_offset 102400 retry 5
      2012-11-29 02:15:13.877: [  OCRRAW][3640970864]propriogid:1_1: Failed to read the whole bootblock. Assumes invalid format.
      2012-11-29 02:15:13.877: [  OCRRAW][3640970864]proprioini: all disks are not OCR/OLR formatted
      2012-11-29 02:15:13.877: [  OCRRAW][3640970864]proprinit: Could not open raw device
      2012-11-29 02:15:13.877: [ default][3640970864]a_init:7!: Backend init unsuccessful : [26]
      共享存储使用udev

      帖子经 user10731836编辑过
        • 1. Re: Oracle11gR2  RAC oot.sh报all disks are not OCR/OLR formatted
          966789
          具体日志信息如下:
          [root@node11g1 ~]# /u01/app/oraInventory/orainstRoot.sh
          Changing permissions of /u01/app/oraInventory.
          Adding read,write permissions for group.
          Removing read,write,execute permissions for world.

          Changing groupname of /u01/app/oraInventory to oinstall.
          The execution of the script is complete.
          [root@node11g1 ~]# /u01/app/11.2.0/grid/root.sh
          Running Oracle 11g root.sh script...

          The following environment variables are set as:
          ORACLE_OWNER= grid
          ORACLE_HOME= /u01/app/11.2.0/grid

          Enter the full pathname of the local bin directory: [usr/local/bin]:
          The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
          [n]: y
          Copying dbhome to /usr/local/bin ...
          The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
          [n]: y
          Copying oraenv to /usr/local/bin ...
          The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
          [n]: y
          Copying coraenv to /usr/local/bin ...

          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.
          2012-11-29 02:15:10: Parsing the host name
          2012-11-29 02:15:10: Checking for super user privileges
          2012-11-29 02:15:10: User has super user privileges
          Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
          Creating trace directory
          LOCAL ADD MODE
          Creating OCR keys for user 'root', privgrp 'root'..
          Operation successful.
          root wallet
          root wallet cert
          root cert export
          peer wallet
          profile reader wallet
          pa wallet
          peer wallet keys
          pa wallet keys
          peer cert request
          pa cert request
          peer cert
          pa cert
          peer root cert TP
          profile reader root cert TP
          pa root cert TP
          peer pa cert TP
          pa peer cert TP
          profile reader pa cert TP
          profile reader peer cert TP
          peer user cert
          pa user cert
          Adding daemon to inittab
          CRS-4123: Oracle High Availability Services has been started.
          ohasd is starting
          ADVM/ACFS is not supported on centos-release-5-6.el5.centos.1



          CRS-2672: Attempting to start 'ora.gipcd' on 'node11g1'
          CRS-2672: Attempting to start 'ora.mdnsd' on 'node11g1'
          CRS-2676: Start of 'ora.gipcd' on 'node11g1' succeeded
          CRS-2676: Start of 'ora.mdnsd' on 'node11g1' succeeded
          CRS-2672: Attempting to start 'ora.gpnpd' on 'node11g1'
          CRS-2676: Start of 'ora.gpnpd' on 'node11g1' succeeded
          CRS-2672: Attempting to start 'ora.cssdmonitor' on 'node11g1'
          CRS-2676: Start of 'ora.cssdmonitor' on 'node11g1' succeeded
          CRS-2672: Attempting to start 'ora.cssd' on 'node11g1'
          CRS-2672: Attempting to start 'ora.diskmon' on 'node11g1'
          CRS-2676: Start of 'ora.diskmon' on 'node11g1' succeeded
          CRS-2676: Start of 'ora.cssd' on 'node11g1' succeeded
          CRS-2672: Attempting to start 'ora.ctssd' on 'node11g1'
          CRS-2676: Start of 'ora.ctssd' on 'node11g1' succeeded

          ASM created and started successfully.

          DiskGroup CRS created successfully.

          clscfg: -install mode specified
          Successfully accumulated necessary OCR keys.
          Creating OCR keys for user 'root', privgrp 'root'..
          Operation successful.
          CRS-2672: Attempting to start 'ora.crsd' on 'node11g1'
          CRS-2676: Start of 'ora.crsd' on 'node11g1' succeeded
          CRS-4256: Updating the profile
          Successful addition of voting disk a246d7fa412d4fe9bfb755239ff8d989.
          Successful addition of voting disk 5976df8501384f0ebfe8636c8fe4861d.
          Successful addition of voting disk 60127ce457734fbbbf4f01dac7cae053.
          Successfully replaced voting disk group with +CRS.
          CRS-4256: Updating the profile
          CRS-4266: Voting file(s) successfully replaced
          ## STATE File Universal Id File Name Disk group
          -- ----- ----------------- --------- ---------
          1. ONLINE a246d7fa412d4fe9bfb755239ff8d989 (/dev/asm-diskb) [CRS]
          2. ONLINE 5976df8501384f0ebfe8636c8fe4861d (/dev/asm-diskc) [CRS]
          3. ONLINE 60127ce457734fbbbf4f01dac7cae053 (/dev/asm-diskd) [CRS]
          Located 3 voting disk(s).
          CRS-2673: Attempting to stop 'ora.crsd' on 'node11g1'
          CRS-2677: Stop of 'ora.crsd' on 'node11g1' succeeded
          CRS-2673: Attempting to stop 'ora.asm' on 'node11g1'
          CRS-2677: Stop of 'ora.asm' on 'node11g1' succeeded
          CRS-2673: Attempting to stop 'ora.ctssd' on 'node11g1'
          CRS-2677: Stop of 'ora.ctssd' on 'node11g1' succeeded
          CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'node11g1'
          CRS-2677: Stop of 'ora.cssdmonitor' on 'node11g1' succeeded
          CRS-2673: Attempting to stop 'ora.cssd' on 'node11g1'
          CRS-2677: Stop of 'ora.cssd' on 'node11g1' succeeded
          CRS-2673: Attempting to stop 'ora.gpnpd' on 'node11g1'
          CRS-2677: Stop of 'ora.gpnpd' on 'node11g1' succeeded
          CRS-2673: Attempting to stop 'ora.gipcd' on 'node11g1'
          CRS-2677: Stop of 'ora.gipcd' on 'node11g1' succeeded
          CRS-2673: Attempting to stop 'ora.mdnsd' on 'node11g1'
          CRS-2677: Stop of 'ora.mdnsd' on 'node11g1' succeeded
          CRS-2672: Attempting to start 'ora.mdnsd' on 'node11g1'
          CRS-2676: Start of 'ora.mdnsd' on 'node11g1' succeeded
          CRS-2672: Attempting to start 'ora.gipcd' on 'node11g1'
          CRS-2676: Start of 'ora.gipcd' on 'node11g1' succeeded
          CRS-2672: Attempting to start 'ora.gpnpd' on 'node11g1'
          CRS-2676: Start of 'ora.gpnpd' on 'node11g1' succeeded
          CRS-2672: Attempting to start 'ora.cssdmonitor' on 'node11g1'
          CRS-2676: Start of 'ora.cssdmonitor' on 'node11g1' succeeded
          CRS-2672: Attempting to start 'ora.cssd' on 'node11g1'
          CRS-2672: Attempting to start 'ora.diskmon' on 'node11g1'
          CRS-2676: Start of 'ora.diskmon' on 'node11g1' succeeded
          CRS-2676: Start of 'ora.cssd' on 'node11g1' succeeded
          CRS-2672: Attempting to start 'ora.ctssd' on 'node11g1'
          CRS-2676: Start of 'ora.ctssd' on 'node11g1' succeeded
          CRS-2672: Attempting to start 'ora.asm' on 'node11g1'
          CRS-2676: Start of 'ora.asm' on 'node11g1' succeeded
          CRS-2672: Attempting to start 'ora.crsd' on 'node11g1'
          CRS-2676: Start of 'ora.crsd' on 'node11g1' succeeded
          CRS-2672: Attempting to start 'ora.evmd' on 'node11g1'
          CRS-2676: Start of 'ora.evmd' on 'node11g1' succeeded
          Timed out waiting for the CRS stack to start.


          [grid@node11g1 node11g1]$ crsctl stat res -t -init
          --------------------------------------------------------------------------------
          NAME TARGET STATE SERVER STATE_DETAILS
          --------------------------------------------------------------------------------
          Cluster Resources
          --------------------------------------------------------------------------------
          ora.asm
          1 ONLINE ONLINE node11g1 Started
          ora.crsd
          1 ONLINE OFFLINE
          ora.cssd
          1 ONLINE ONLINE node11g1
          ora.cssdmonitor
          1 ONLINE ONLINE node11g1
          ora.ctssd
          1 ONLINE ONLINE node11g1 ACTIVE:0
          ora.diskmon
          1 ONLINE ONLINE node11g1
          ora.evmd
          1 ONLINE ONLINE node11g1
          ora.gipcd
          1 ONLINE ONLINE node11g1
          ora.gpnpd
          1 ONLINE ONLINE node11g1
          ora.mdnsd
          1 ONLINE ONLINE node11g1

          警告日志:
          [grid@node11g1 node11g1]$ more alertnode11g1.log
          Oracle Database 11g Clusterware Release 11.2.0.1.0 - Production Copyright 1996, 2009 Oracle. All rights reserved.
          2012-11-29 02:15:13.886
          [client(9075)]CRS-2106:The OLR location /u01/app/11.2.0/grid/cdata/node11g1.olr is inaccessible. Details in /u01/app/11.2.0/grid/log/node11g1/client/ocrconfig_9075.log.
          2012-11-29 02:15:13.988
          [client(9075)]CRS-2101:The OLR was formatted using version 3.
          2012-11-29 02:16:18.371
          [ohasd(9566)]CRS-2112:The OLR service started on node node11g1.
          2012-11-29 02:16:18.765
          [ohasd(9566)]CRS-8017:location: /etc/oracle/lastgasp has 16 reboot advisory log files, 0 were announced and 0 errors occurred
          2012-11-29 02:16:19.265
          [ohasd(9566)]CRS-2772:Server 'node11g1' has been assigned to pool 'Free'.
          [client(9764)]CRS-10001:ADVM/ACFS is not supported on centos-release-5-6.el5.centos.1

          2012-11-29 02:16:56.830
          [cssd(9886)]CRS-1713:CSSD daemon is started in exclusive mode
          2012-11-29 02:16:57.744
          [cssd(9886)]CRS-1709:Lease acquisition failed for node node11g1 because no voting file has been configured; Details at (:CSSNM00031:) in /u01/app/11.2.0/grid/log/node11g1/cssd/ocssd.log
          2012-11-29 02:17:15.778
          [cssd(9886)]CRS-1601:CSSD Reconfiguration complete. Active nodes are node11g1 .
          2012-11-29 02:17:18.784
          [ctssd(9945)]CRS-2407:The new Cluster Time Synchronization Service reference node is host node11g1.
          2012-11-29 02:17:19.261
          [ctssd(9945)]CRS-2401:The Cluster Time Synchronization Service started on host node11g1.
          2012-11-29 02:24:42.293
          [client(10337)]CRS-1006:The OCR location +CRS is inaccessible. Details in /u01/app/11.2.0/grid/log/node11g1/client/ocrconfig_10337.log.
          2012-11-29 02:25:23.861
          [client(10337)]CRS-1001:The OCR was formatted using version 3.
          2012-11-29 02:31:17.292
          [crsd(10652)]CRS-1012:The OCR service started on node node11g1.
          2012-11-29 02:34:37.540
          [cssd(9886)]CRS-1605:CSSD voting file is online: /dev/asm-diskc; details in /u01/app/11.2.0/grid/log/node11g1/cssd/ocssd.log.
          2012-11-29 02:34:38.081
          [cssd(9886)]CRS-1605:CSSD voting file is online: /dev/asm-diskd; details in /u01/app/11.2.0/grid/log/node11g1/cssd/ocssd.log.
          2012-11-29 02:34:38.570
          [cssd(9886)]CRS-1605:CSSD voting file is online: /dev/asm-diskb; details in /u01/app/11.2.0/grid/log/node11g1/cssd/ocssd.log.
          2012-11-29 02:34:39.786
          [cssd(9886)]CRS-1626:A Configuration change request completed successfully
          2012-11-29 02:34:40.336
          [cssd(9886)]CRS-1601:CSSD Reconfiguration complete. Active nodes are node11g1 .
          2012-11-29 03:15:37.834
          [ctssd(9945)]CRS-2405:The Cluster Time Synchronization Service on host node11g1 is shutdown by user
          2012-11-29 03:15:48.961
          [cssd(9886)]CRS-1603:CSSD on node node11g1 shutdown by user.
          2012-11-29 03:15:49.247
          [cssd(9886)]CRS-1625:Node node11g1, number 1, was manually shut down
          • 2. Re: Oracle11gR2  RAC root.sh报all disks are not OCR/OLR formatted
            LiuMaclean(刘相兵)
            你按照那个文档安装?

            你安装的什么版本的GI!!?

            提问的艺术 ,谢谢!
            • 3. Re: Oracle11gR2  RAC root.sh报all disks are not OCR/OLR formatted
              966789
              sorry 安装的版本是11.2.0.1.0
              主要参考 官方文档
              • 4. Re: Oracle11gR2  RAC root.sh报all disks are not OCR/OLR formatted
                LiuMaclean(刘相兵)
                请直接安装 11.2.0.3 版本的GI 杜绝 问题 !


                测试环境请参考我的 最佳实践安装视频 http://t.askmaclean.com/thread-1061-1-1.html
                • 5. Re: Oracle11gR2  RAC root.sh报all disks are not OCR/OLR formatted
                  user1920874
                  谢谢 把系统换成oracle linux 5.5 一切正常
                  按照你说的再试试

                  帖子经 user1920874编辑过