RHEL5單機安裝11gR2 asm執行root.sh報錯:CRS-4124
原因是許可權的問題導致和has相關的很多資訊沒有真真寫入磁碟組
RHEL5單機安裝11gR2 asm執行root.sh報錯:CRS-4124
[@more@][root@localhost grid]# ./root.sh
Running Oracle 11g root.sh script...
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /opt/grid/product/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 ...
Creating /etc/oratab file...
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.
2015-03-26 06:06:18: Checking for super user privileges
2015-03-26 06:06:18: User has super user privileges
2015-03-26 06:06:18: Parsing the host name
Using configuration parameter file: /opt/grid/product/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'grid', privgrp 'oinstall'..
Operation successful.
CRS-4664: Node localhost successfully pinned.
Adding daemon to inittab
CRS-4124: Oracle High Availability Services startup failed.
CRS-4000: Command Start failed, or completed with errors.
ohasd failed to start: Inappropriate ioctl for device
ohasd failed to start: Inappropriate ioctl for device at /opt/grid/product/11.2.0/grid/crs/install/roothas.pl line 296.
[root@localhost grid]# cd /dev/oracleasm/disks
[root@localhost disks]# ls -l
total 0
brw-rw---- 1 oracle oinstall 8, 97 Mar 26 05:11 CRS
brw-rw---- 1 oracle oinstall 8, 49 Mar 26 05:12 DATA1
brw-rw---- 1 oracle oinstall 8, 65 Mar 26 05:12 DATA2
brw-rw---- 1 oracle oinstall 8, 81 Mar 26 05:12 FLASH
[root@localhost disks]# chown grid.oinstall CRS
[root@localhost disks]# ls -l
total 0
brw-rw---- 1 grid oinstall 8, 97 Mar 26 05:11 CRS
brw-rw---- 1 oracle oinstall 8, 49 Mar 26 05:12 DATA1
brw-rw---- 1 oracle oinstall 8, 65 Mar 26 05:12 DATA2
brw-rw---- 1 oracle oinstall 8, 81 Mar 26 05:12 FLASH
--===================================
之前DISK:CRS的owner是oracle,所以grid使用者沒有許可權寫入導致報錯。修改許可權之後如果不想重頭安裝,可以執行
$GRID_HOME/crs/install下的roothas.pl和rootcrs.pl(該命令一般用於rac安裝出錯清楚crs,單機下也可以嘗試使用)來清楚root.sh的執行結果,之後重新執行root.sh。
./roothas.pl -deconfig -verbose -force
rootcrs.pl -deconfig -verbose -force
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/19602/viewspace-1059630/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 10g rac安裝crs,執行root.sh報錯
- OEL6.8上安裝11.2.0.2執行root.sh報錯
- 安裝grid執行root.sh報錯ORA-15020 discovered duplicate ASM disk排查ASM
- linux平臺11gR2 grid安裝到執行root.sh時報錯Linux
- 安裝RAC 執行root.sh指令碼報錯,解決辦法指令碼
- Centos 6.4安裝rac,執行root.sh時報錯CentOS
- RHEL 7 安裝oracle rac 11.2.0.4執行root.sh報錯ohasd failed to startOracleAI
- rhel5.6安裝10g clusterware時,節點2執行root.sh報錯
- 【Oracle】11gR2的安裝Grid執行root.sh出現ohasd failed解決方案OracleAI
- 【ASM】Oracle ASM + 11gR2 + RHEL6.5 安裝ASMOracle
- 安裝或執行clone報錯 Unable to find 'kshell' in path
- 11.2.0.4單例項ASM安裝報錯ohasd failed to ... line 73.單例ASMAI
- 11gR2 rac安裝別忘記在hosts裡設定localhost,否則安裝grid執行root.sh不成功localhost
- 11GR2執行DBCA報錯誤(打補丁)
- 11g ASM 重啟 HAC 報錯 CRS-4124: Oracle High AvailabilityASMOracleAI
- 11gr2安裝Grid 時 node2 root.sh失敗Start of resource “ora.asm -init” failedASMAI
- Oracle Enterprise Linux 5.6下安裝Oracle 10g RAC執行root.sh報錯問題解決LinuxOracle 10g
- 單機環境安裝配置ASM例項ASM
- 安裝rac clusterware如何在root.sh失敗後快速重執行root.sh指令碼指令碼
- 11Gr2 RAC udev ASM openfiler(安裝文件)devASM
- windows下安裝python3.6.4完成,執行報錯WindowsPython
- 11gR2 安裝RAC節點2上 root.sh 報錯ORA-15072 ORA-15018
- 安裝grid時執行root.sh時的提示內容
- Oracle Restart 單例項執行root.sh報錯roothas.pl line 377【轉載】OracleREST單例
- 在Suse 12.4上安裝11.2.0.4的rac執行root.sh報錯“ORA-12547: TNS:lost contact”
- Oracle grid 11gR2 安裝報錯PRVF-5636Oracle
- 在rhel5上靜默(silent)安裝oracle10g(10.2.0.1)報錯Oracle
- 安裝oracle11g遇到的執行root.sh指令碼問題Oracle指令碼
- 11.2.0.4 RAC grid 執行root.sh 報錯libcap.so.1找不到
- 【流雲】Solaris安裝RAC執行root.sh失敗解決一例
- 單節點執行ASM例項ASM
- AIX6.1安裝ORACLE 11g(單機使用ASM)AIOracleASM
- 安裝ionic 報錯 安裝canvas報錯 解決辦法Canvas
- grid安裝執行root.sh時Timed out waiting for the CRS stack to start - 解除安裝gridAI
- nginx安裝報錯Nginx
- 安裝VUE報錯Vue
- oracle 11gR2 rac 執行root.sh建立diskgroup 不成功問題總結Oracle
- 安裝Oracle軟體報主機名錯誤Oracle