環境:RHEL6.5 + Oracle 11.2.0.4 RAC
在安裝RAC時,檢查時缺少包 cvuqdisk-1.0.9-1,oracle提供腳本修復安裝。
但在執行時報錯:
[root@oradb23 ~]# /tmp/CVU_11.2.0.4.0_grid/runfixup.sh
Response file being used is :/tmp/CVU_11.2.0.4.0_grid/fixup.response
Enable file being used is :/tmp/CVU_11.2.0.4.0_grid/fixup.enable
Log file location: /tmp/CVU_11.2.0.4.0_grid/orarun.log
Installing Package /tmp/CVU_11.2.0.4.0_grid//cvuqdisk-1.0.9-1.rpm
Preparing... ########################################### [100%]
ls: 無法訪問/usr/sbin/smartctl: 沒有那個文件或目錄
/usr/sbin/smartctl not found.
error: %pre(cvuqdisk-1.0.9-1.x86_64) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping cvuqdisk-1.0.9-1
google搜索發現是因為系統缺少smartmontools這個包。
使用yum 安裝
[root@oradb23 ~]# yum install smartmontools
...
Installed:
smartmontools.x86_64 1:5.43-1.el6
Dependency Installed:
mailx.x86_64 0:12.4-7.el6
Complete!
再次嘗試安裝成功
[root@oradb23 ~]# /tmp/CVU_11.2.0.4.0_grid/runfixup.sh
Response file being used is :/tmp/CVU_11.2.0.4.0_grid/fixup.response
Enable file being used is :/tmp/CVU_11.2.0.4.0_grid/fixup.enable
Log file location: /tmp/CVU_11.2.0.4.0_grid/orarun.log
Installing Package /tmp/CVU_11.2.0.4.0_grid//cvuqdisk-1.0.9-1.rpm
Preparing... ########################################### [100%]
1:cvuqdisk ########################################### [100%]
最后只需要在其他節點都yum安裝smartmontools這個包,然后即可運行oracle提供的腳本成功安裝cvuqdisk-1.0.9-1。