首页 > 其他分享 >19.17RU安装问题汇总

19.17RU安装问题汇总

时间:2023-08-11 21:32:31浏览次数:42  
标签:RU 19.3 app 汇总 patch 19.17 registry sqlpatch oracle

问题概述

19.17RU安装问题汇总

一、lib库被其他用户使用

二、CRS-1159: The cluster cannot be set to rolling patch mode

三、 No read or write permission to ORACLE_HOME/.patch_storage

四、Datapatch:couldn't open encmap gbk.enc

五、CRS-6706: Oracle Clusterware Release patch level ('nnn') does not match Software patch level ('mmm') 

问题原因

解决方案

一、.lib库被其他用户使用

在安装DB软件的时候,总是出现lib库被其他用户使用的情况

Following active executables are used by opatch process :

/oracle/app/oracle/product/19.3.0/db_1/lib/libclntsh.so.19.1                                   

 /oracle/app/oracle/product/19.3.0/db_1/lib/libclntsh.so.18.1

 

处理办法:

1)如果是不指定-oh时,当出现CRS service brought down successfully on home /oracle/app/19.3.0/grid显示的时候

 

2)如果指定-oh时,当出现Bringing down database service on home /oracle/app/oracle/product/19.3.0/db_1

 

请用root用户执行

mv /oracle/app/oracle/product/19.3.0/db_1/lib/libclntsh.so.19.1 /oracle/app/oracle/product/19.3.0/db_1/lib/libclntsh.so.19.1_bak

 

mv /oracle/app/oracle/product/19.3.0/db_1/lib/libclntsh.so.18.1 /oracle/app/oracle/product/19.3.0/db_1/lib/libclntsh.so.18.1_bak

 

二、.CRS-1159: The cluster cannot be set to rolling patch mode

发现安装测试时,可能会遇到以下错误:
Using configuration parameter file: /oracle/app/19.3.0/grid/opatchautocfg/db/dbtmp/bootstrap_cs-shdb2/patchwork/crs/install/crsconfig_params
The log of current session can be found at:
  /oracle/app/19.3.0/grid/crsdata/cs-shdb2/crsconfig/crs_prepatch_apply_inplace_cs-shdb2_2022-03-29_10-42-24AM.log
Oracle Clusterware active version on the cluster is [19.3.0.0.0]. The cluster upgrade state is [ROLLING PATCH]. The cluster active patch level is [869426834].
CRS-1159: The cluster cannot be set to rolling patch mode because Oracle Clusterware is not active on at least one remote node.
CRS-4000: Command Start failed, or completed with errors.
2022/03/29 10:42:37 CLSRSC-430: Failed to start rolling patch mode

该错误由于19.9安装不规范导致.
用root用户执行
/oracle/app/19.3.0/grid/crs/install/rootcrs.sh -prepatch
/oracle/app/19.3.0/grid/crs/install/rootcrs.sh -postpatch

 

三、 No read or write permission to ORACLE_HOME/.patch_storage

OraInventory/ContentsXML目录的inventory.xml中ORACLE_HOME信息不对,打补丁时会出现
OPatchSession cannot load inventory for the given Oracle Home /oracle/app/oracle/product/19.3.0/db_1. Possible causes are:
   No read or write permission to ORACLE_HOME/.patch_storage
   Central Inventory is locked by another OUI instance
   No read permission to Central Inventory
   The lock file exists in ORACLE_HOME/.patch_storage
   The Oracle Home does not exist in Central Inventory
将文件中的路径调整为正确的路径

四、Datapatch:couldn't open encmap gbk.enc

在单点登录系统执行datapatch时,遇到以下报错:
patch 30484981:Error reading descriptor from registry :couldn't open encmap gbk.enc

确认为Oracle BUG,需要重建registry$sqlpatch数据字典,步骤如下:
Take the backup of registry$sqlpatch.
SQL>create table registry$sqlpatch_org as select * from registry$sqlpatch ;
drop the table registry$sqlpatch.
 SQL>drop table registry$sqlpatch;
      or
SQL> exec dbms_pdb.exec_as_oracle_script('drop table registry$sqlpatch');
Re-create the table by running the script.
 SQL>@$ORACLE_HOME/rdbms/admin/catsqlreg.sql
 SQL> exit
重建过程中,遇到registry$sqlpatch_ru_info is already used by an existing object
SQL>drop table registry$sqlpatch_ru_info;

需要删除registry$sqlpatch_ru_info对象,再次重建registry$sqlpatch数据字典后,恢复正常。

五、CRS-6706: Oracle Clusterware Release patch level ('nnn') does not match Software patch level ('mmm') 

如果补丁都已经正确应用

#<GRID_HOME>/crs/install:>./rootcrs.sh -unlock

#<GRID_HOME>/bin:>./clscfg -localpatch

#<GRID_HOME>/bin:>./clscfg -patch

#<GRID_HOME>/crs/install:> ./rootcrs.sh -lock

标签:RU,19.3,app,汇总,patch,19.17,registry,sqlpatch,oracle
From: https://blog.51cto.com/u_13482808/7053092

相关文章

  • RunnerGo的相比较JMeter优势,能不能替代?
    目前在性能测试领域市场jmeter占有率是非常高的,主要原因是相对比其他性能测试工具使用更简单(开源、易扩展),功能更强大(满足多种协议的接口),但是随着研发协同的升级,平台化的性能测试工具更能高效的基于团队开展协作,比如我们今天要说的开源测试平台RunnerGo。性能测试工具平台化优势Runn......
  • onnx_runtime 推理
    onnx_runtime推理importnumpyasnpimportonnximportonnxruntimeasrt#createinputdatainput_data=np.ones((1,3,299,299),dtype=np.float32)#createruntimesessionsess=rt.InferenceSession("inception_v3.onnx")#getoutputnameinput......
  • ruoyicloud从mybatis升级至mybatis-plus
     "error:cannotexecute.becausecannotfindcacheofTableInfoforentity!"mybatis-plus框架TABLE_INFO_CACHE获取不到对应的TableInfo对象https://blog.csdn.net/weixin_45525272/article/details/123694959 注意在yml配置中增加相关配置 #MyBatis-plus配置......
  • 三维视觉、SLAM方向全球顶尖实验室汇总
    欧洲英国伦敦大学帝国理工学院Dyson机器人实验室http://www.imperial.ac.uk/dyson-robotics-lab简介:伦敦帝国理工学院戴森机器人实验室成立于2014年,由AndrewDavison.教授领导。是戴森公司和帝国理工学院领导机器人视觉小组AndrewDavison教授的合作实验室,AndrewDavison是视觉SL......
  • ruoyi-cloud excel导入数据
    ruoyi-cloudexcel导入数据说明本文以导入部门数据为例,说明excel如何导入实现部门页面修改在ruoyi-ui->src->views->system->dept->index.vue中更改添加导入按钮<el-col:span="1.5"><el-buttontype="success"plainicon="el-......
  • WPF图形控件使用之-VisualBrush图形画刷
    VisualBrush 背景图 Background上画,线条(LineGeometry)、几何图形(RectangleGeometry)、椭圆(EllipseGeometry)、弧线(ArcSegment )、各种控件等,相对与DrawingBrush书写更简单一些。 属性说明备注Viewport(从左向右,从上向下,图像宽度放大比例,图像高度放大比例)放大背......
  • Ubuntu20.04 下编译和运行 FreeSWITCH的问题汇总
    1.Ubuntu20.04下编译和运行FreeSWITCH的问题汇总1.1.环境Ubuntu20.04.2LTS(Linux5.4.0-152-genericx86_64GNU/Linux)FreeSWITCH-1.10.9-release1.2.结论根据配置和编译过程中的错误提示,基本上就是一些依赖库的缺失问题,根据提示给出的依赖库及其版本要求,只要能在a......
  • 考研数据结构——每日一题[最小生成树Kruskal]
    Kruskal算法O(mlogm)贪心按边权从小到大加入边,并查集判断点是否在集合中,不在的加入并查集#include<iostream>#include<algorithm>#include<cstring>usingnamespacestd;constintN=510 , M=100010;intn,m;structEdge{ inta,b,c;//a->b:value=c bo......
  • 解决net core while true 内存堆积问题
      在.NETCore中,可以使用 Task.Delay 方法结合递归调用来实现无限循环的方式,并且每次循环都释放内存。下面是一个示例代码: usingSystem;usingSystem.Threading;usingSystem.Threading.Tasks;publicclassProgram{publicstaticasyncTaskMain(str......
  • The MySQL server is running with the LOCK_WRITE_GROWTH option so it cannot execu
    然后百度参考:TheMySQLserverisrunningwiththeLOCK_WRITE_GROWTHoptionsoitcannotexecutethisstatement_冰尘s1的博客-CSDN博客mysql报错TheMySQLserverisrunningwiththeLOCK_WRITE_GROWTHoptionsoitcannotexecutethisstatem_言默夜雨的博客-CSDN博客......