'+CRS' in '/etc/oracle/ocr.loc' and '/dev/raw/raw1' does not match
2014.12.05
今天在做10gR2 rac的時候遇見了下面這個問題:
[root@zhanglin2 oraInventory]# /u01/app/oracle/product/10.2.0/crs_1/root.sh
WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
WARNING: directory '/u01/app' is not owned by root
WARNING: directory '/u01' is not owned by root
Checking to see if Oracle CRS stack is already configured
Current Oracle Cluster Registry location '+CRS' in '/etc/oracle/ocr.loc' and '/dev/raw/raw1' does not match
Update either '/etc/oracle/ocr.loc' to use '/dev/raw/raw1' or variable CRS_OCR_LOCATIONS in rootconfig.sh with '+CRS' then rerun rootconfig.sh
[root@zhanglin2 oraInventory]#
我是使用裸裝置來存放ocr和votingdisk。這個問題是因為oracle找不到存放OCR的位置。
解決方法:
[root@rac1 ~]# cat /etc/oracle/ocr.loc
ocrconfig_loc=+OCR
local_only=FALSE
[root@rac1 oracle]# cat ocr.loc
ocrconfig_loc=/dev/raw/raw1 ---- 修改為裸裝置的位置
local_only=FALSE
然後再次執行第二個指令碼:
[root@zhanglin2 oracle]# /u01/app/oracle/product/10.2.0/crs_1/root.sh
WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
WARNING: directory '/u01/app' is not owned by root
WARNING: directory '/u01' is not owned by root
Checking to see if Oracle CRS stack is already configured
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
WARNING: directory '/u01/app' is not owned by root
WARNING: directory '/u01' is not owned by root
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: rac2 rac2-priv rac2
node 2: rac1 rac1-priv rac1
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
今天在做10gR2 rac的時候遇見了下面這個問題:
[root@zhanglin2 oraInventory]# /u01/app/oracle/product/10.2.0/crs_1/root.sh
WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
WARNING: directory '/u01/app' is not owned by root
WARNING: directory '/u01' is not owned by root
Checking to see if Oracle CRS stack is already configured
Current Oracle Cluster Registry location '+CRS' in '/etc/oracle/ocr.loc' and '/dev/raw/raw1' does not match
Update either '/etc/oracle/ocr.loc' to use '/dev/raw/raw1' or variable CRS_OCR_LOCATIONS in rootconfig.sh with '+CRS' then rerun rootconfig.sh
[root@zhanglin2 oraInventory]#
解決方法:
[root@rac1 ~]# cat /etc/oracle/ocr.loc
ocrconfig_loc=+OCR
local_only=FALSE
[root@rac1 oracle]# cat ocr.loc
ocrconfig_loc=/dev/raw/raw1 ---- 修改為裸裝置的位置
local_only=FALSE
然後再次執行第二個指令碼:
[root@zhanglin2 oracle]# /u01/app/oracle/product/10.2.0/crs_1/root.sh
WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
WARNING: directory '/u01/app' is not owned by root
WARNING: directory '/u01' is not owned by root
Checking to see if Oracle CRS stack is already configured
Setting the permissions on OCR backup directory
Setting up NS directories
Oracle Cluster Registry configuration upgraded successfully
WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
WARNING: directory '/u01/app' is not owned by root
WARNING: directory '/u01' is not owned by root
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: rac2 rac2-priv rac2
node 2: rac1 rac1-priv rac1
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30936525/viewspace-2016681/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Waring: /dev/centos/swap does not existdevCentOS
- Library source does not match the bytecode for class 最佳解決方案
- CRS-4124: Oracle High Availability Services startup failed. CRS-4000OracleAI
- Oracle:/etc/security/limits.confOracleMIT
- 如何處理Eclipse錯誤訊息 The declared package does not match the expected packageEclipsePackage
- ValueError: Length of values (141) does not match length of index (4278)問題的解決ErrorIndex
- 記錄GitHub使用過程中的 error: src refspec master does not match anyGithubErrorAST
- ORACLE CRS日誌中的ClssnmPollingThread Missed Checkins MessagesOraclethread
- CRS-4124: Oracle High Availability Services startup failed.OracleAI
- CRS Resource Introduction In Oracle 19c RAC-20220125Oracle
- Oracle Linux 6.7中 Oracle 11.2.0.4 RAC叢集CRS異常處理OracleLinux
- CentOS7和RHEL7在 /etc/fstab中不包含/dev/shmCentOSdev
- 11G oracle資料庫重新啟動crsOracle資料庫
- CRS-0019 CRS-0014 LFI-00142
- /etc/passwd & /etc/shadow 詳解
- git push origin master 時出現報錯 error: src refspec master does not match any error: failed to push someGitASTErrorAI
- CRS-2101:The OLR was formatted using version 3 ORACLE單機ASM報錯ORMOracleASM
- 11g ASM 重啟 HAC 報錯 CRS-4124: Oracle High AvailabilityASMOracleAI
- Match
- ETC2420 / ETC5242 Statistical ThinkingThinking
- [20190930]oracle raw型別轉化number指令碼.txtOracle型別指令碼
- /etc/alternatives
- Oracle12c叢集啟動時提示%CRS_LIMIT_OPENFILE%: invalid numberOracleMIT
- [20210804]oracle rac執行命令crs_stat -t -v緩慢的分析.txtOracle
- ORACLE 19C RAC叢集安裝與PRCR-1079&CRS-5017&ORA-03113Oracle
- JavaScript match()JavaScript
- 靜默安裝Oracle建庫時報Template General Purpose does not existOracle
- 在redhat7系統上為Oracle11g資料庫打PSU報CRS-4124 CRS-4000錯誤分析與追蹤RedhatOracle資料庫
- vmware + 裸裝置 + crs + oracle10g RAC搭建步驟(二):安裝linuxOracleLinux
- 新特性:/dev/shm對Oracle 11g的影響devOracle
- Could not find or access '/etc/ansible/bin/cfssljson /etc/ansible/bin/cfsslJSON
- fp-match
- JavaScript match()方法JavaScript
- python match用法Python
- 017 Vowels match
- solaris下清除crs的方法
- Oracle基本資料型別儲存格式淺析——RAW型別Oracle資料型別
- 11.2.0.1.0 RAC啟動使用root使用者啟動crs報錯CRS-4535
- Camera Raw中文Raw增效ACR數位相機Raw圖片編輯