你好,游客 登录 注册 搜索
背景:
阅读新闻

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

[日期:2017-01-03] 来源:Linux社区  作者:jyzhao [字体:大 中 小]

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

本文永久更新链接地址:http://www.linuxidc.com/Linux/2017-01/139141.htm

linux
相关资讯       ls  ls: 无法访问/usr/sbin/smartctl 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款