zoukankan      html  css  js  c++  java
  • 补丁安装报错does not exists or is not readable

    测试环境补丁安装时报错,追踪补丁日志,得到

    does not exists or is not readable
    发现是补丁文件的权限是root,root 修改权限后,重新打补丁OK
    [root@rac1 software]# /picclife/app/11.2.0/grid/OPatch/opatch auto /picclife/software/22191577
    Executing /picclife/app/11.2.0/grid/perl/bin/perl /picclife/app/11.2.0/grid/OPatch/crs/patch11203.pl -patchdir /picclife/software -patchn 22191577 -paramfile /picclife/app/11.2.0/grid/crs/install/crsconfig_params
    
    This is the main log file: /picclife/app/11.2.0/grid/cfgtoollogs/opatchauto2020-03-11_16-10-07.log
    
    This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
    /picclife/app/11.2.0/grid/cfgtoollogs/opatchauto2020-03-11_16-10-07.report.log
    
    2020-03-11 16:10:07: Starting Clusterware Patch Setup
    Using configuration parameter file: /picclife/app/11.2.0/grid/crs/install/crsconfig_params
    
    Stopping RAC /picclife/app/oracle/product/11.2.0/db_1 ...
    Stopped RAC /picclife/app/oracle/product/11.2.0/db_1 successfully
    
    patch /picclife/software/22191577/21948347  apply failed  for home  /picclife/app/oracle/product/11.2.0/db_1
    
    Starting RAC /picclife/app/oracle/product/11.2.0/db_1 ...
    Started RAC /picclife/app/oracle/product/11.2.0/db_1 successfully
    
    opatch auto succeeded.
    
    
    # vi /picclife/app/11.2.0/grid/cfgtoollogs/opatchauto2020-03-11_16-10-07.log  
     Patch 21948347:
     Copy Action: Source File "/picclife/software/22191577/21948347/21948347/files/sysman/config/emd.properties.template" does not exists or is not readable
     'oracle.sysman.agent, 10.2.0.4.5': Cannot copy file from 'emd.properties.template' to '/picclife/app/oracle/product/11.2.0/db_1/sysman/config/emd.properties.template'
     UtilSession failed:
     Prerequisite check "CheckApplicable" failed.
     Log file location: /picclife/app/oracle/product/11.2.0/db_1/cfgtoollogs/opatch/opatch2020-03-11_16-11-06PM_1.log
     OPatch failed with error code 73
    
    
                                        
    [root@rac1 software]# cd /picclife/app/oracle/product/11.2.0/db_1/sysman/config/
    [root@rac1 config]# ls -lrt emd.properties.template
    -rw-r--r-- 1 oracle oinstall 27839 May 18  2010 emd.properties.template
    [root@rac1 config]# ls -lrt /picclife/software/22191577/21948347/21948347/files/sysman/config/emd.properties.template
    -rwxrwx--- 1 root root 28119 Dec 14  2015 /picclife/software/22191577/21948347/21948347/files/sysman/config/emd.properties.template
    
    修改权限!
    # chown -R grid.oinstall 22191577/
    # chmod -R 777 22191577/
    
    再次补丁安装
  • 相关阅读:
    C# 操作配置文件
    C# Excel操作类
    没有找到 mspdb100.dll 的解决办法
    工厂方法模式
    .Net互操作2
    The certificate used to sign “AppName” has either expired or has been revoked. An updated certificate is required to sign and install the application解决
    手机抓包xcode自带命令行工具配合wireshark实现
    expecting SSH2_MSG_KEX_ECDH_REPLY ssh_dispatch_run_fatal问题解决
    使用ssh-keygen设置ssh无密码登录
    远程复制文件到服务器
  • 原文地址:https://www.cnblogs.com/lvcha001/p/12460463.html
Copyright © 2011-2022 走看看