ls: 无法访问/usr/sbin/smartctl: 没有那个文件或目录

本文介绍了解决RHEL6.5环境下Oracle11.2.0.4 RAC安装过程中遇到的cvuqdisk-1.0.9-1包依赖缺失问题。通过安装smartmontools包解决了因缺少/usr/sbin/smartctl导致的安装失败,并成功完成了cvuqdisk的安装。

环境: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。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值