IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    opatch auto 出现unable to get oracle owner for 错误

    惜分飞发表于 2024-08-07 01:44:07
    love 0

    联系:手机/微信(+86 17813235971) QQ(107644445)QQ咨询惜分飞

    标题:opatch auto 出现unable to get oracle owner for 错误

    作者:惜分飞©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]

    在11.2.0.4环境中使用opatch auto 打psu补丁之时遇到unable to get oracle owner for 错误

    [root@rac1 35058300]# opatch auto .
    Executing /u01/app/11.2.0/grid/perl/bin/perl /u01/app/11.2.0/grid/OPatch/crs/patch11203.pl -patchdir . -patchn . 
       -paramfile /u01/app/11.2.0/grid/crs/install/crsconfig_params
    
    This is the main log file: /u01/app/11.2.0/grid/cfgtoollogs/opatchauto2024-08-06_22-25-22.log
    
    This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
    /u01/app/11.2.0/grid/cfgtoollogs/opatchauto2024-08-06_22-25-22.report.log
    
    2024-08-06 22:25:22: Starting Clusterware Patch Setup
    Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
    unable to get oracle owner for 
    

    根据mos:OPATCH AUTO Fails with “unable to get oracle owner for” in Multi-Byte Language Environment (Doc ID 1325256.1)的描述是由于多字节语言环境导致,检测当前系统环境,确实是中文语言

    [root@rac1 35058300]# env|grep LANG
    LANG=zh_CN.UTF-8
    

    export设置LANG=C,然后打patch成功

    [root@rac1 35058300]# export LANG=C
    [root@rac1 35058300]# opatch auto .
    Executing /u01/app/11.2.0/grid/perl/bin/perl /u01/app/11.2.0/grid/OPatch/crs/patch11203.pl -patchdir . -patchn .
      -paramfile /u01/app/11.2.0/grid/crs/install/crsconfig_params
    
    This is the main log file: /u01/app/11.2.0/grid/cfgtoollogs/opatchauto2024-08-06_22-27-31.log
    
    This file will show your detected configuration and all the steps that opatchauto attempted to do on your system:
    /u01/app/11.2.0/grid/cfgtoollogs/opatchauto2024-08-06_22-27-31.report.log
    
    2024-08-06 22:27:31: Starting Clusterware Patch Setup
    Using configuration parameter file: /u01/app/11.2.0/grid/crs/install/crsconfig_params
    
    Stopping RAC /u01/app/oracle/product/11.2.0/db_1 ...
    Stopped RAC /u01/app/oracle/product/11.2.0/db_1 successfully
    
    patch ././32758914/custom/server/32758914  apply successful for home  /u01/app/oracle/product/11.2.0/db_1 
    patch ././34998337  apply successful for home  /u01/app/oracle/product/11.2.0/db_1 
    
    Stopping CRS...
    Stopped CRS successfully
    
    patch ././32758914  apply successful for home  /u01/app/11.2.0/grid 
    patch ././34998337  apply successful for home  /u01/app/11.2.0/grid 
    patch ././33112794  apply successful for home  /u01/app/11.2.0/grid 
    
    Starting CRS...
    Installing Trace File Analyzer
    CRS-4123: Oracle High Availability Services has been started.
    
    Starting RAC /u01/app/oracle/product/11.2.0/db_1 ...
    Started RAC /u01/app/oracle/product/11.2.0/db_1 successfully
    
    opatch auto succeeded.
    
    • 11gR2 GI打PSU ORACLE_HOME空间不足案例—需要20G以上空闲空间
    • 19c 打RU patch遇到oui-patch.xml (Permission denied)问题
    • 11.2.0.4 GI单独安装tfa
    • 11.2.0.4 打patch遭遇extjobO: Operation not permitted处理
    • 11.2 crs启动超时dd npohasd 处理
    • oracle rac 12.2 执行root.sh报CLSRSC-400
    • 记录在linux 7中安装11.2.0.4 RAC遇到问题
    • fuser命令缺失导致19c打补丁失败
    • 打patch出现Copy failed—tfa服务导致部分lib未释放
    • 19c 非第一个节点执行root.sh报Error 4 opening dom ASM/Self in 错误
    • Oracle 小升级 opatch apply使用
    • 误修改/u01权限/所有者的故障恢复


沪ICP备19023445号-2号
友情链接