新建pdb 打不开 ORA-65104 ORA-25153

select * from pdb_plug_in_violations;

有个waring service_name 冲突,应该是不影响的

-------------------------------------service 冲突解决-------------------

Select message, action from DB_PLUG_IN_VIOLATIONS and get the result:

MESSAGE                                                                                                                                                ACTION

------------------------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------

Service name or network name of service dossqa3 in the PDB is invalid or conflicts with an existing service name or network name in the CDB.           Drop the service and recreate it with an appropriate name.

SELECT SERVICE_ID,NAME,NETWORK_NAME,CREATION_DATE,PDB,CON_ID  FROM CDB_SERVICES;

5. Find out service name 'dossqa3' was cloned from pdb 'DOSS_QA3'. So, there are one service name 'dossqa3' on two pdb, one is on 'DOSS_QA3' and another is on 'MIXEDPDB'.

6. I try to remove it using 'srvctl remove service -d cdb1206 -s dossqa3, I can only remove the one that was registered on pdb 'DOSS_QA3',

I cannot specify the pdb name on srvctl.

How to remove the cloned service name?

> srvctl status service -d cdb1206 -v

Service dossqa2 is running on instance(s) cdb12061,cdb12062

Service dossqa3 is running on instance(s) cdb12061,cdb12062

Service smalldb1 is running on instance(s) cdb12061,cdb12062

> srvctl stop service -d cdb1206 -s dossqa3

> srvctl status service -d cdb1206 -v

Service dossqa2 is running on instance(s) cdb12061,cdb12062

Service dossqa3 is not running.

Service smalldb1 is running on instance(s) cdb12061,cdb12062

>

> srvctl remove service -d cdb1206 -s dossqa3

> srvctl status service -d cdb1206 -v

Service dossqa2 is running on instance(s) cdb12061,cdb12062

Service smalldb1 is running on instance(s) cdb12061,cdb12062

Then verify the service name is still on PDB MIXEDPDB.

SQL> select SERVICE_ID,NAME,NETWORK_NAME,PDB FROM CDB_SERVICES ORDER BY PDB,SERVICE_ID;

SERVICE_ID NAME                           NETWORK_NAME                             PDB

---------- ------------------------------ ---------------------------------------- ------------------------------

         1 SYS$BACKGROUND                                                          CDB$ROOT

         2 SYS$USERS                                                               CDB$ROOT

         5 cdb1206XDB                     cdb1206XDB                               CDB$ROOT

         6 cdb1206                        cdb1206                                  CDB$ROOT

         1 doss_qa2                       doss_qa2                                 DOSS_QA2

         2 dossqa2                        dossqa2                                  DOSS_QA2

         1 doss_qa3                       doss_qa3                                 DOSS_QA3

         1 mixedpdb                       mixedpdb                                 MIXEDPDB

         2 dossqa3                        dossqa3                                  MIXEDPDB

         3 smalldb1                       smalldb1                                 MIXEDPDB

10 rows selected.

SQL> exec dbms_service.delete_service('dossqa3');

BEGIN dbms_service.delete_service('dossqa3'); END;

*

ERROR at line 1:

ORA-44304: service dossqa3 does not exist

ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86

ORA-06512: at "SYS.DBMS_SERVICE_ERR", line 23

ORA-06512: at "SYS.DBMS_SERVICE", line 352

ORA-06512: at line 1

SQL>

The service name is still exist on CDB_SERVICES view.

  • SQL> exec dbms_service.delete_service('dossqa3');

    BEGIN dbms_service.delete_service('dossqa3'); END;

    *

    ERROR at line 1:

    ORA-44304: service dossqa3 does not exist

    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86

    ORA-06512: at "SYS.DBMS_SERVICE_ERR", line 23

    ORA-06512: at "SYS.DBMS_SERVICE", line 352

    ORA-06512: at line 1

  • It works now after I go to PDB.

    SQL> alter session set container=mixedpdb;

    Session altered.

    SQL> exec dbms_service.delete_service('dossqa3');

    PL/SQL procedure successfully completed.

    SQL> select SERVICE_ID,NAME,NETWORK_NAME,PDB FROM dba_services;

    SERVICE_ID NAME                           NETWORK_NAME                             PDB

    ---------- ------------------------------ ---------------------------------------- ------------------------------

             1 mixedpdb                       mixedpdb                                 MIXEDPDB

             3 smalldb1                       smalldb1                                 MIXEDPDB

    -------------pdb删除不了 delete service cdb下的应该可以srvctl--

  • I have a very similar situation, except that the SERVICE_NAME is pointing at the CDB$ROOT and not at the appropriate PDB.

    SERVICE_ID NAME      NETWORK_NAME PDB

    ---------- ------------ ------------ ----------

         3 VADVCOUTDB  VADVCOUTDB   CDB$ROOT === CLONE

      4 VADVCDITDB   VADVCDITDB    CDB$ROOT === CLONE

    I tried from CDB$ROOT:

    SQL> exec dbms_service.delete_service('VADVCUATDB');

    BEGIN dbms_service.delete_service('VADVCUATDB'); END;

    *

    ERROR at line 1:

    ORA-44304: service VADVCUATDB does not exist

    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86

    ORA-06512: at "SYS.DBMS_SERVICE_ERR", line 23

    ORA-06512: at "SYS.DBMS_SERVICE", line 453

    ORA-06512: at line 1

    ======================================

    Please let me know how to drop the service name from CDB$ROOT.

  • deleted from srvctl config

--------------------

SQL> create pluggable database abcd1  from pdb;
create pluggable database abcd1  from pdb
*
ERROR at line 1:
ORA-25153: Temporary Tablespace is Empty


SQL> alter pluggable database abcd1 open;
alter pluggable database abcd1 open
*
ERROR at line 1:
ORA-65104: operation not allowed on an inactive pluggable database
 

create pluggable database abcd from pdb
2024-06-12T22:44:55.223990+08:00
PDB(3): AUDSYS.AUD$UNIFIED (SQL_TEXT) - CLOB populated
2024-06-12T22:44:57.741998+08:00
ABCD(4):Endian type of dictionary set to little
****************************************************************
Pluggable Database ABCD with pdb id - 4 is created as UNUSABLE.
If any errors are encountered before the pdb is marked as NEW,
then the pdb must be dropped
local undo-1, localundoscn-0x0000000000000118
****************************************************************
ORA-25153 signalled during: create pluggable database abcd from pdb...
2024-06-12T22:45:05.095541+08:00
alter pluggable database abcd open
2024-06-12T22:45:05.103040+08:00
ABCD(4):Pluggable database ABCD opening in read write
ABCD(4):Error 65104 during pluggable database ABCD opening in read write 
2024-06-12T22:45:05.103176+08:00
ABCD(4):Errors in file /u01/app/oracle/diag/rdbms/cdb/cdb1/trace/cdb1_ora_31840.trc:
ORA-65104: operation not allowed on an inactive pluggable database
ORA-65104 signalled during: alter pluggable database abcd open...

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/diannao/26569.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

angular编程规范

目录 文章目录 **一、单一职责****1. 单一法则**2. 简单函数 **二、命名****1. 总体命名指导原则****2. 使用点和横杠来分隔文件名****3. 符号名与文件名****4. 服务名****5. 指令选择器****6. 为组件添加自定义前缀****7. 为指令添加自定义前缀****8. 管道名****9. 单元测试文…

北京Web前端大会:探索未来技术的无限可能

北京Web前端大会:探索未来技术的无限可能 在科技日新月异的今天,Web前端技术作为互联网发展的核心驱动力之一,正以前所未有的速度不断演进。北京Web前端大会作为行业内的一次盛会,汇聚了众多前端领域的专家和精英,共同…

KEYSIGHT N1000A与KEYSIGHT 86100D 区别?

N1000A与86100D设计理念和应用领域 N1000A:N1000A是一款宽带宽示波器主机,主要用于高速数字设计的精确测量,从50 Mb/s到超过80 Gb/s。它适用于光收发机设计和生产测试、ASIC/FPGA/IC设计和表征、串行总线设计、电缆和印刷电路板(P…

如何使您的IT资产审计变得轻而易举?

无论您在审核准备方面处于哪个阶段,强大的资产管理策略都至关重要。现在,不可否认的是最初的障碍——精确追踪每一台设备、软件许可证和外围设备可能会让人感到不知所措。 然而,好消息是有简化流程可以帮助您将资产管理从一项令人望而却步的…

Elasticsearch 第二期:倒排索引,分析,映射

前言 正像前面所说,ES真正强大之处在于可以从无规律的数据中找出有意义的信息——从“大数据”到“大信息”。这也是Elasticsearch一开始就将自己定位为搜索引擎,而不是数据存储的一个原因。因此用这一篇文字记录ES搜索的过程。 关于ES搜索计划分两篇或…

0613# 3 八股

拷贝初始化和直接初始化 string str1("I am a string");//语句1 直接初始化 string str2(str1);//语句2 直接初始化,str1是已经存在的对象,直接调用拷贝构造函数对str2进行初始化 string str3 = "I am a string";//语句3 拷贝初始化,先为字符串”I am …

Python私教张大鹏 Vue3整合AntDesignVue之Checkbox 多选框

何时使用 在一组可选项中进行多项选择时; 单独使用可以表示两种状态之间的切换,和 switch 类似。区别在于切换 switch 会直接触发状态改变,而 checkbox 一般用于状态标记,需要和提交操作配合。 案例:多选框组件 核心…

微信小程序游戏与APP游戏:比较与对比

随着移动互联网的迅猛发展,游戏作为一个重要的应用领域,不仅在娱乐消遣中扮演着重要角色,也在商业上展现出巨大的潜力。在游戏开发和发布的选择上,开发者需要考虑多种因素,其中微信小程序游戏和独立APP游戏是两种常见的…

Hack The Box-Blurry

总体思路 CVE-2024-24590->修改脚本/劫持python库 信息收集&端口利用 nmap -sSVC blurry.htbStarting Nmap 7.94SVN ( https://nmap.org ) at 2024-06-10 21:40 EDT Nmap scan report for app.blurry.htb (10.10.11.19) Host is up (0.20s latency).PORT STATE S…

【电机】了解无刷直流电机BLDC

1 介绍 无刷直流电机(Brushless Direct Current Motor,简称BLDCM)由电动机主体和驱动器组成,是一种典型的机电一体化产品。无刷电机是指无电刷和换向器(或集电环)的电机,又称无换向器电机。这是…

本地靶场搭建

1、windows service2003 链接:https://pan.baidu.com/s/1RIealrcfcDWKu1AIuYFbAQ?pwd4bv8 提取码:4bv8 2、asp环境搭建(虚拟机内) ①asp工作原理: 客户发送网站请求,iis接收客户请求,解析…

基于JSP的超市管理系统

你好呀,我是计算机学长猫哥!如果有相关需求,文末可以找到我的联系方式。 开发语言:Java 数据库:MySQL 技术:JSP MyBatis 工具:IDEA/Eclipse、Navicat、Maven 系统展示 员工管理界面图 管…

Android Display管理服务DMS

1 获得显示设备信息: DisplayManagerService 启动后从SurfaceFlinger当中获取到系统默认的Display 与HDMI display的信息。 2 应用程序端指定其应用ContextImpl的Display。 3 应用程序获得Surface和配置Surface,这个surface对应于SurfaceFlinger中的L…

Ecahrts横向柱状图自动滚动

1.定义一个定时器标识 let timer: NodeJS.Timer; // 定时器 2.定义展示的数据的条数 const dataZoomEndValue 5; // 数据窗口范围的结束数值(一次性展示几个) 3.设置datazoom的相关参数 dataZoom: [{show: false, // 是否显示滑动条xAxisIndex: 0, // 表示从X轴的零刻度线…

谷粒商城实战(035 k8s集群学习1-前置介绍)

Java项目《谷粒商城》架构师级Java项目实战,对标阿里P6-P7,全网最强 总时长 104:45:00 共408P 此文章包含第339p-第p342的内容 分布式高级篇总结 高可用集群 内容 k8s介绍 为什么使用k8s 组件 master组件 node(节点)组件 要部…

React获取DOM节点

文章目录 使用 useRef使用 createRef使用回调函数形式 在React中,通常不推荐直接操作DOM节点,因为React通过其虚拟DOM(Virtual DOM)来管理DOM的更新,以确保性能优化和一致性。 然而,在某些情况下&#xff0…

[SWPUCTF 2022 新生赛]ez_1zpop(php反序列化之pop链构造)

[SWPUCTF 2022 新生赛]ez_ez_unserialize <?php class X {public $x __FILE__;function __construct($x){$this->x $x; }function __wakeup(){if ($this->x ! __FILE__) {$this->x __FILE__; }}function __destruct(){highlight_file($this->x);//flag is…

称重显示模块 Modbus RTU 通信

目录 一、智能称重数字显示器模块(带通信)1、称重传感器接线说明称重显示模块称重传感器USB 转 TTL 2、校准传感器&#xff08;标定&#xff1a;零点标定、满度标定&#xff09; 二、Modbus RTU 协议1、Modbus RTU 数据帧2、数据帧格式请求帧响应帧 三、上位机电脑与称重显示模…

携手知名律所,合合信息旗下名片全能王打造数字化名片“新范式”

在低碳办公理念盛行的当下&#xff0c;数字名片成为商务交流的新方式&#xff0c;以数字化智能化赋能绿色化。近期&#xff0c;合合信息旗下名片全能王企业数字名片升级&#xff0c;与上海市律师协会、广州市律师协会、北京大成&#xff08;上海&#xff09;律师事务所等多家律…

MySQL 8.0 安装、配置、启动、登录、连接、卸载教程

目录 前言1. 安装 MySQL 8.01.1 下载 MySQL 8.01.2 安装 MySQL 8.0 2. 配置 MySQL 8.02.1打开环境变量2.2新建变量 MYSQL_HOME2.3编辑 Path 变量 3. 启动MySQL 8.03.1验证安装与配置是否成功3.2初始化并注册MYSQL3.3 启动MYSQL服务 4.登录MySQL4.1修改账户默认密码4.2登录MYSQL…