zoukankan      html  css  js  c++  java
  • ls: 无法访问/usr/sbin/smartctl: 没有那个文件或目录

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

  • 相关阅读:
    美化的滚动条
    网站系统开发参考网址
    正则表达式获取URL参数
    类实例 及 实例化对象 对象引用
    C# 静态方法 静态属性 调用静态方法
    C# 静态方法调用非静态方法
    winform 窗体间传值
    从数据库中读出数据并输出
    数据库链接字符串
    DbHelper
  • 原文地址:https://www.cnblogs.com/jyzhao/p/6232652.html
Copyright © 2011-2022 走看看