Oracle 19.20 patch 注意事项

news/2024/6/18 4:30:29 标签: oracle, 数据库

1. 打patch 用root 打

/u01/app/19.0.0/grid/OPatch/opatchauto apply /u01/app/patch/35319490

2.打patch 之前 所有NODE上OPatch 版本要一样

3.  OPatch 目录不要是root权限

4.打一台,一台自动重启。 有几个node 在几个node 打。patch 都要传到不同的node上

5.Patch包 给777 权限最好

6.文档说2 3 node可以并行打, 可能不行!

CAUSE

OPatch  is extracted as root user

SOLUTION

 - Change the ownership of $ORACLE_HOME/OPatch directory to the home owner, say grid

# chown -R grid: $ORACLE_HOME/OPatch

- Resume/retry patching operation

# opatchauto apply <PATCH_LOCATION>

[root@rac1 patch]# /u01/app/19.0.0/grid/OPatch/opatchauto apply /u01/app/patch/35319490

OPatchauto session is initiated at Tue Sep 26 15:05:47 2023

System initialization log file is /u01/app/19.0.0/grid/cfgtoollogs/opatchautodb/systemconfig2023-09-26_03-05-53PM.log.

Session log file is /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/opatchauto2023-09-26_03-06-36PM.log
The id for this session is R4NA
Remote command execution failed due to Can't open perl script "/u01/app/19.0.0/grid/OPatch/auto/database/bin/RemoteHostExecutor.pl": (null)
 Command output: 
oracle.dbsysmodel.driver.sdk.productdriver.ProductDriverException: Execution failed for host rac3 due to : java.lang.Exception: Remote comman
 Command output: 
OPatchAuto failed.

OPatchauto session completed at Tue Sep 26 15:06:56 2023
Time taken to complete the session 1 minute, 4 seconds

 opatchauto failed with error code 42
[root@rac1 patch]# /u01/app/19.0.0/grid/OPatch/opatchauto apply /u01/app/patch/35319490

OPatchauto session is initiated at Tue Sep 26 15:07:46 2023

System initialization log file is /u01/app/19.0.0/grid/cfgtoollogs/opatchautodb/systemconfig2023-09-26_03-07-50PM.log.

Session log file is /u01/app/19.0.0/grid/cfgtoollogs/opatchauto/opatchauto2023-09-26_03-08-09PM.log
The id for this session is HKAL
Remote command execution failed due to Can't open perl script "/u01/app/19.0.0/grid/OPatch/auto/database/bin/RemoteHostExecutor.pl": (null)
 Command output: 
oracle.dbsysmodel.driver.sdk.productdriver.ProductDriverException: Execution failed for host rac3 due to : java.lang.Exception: Remote comman
 Command output: 
OPatchAuto failed.

OPatchauto session completed at Tue Sep 26 15:08:23 2023
Time taken to complete the session 0 minute, 33 seconds

 opatchauto failed with error code 42

### node2 打完再打node3

[root@rac2 patch]# /u01/app/19.0.0/grid/OPatch/opatchauto apply /u01/app/patch/35319490

OPatchauto session is initiated at Tue Sep 26 17:34:34 2023

System initialization log file is /u01/app/19.0.0/grid/cfgtoollogs/opatchautodb/systemconfig2023-09-26_05-34-47PM.log.

Remote command execution failed due to Exception in thread "main" oracle.dbsysmodel.driver.sdk.productdriver.ProductDriverException: failed to detect Grid Infrastructure setup due to null
    at oracle.dbsysmodel.driver.sdk.productdriver.ClusterInformationLoader.detectCrsHome(ClusterInformationLoader.java:328)
    at oracle.dbsysmodel.driver.sdk.productdriver.ClusterInformationLoader.loadInventory(ClusterInformationLoader.java:81)
    at oracle.dbsysmodel.driver.sdk.productdriver.ClusterInformationLoader.getInstance(ClusterInformationLoader.java:70)
    at oracle.dbsysmodel.driver.sdk.productdriver.remote.HomeListCollector.executeAction(HomeListCollector.java:31)
    at oracle.dbsysmodel.driver.sdk.productdriver.remote.RemoteOperationHelper.main(RemoteOperationHelper.java:26)
 Command output: 
OPATCHAUTO-72050: System instance creation failed.
OPATCHAUTO-72050: Failed while retrieving system information.
OPATCHAUTO-72050: Please check log file for more details.

OPatchauto session completed at Tue Sep 26 17:35:53 2023
Time taken to complete the session 1 minute, 7 seconds

Topology creation failed.
 
 


http://www.niftyadmin.cn/n/5051509.html

相关文章

网友联手点燃亚运火炬,“数字火炬手”背后的助推器是什么?

“我们亚洲&#xff0c;山是高昂的头&#xff0c;我们亚洲&#xff0c;河像热血流……”9月23日晚&#xff0c;杭州第19届亚运会开幕式在钱塘江畔圆满完成。在备受瞩目的点火仪式中&#xff0c;最后一棒火炬手汪顺和承载着全亚洲亿万人热情的“数字火炬手”一起&#xff0c;共同…

DP7340——192KHz双声道输入24位AD 转换器

DP7340是一款完整的采样、模数音频信号转换、抗混叠滤波的芯片&#xff0c;在串行格式下以每声道最高200kHz采样率高达24位宽&#xff0c;并支持大部分的音频数据格式。 DP7340基于一个带线性模拟低通滤波器的五阶Multi-BitΔ∑调制器&#xff0c;自动检测信号频率和主时钟频率…

免费玩云上大数据--海汼部落实验室

玩大数据遇到的问题 大家好&#xff0c;这次分享一个免费的大数据部署工具&#xff0c;并非是给人家打广告&#xff0c;试过了真的爽。 学习大数据的人都知道&#xff0c;如果用VMware模拟Linux搭建大数据集群的话我们需要很高的内存和硬盘内存&#xff0c;随随便便跑一下mapre…

timm模型无法联网下载采用本地读取

最新的timm版本(0.9.x)默认使用huggingface hub作为权重&#xff0c;优先于torch hub缓存&#xff0c;许多权重已经为模型更改重新映射&#xff0c;所以最好通过HF hub下载。Kaggle真的应该支持通过HF hub&#xff0c;或者至少正确地缓存它&#xff0c;但他们似乎没有兴趣让事情…

compact unwind compressed function offset doesn‘t fit in 24 bits

报错详情&#xff1a; Xcode 15 beat6 Assertion failed: (false && "compact unwind compressed function offset doesnt fit in 24 bits"), function operator(), file Layout.cpp, line 5758. 解决方案&#xff1a; 在Build Settings-> other linker f…

CS SD NAND在STM32精英V2开发板的测试-是时候将TF卡换为SD NAND了

前言 嵌入式项目中,比较常见的存储扩展方案是使用TF/SD卡或者EMMC或者RAW NAND,各种方案都有其优缺点,而SD NAND相对于上述方案具备很多优势,是目前嵌入式项目中存储扩展方案的一个非常不错的选择,正好一个项目在选择NAND存储方案, 恰巧论坛中联系到雷龙公司申请到了两片SD NAN…

学习windows系统让python脚本在后台运行的方法

学习windows系统让python脚本在后台运行的方法 windows 后台运行并输出日志文件windows 前台运行并输出日志文件 windows 后台运行并输出日志文件 命令&#xff1a; python qipa250.py >> qipa250_logs.log 2>&1 &窗口关闭后程序也就关闭了 windows 前台运…

分析训练速度慢

一、分析GPU nvidia-smi二、分析CPU使用率 htop查看cpu96个核的使用率 三、分析磁盘IO apt-get install iotop iotop分析GPU和CPU都没有使用完&#xff0c;瓶颈在磁盘IO。 四、磁盘IO瓶颈解决方法 1、拼成一张图片&#xff0c; 2、多张图内存拼在一起&#xff0c; 3、增大磁…