zoukankan      html  css  js  c++  java
  • IOException during persisting of HostData OPatchAuto failed

    执行应用补丁如下报错

    [root@cqzldb1 software]# opatchauto apply /software/33248471/33182768/ -analyze
    
    OPatchauto session is initiated at Mon Nov 29 17:49:04 2021
    
    System initialization log file is /u01/app/19.0.0/grid/product/crs_1/cfgtoollogs/opatchautodb/systemconfig2021-11-29_05-49-06PM.log.
    
    Session log file is /u01/app/19.0.0/grid/product/crs_1/cfgtoollogs/opatchauto/opatchauto2021-11-29_05-49-44PM.log
    IOException during persisting of HostData object on localhost
    oracle.dbsysmodel.driver.sdk.productdriver.ProductDriverException: IOException during persisting of HostData OPatchAuto failed.
    
    OPatchauto session completed at Mon Nov 29 17:49:45 2021
    Time taken to complete the session 0 minute, 41 seconds
    
     opatchauto failed with error code 42
    

    查看opatch目录权限

    [grid@cqzldb1 ~]$ cd $ORACLE_HOME
    [grid@cqzldb1 crs_1]$ ll
    total 108
    drwxr-xr-x  3 root   root        22 Nov 29 14:26 acfs
    drwxr-xr-x  3 grid   oinstall    18 Nov 29 14:23 acfsccm
    drwxr-xr-x  3 grid   oinstall    18 Nov 29 14:23 acfsccreg
    drwxr-xr-x  3 grid   oinstall    18 Nov 29 14:23 acfscm
    drwxr-xr-x  3 grid   oinstall    18 Nov 29 14:23 acfsiob
    drwxr-xr-x  3 grid   oinstall    18 Nov 29 14:23 acfsrd
    drwxr-xr-x  3 grid   oinstall    18 Nov 29 14:23 acfsrm
    drwxr-xr-x  2 grid   oinstall   102 Nov 29 14:20 addnode
    drwxr-xr-x  3 grid   oinstall    18 Nov 29 14:23 advmccb
    drwxr-xr-x 10 grid   oinstall   106 Nov 29 14:48 assistants
    drwxrwxrwt  6 root   oinstall    52 Nov 29 14:23 auth
    drwxr-xr-x  2 root   oinstall 12288 Nov 29 14:32 bin
    drwxrwxr-x  4 grid   oinstall    38 Nov 29 14:23 cdata
    drwxr-x---  3 grid   oinstall    18 Nov 29 14:23 cdp
    drwxrwxr-x  8 oracle oinstall  4096 Nov 29 17:49 cfgtoollogs
    
    
    

    对目录进行重新授权
    chown grid:oinstall -R OPatch

  • 相关阅读:
    mallocbrk/mmap
    CMAKE相关
    cmake指定编译器版本及路径
    mmap 详解
    linux——tool 好好工具
    nm C /usr/lib/libstdc++.so.6 | grep runtime_error显示operator=存在
    程序可执行文件分析常用命令
    Linux中多种方法实时记录历史命令(转)
    HTML——CSS的基础语法1
    HTML的正确入门姿势——基本结构与基本标签
  • 原文地址:https://www.cnblogs.com/hanglinux/p/15620798.html
Copyright © 2011-2022 走看看