首页 > 其他分享 >开启PDB时报错ORA-00800、ORA-65054

开启PDB时报错ORA-00800、ORA-65054

时间:2024-09-12 13:23:13浏览次数:3  
标签:bin tmis1 app 192.168 65054 oracle ORA PDB u01

问题描述:开启PDB时报错ORA-00800、ORA-65054,如下所示:
数据库信息:账务库备库1节点 IP:192.168.133.183 实例名:tmis1 版本:oracle 19.20
1、告警信息
2024-09-10T22:19:44.336563+08:00
Errors in file /u01/app/oracle/diag/rdbms/tmisdg/tmis1/trace/tmis1_vktm_152164.trc  (incident=9280096) (PDBNAME=CDB$ROOT):
ORA-00800: soft external error, arguments: [Set Priority Failed], [VKTM], [Check traces and OS configuration], [Check Oracle document and MOS notes], []
Incident details in: /u01/app/oracle/diag/rdbms/tmisdg/tmis1/incident/incdir_9280096/tmis1_vktm_152164_i9280096.trc
......
2024-09-10T22:20:02.153306+08:00
ORCLPDB(3):Error 65054 during pluggable database ORCLPDB opening in read write 
2024-09-10T22:20:02.153350+08:00
TMISPDB(4):Error 65054 during pluggable database TMISPDB opening in read write 
2024-09-10T22:20:02.153641+08:00
ORCLPDB(3):Errors in file /u01/app/oracle/diag/rdbms/tmisdg/tmis1/trace/tmis1_p000_156773.trc:
ORA-65054: Cannot open a pluggable database in the desired mode.
2024-09-10T22:20:02.153724+08:00
TMISPDB(4):Errors in file /u01/app/oracle/diag/rdbms/tmisdg/tmis1/trace/tmis1_p001_156777.trc:
ORA-65054: Cannot open a pluggable database in the desired mode.
2024-09-10T22:20:02.153783+08:00
Errors in file /u01/app/oracle/diag/rdbms/tmisdg/tmis1/trace/tmis1_p000_156773.trc:
ORA-65054: Cannot open a pluggable database in the desired mode.
2024-09-10T22:20:02.153884+08:00
Errors in file /u01/app/oracle/diag/rdbms/tmisdg/tmis1/trace/tmis1_p001_156777.trc:
ORA-65054: Cannot open a pluggable database in the desired mode.
2024-09-10T22:20:02.154562+08:00
Unable to restore open state for pluggable databases due to the following errors.
2024-09-10T22:20:02.154674+08:00
Errors in file /u01/app/oracle/diag/rdbms/tmisdg/tmis1/trace/tmis1_ora_156353.trc:
ORA-65054: Cannot open a pluggable database in the desired mode.
Physical standby database opened for read only access.

2、解决方案
根据MOS [Doc ID 2718971.1],确认到该节点$ORACLE_HOME/bin/oradism权限为750.
[oracle@hisdb1 /home/oracle]$ip a | grep 133.183
    inet 192.168.133.183/26 brd 192.168.133.191 scope global bondeth0
[oracle@hisdb1 /home/oracle]$cd $ORACLE_HOME
[oracle@hisdb1 /u01/app/oracle/product/19.0.0.0/dbhome_1]$cd bin
[oracle@hisdb1 /u01/app/oracle/product/19.0.0.0/dbhome_1/bin]$ls -ltr oradism
-rwxr-x--- 1 oracle oinstall 145920 Jun 21  2023 oradism

正常节点该文件权限为4750,如下所示:
[oracle@cblnp /u01/app/oracle/product/19.0.0/dbhome_1/bin]$ls -ltr oradism
-rwsr-x--- 1 root oinstall 145920 Jun 21  2023 oradism
[oracle@cblnp /u01/app/oracle/product/19.0.0/dbhome_1/bin]$  ip a | grep 131
    inet 192.168.133.131/26 brd 192.168.133.191 scope global ebond2.807

[oracle@hisdb2 /u01/app/oracle/product/19.0.0.0/dbhome_1/bin]$ls -ltr oradism
-rwsr-x--- 1 root oinstall 145920 Jun 21  2023 oradism
[oracle@hisdb2 /u01/app/oracle/product/19.0.0.0/dbhome_1/bin]$   ip a | grep 184
    inet 192.168.133.184/26 brd 192.168.133.191 scope global bondeth0
	
小结:因此建议将192.168.133.183节点的$ORACLE_HOME/bin/oradism权限修改为4750,具体指令如下:
[oracle@hisdb1 /home/oracle]$ cd $ORACLE_HOME/bin
[oracle@hisdb1 /home/oracle]$ chmod u+s oradism

3、其它相关查询
-- 异常节点192.168.133.183
[oracle@hisdb1 /home/oracle]$ cat /sys/fs/cgroup/cpu,cpuacct/system.slice/cpu.rt_runtime_us
0
[oracle@hisdb1 /home/oracle]$ cat /sys/fs/cgroup/cpu,cpuacct/user.slice/cpu.rt_runtime_us
0

-- 正常节点 192.168.133.131
[oracle@cblnp /u01/app/oracle/product/19.0.0/dbhome_1/bin]$ cat /sys/fs/cgroup/cpu,cpuacct/system.slice/cpu.rt_runtime_us
0
[oracle@cblnp /u01/app/oracle/product/19.0.0/dbhome_1/bin]$ cat /sys/fs/cgroup/cpu,cpuacct/user.slice/cpu.rt_runtime_us
0	

说明:cpu.rt_runtime_us 参数配置在异常节点和正常节点一致,意味着该参数不用修改.

-- Check the priority of VKTM or LMS* @RDBMS level
[oracle@hisdb1 /u01/app/oracle/product/19.0.0.0/dbhome_1/bin]$ sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Wed Sep 11 09:56:31 2024
Version 19.20.0.0.0

Copyright (c) 1982, 2022, Oracle.  All rights reserved.


Connected to:
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.20.0.0.0

SQL> show pdbs

    CON_ID CON_NAME                       OPEN MODE  RESTRICTED
---------- ------------------------------ ---------- ----------
         2 PDB$SEED                       READ ONLY  NO
         3 ORCLPDB                        READ ONLY  NO
         4 TMISPDB                        READ ONLY  NO
		 
set linesize 680
col Parameter for a30
col "Session Value" for a16
col "Instance Value" for a16
col "Description"  for a30
select a.ksppinm "Parameter", b.ksppstvl "Session Value", c.ksppstvl "Instance Value", a.KSPPDESC "Description" 
  from x$ksppi a, x$ksppcv b, x$ksppsv c 
 where a.indx = b.indx and a.indx = c.indx and a.ksppinm like '_%' and a.ksppinm like '_highest_priority_process%';

Parameter                      Session Value    Instance Value   Description
------------------------------ ---------------- ---------------- ------------------------------
_highest_priority_processes    VKTM             VKTM             Highest Priority Process Name
                                                                 Mask
																 
说明:确认值为"VKTM",为正确设置的值.

4、总结
此异常场景中,建议将192.168.133.183节点的$ORACLE_HOME/bin/oradism权限修改为4750.														 

标签:bin,tmis1,app,192.168,65054,oracle,ORA,PDB,u01
From: https://blog.51cto.com/u_12991611/11990929

相关文章

  • Oracle 19c OCP 认证考试 082 题库(第20题)- 2024年修正版
    【优技教育】Oracle19cOCP082题库(Q20题)-2024年修正版考试科目:1Z0-082考试题量:90通过分数:60%考试时间:150min本文为(CUUG原创)整理并解析,转发请注明出处,禁止抄袭及未经注明出处的转载。原文地址:http://www.cuug.com/index.php?s=/home/article/detail/id/3401.html第......
  • UNO WinUI 已知问题 在 XAML 条件构建里将 win 平台加入 Ignorable 将构建失败
    如果在UNO项目里面,为了进行XAML条件构建,将win平台加入到mc:Ignorable里面,将会在构建时提示XamlInternalErrorerrorWMC9999:Unexpected'NONE'inparserule'Element::=.EmptyElement(StartElementElementBody).'.错误如以下的代码,将会在构建时失败,提示X......
  • MemoRAG:迈向下一代基于记忆的知识发现
    在当今信息化快速发展的时代,如何有效地从庞大的数据中提取有用的信息,已经成为一个亟待解决的挑战。传统的检索增强生成(RAG)系统在处理复杂查询时往往面临诸多限制。为了解决这些问题,研究者们提出了MemoRAG,一个基于长期记忆的创新框架。本文将深入探讨MemoRAG的架构、功能及......
  • 原神蒙德-Typora模板
    基于Newsprint主题开发的一种Typora模板新建模板打开Typora-文件-偏好设置-外观-打开主题文件夹找到其中的Newsprint(应该有一个文件夹+一个css,都要),拷贝副本,重命名(我命名的是“custom”),一定要这一步,不然后期更新的时候会覆盖修改打开其中的custom.css,用以下代码......
  • Oracle 19c OCP 认证考试 082 题库(第19题)- 2024年修正版
    【优技教育】Oracle19cOCP082题库(Q19题)-2024年修正版考试科目:1Z0-082考试题量:90通过分数:60%考试时间:150min本文为(CUUG原创)整理并解析,转发请注明出处,禁止抄袭及未经注明出处的转载。原文地址:http://www.cuug.com.cn/ocp/082kaoshitiku/38228860619.html第19题:Q1......
  • Oracle索引常用操作详解
    在Oracle中,索引是一种数据库对象,用于提高查询性能。通过索引,Oracle可以更快地找到数据,尤其是在处理大量数据时。常见的索引类型包括B-Tree索引、位图索引、唯一索引等。索引可以加速查询,但过多的索引可能会影响数据修改的性能,因此需要合理使用。1.索引的基本操作创......
  • Recovery Catalog Schema Upgrade Fails With ORA-02298 On Constraint ROUT_F3
    OracleDatabase-EnterpriseEdition-Version19.16.0.0.0andlaterRecoveryCatalogschemaupgradetoversion19.16 failsWithORA-02298onconstraintROUT_F3RMAN>upgradecatalogrecoverycatalogispartiallyupgradedto19.16.00.00errorcreatingu......
  • uniapp 将数据存储在本地缓存setStorage及从本地缓存中异步获取getStorage
    一、uni.setStorage(OBJECT)将数据存储在本地缓存中指定的key中,会覆盖掉原来该key对应的内容,这是一个异步接口。HarmonyOSNext兼容性HarmonyOSNextHBuilderX4.23OBJECT参数说明参数名类型必填说明keyString是本地缓存中的指定的keydat......
  • Oracle函数之LISTAGG用法
    官方文档的解释如下:Foraspecifiedmeasure, LISTAGG ordersdatawithineachgroupspecifiedinthe ORDER BY clauseandthenconcatenatesthevaluesofthemeasurecolumn.即在每个分组内,LISTAGG根据orderby子句对列植进行排序,将排序后的结果拼接起来。measure......
  • Oracle 中 TO_CHAR用法
    (1)用作日期转换:to_char(date,'格式');selectto_date('2005-01-01','yyyy-MM-dd')fromdual;selectto_char(sysdate,'yyyy-MM-ddHH24:mi:ss')fromdual;(2)处理数字:to_char(number,'格式');selectto_char(88877)from......