Oracle ASMLib 安裝完畢 Unable to update configuration linkage
該安裝的都安裝了,可是還是報錯了,不會多少linux,一步一步來找:
考慮到影響後續程式使用,決定重裝
先裝support,然後裝kernel驅動,然後在oracleasm update-driver
rpm -ivh oracleasm-support-2.1.8-1.el6.x86_64.rpm
yum install kmod-oracleasm (本人redhat6.4配置的是163centos6鏡像)
版本為:kmod-oracleasm-2.0.8-6.el6_7.x86_64
oracleasm update-driver
rpm -ivh oracleasmlib-2.0.4-1.el6.x86_64.rpm
繼續,沒有出現問題了。。。
劃盤:oracleasm createdisk data1 /dev/sda1
Instantiating disk: failed
然後設定
oracleasm configure -i
設定為oracle,oinstall
關閉selinux
不報錯了
繼續~
OUI安裝
安裝最後執行root.sh報錯
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 /u01/app/grid/product/11.2.0/grid/crs/install/roothas.pl line 296.
/u01/app/grid/11.2.0/grid/crs/install/roothas.pl -deconfig -force –verbose 復原
執行root.sh前執行下面
/bin/dd if=/var/tmp/.oracle/npohasd of=/dev/null bs=1024 count=1
INFO: Read: Configuring ASM failed with the following message:
INFO: Read: Configuring HA resource failed. The following error occured:
INFO: Read: PRCR-1079 : Failed to start resource ora.asm
INFO: Read: ORA-00445: background process "%s" did not start after %s seconds
INFO: Read: CRS-2674: Start of 'ora.asm' on 'oc0644314035' failed
INFO: Read:
INFO: Completed Plugin named: Automatic Storage Management Configuration Assistant
INS 20802 Automatic Storage Management Configuration Assistant failed
一波未平一波又起……最終查得是disks許可權問題
oracleasm configure -i 設定group 錯誤 修正後再建立disk
各種修改檔案許可權
An ASM Instance with SID +ASM is already detected
安裝GI後重啟作業系統後啟動ASM執行個體失敗及解決方案
SQL> startup
ORA-01078: failure in processing system parameters
ORA-29701: unable to connect to Cluster Synchronization Service
[grid@oragrid ~]$ crsctl check css
CRS-4639: Could not contact Oracle High Availability Services
CRS-4000: Command Check failed, or completed with errors.
[grid@oragrid ~]$ crsctl check has
CRS-4639: Could not contact Oracle High Availability Services
http://blog.itpub.net/28536251/viewspace-1690901/