在nocdb转为pdb之后,发现有一个应用账号。从pdb使用expdp导出。导入其他nocdb。报错ORA-01917: user or role 'HUE' does not exist
[oracle@lxtrac06 ~]$ more 1HUE.log 
;;; 
Import: Release 12.2.0.1.0 - Production on Wed May 9 23:20:59 2018
Copyright (c) 1982, 2017, Oracle and/or its affiliates. All rights reserved.
;;; 
Connected to: Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
import done in AL32UTF8 character set and AL16UTF16 NCHAR character set
export done in UTF8 character set and AL16UTF16 NCHAR character set
Starting "SYSTEM"."SYS_IMPORT_FULL_01": system/******** directory=test DUMPFILE=HUE.dmp logfile=1HUE.log 
Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
ORA-39083: Object type SYSTEM_GRANT failed to create with error:
ORA-01917: user or role 'HUE' does not exist
Failing sql is:
GRANT CREATE SESSION TO "HUE"
ORA-39083: Object type SYSTEM_GRANT failed to create with error:
ORA-01917: user or role 'HUE' does not exist‘。
在pdb上面,使用该账号登陆数据库,报下列错误
Errors in file /u01/app/oracle/diag/rdbms/bigcdb/BIGCDB/trace/BIGCDB_ora_32410.trc (incident=241057) (PDBNAME=CDB$ROOT):
ORA-00600: internal error code, arguments: [kziaVrfyAcctStatInRootCbk: !user], [HUE], [], [], [], [], [], [], [], [], [], []
Incident details in: /u01/app/oracle/diag/rdbms/bigcdb/BIGCDB/incident/incdir_241057/BIGCDB_ora_32410_i241057.trc
处理方法:
alter session set container=MANCO2; 
create table backup_user$ as select * from user$; 
update user$ set spare1=0 where name='APEX_PUBLIC_USER'; 
commit; 
conn / as sysdba 
shutdown abort 
startup

在mos上面查找发现是一个bug。
ORA-00600 When Trying To Connect Through The SQL Plus using the APEX_PUBLIC_USER After Conversion Of A Non-CDB to PDB On 12.2 Database (文档 ID 2309896.1)
In this Document

APPLIES TO:
Oracle Application Express (formerly HTML DB) - Version 4.0.2.00.07 and later
Information in this document applies to any platform.
SYMPTOMS
After conversion from a NON-CDB (12cR2) to a PDB with noncdb_to_pdb.sql, when trying to connect to the new PDB as APEX_PUBLIC_USER using SQL*Plus the following error is raised:

[oracle@server admin]$ sqlplus 
APEX_PUBLIC_USER/password@ip_adress:1521/manco2

SQL*Plus: Release 12.2.0.1.0 Production on Fri Apr 28 08:34:05 2017

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

ERROR: 
ORA-00600: internal error code, arguments: [kziaVrfyAcctStatInRootCbk: 
!user], 
[APEX_PUBLIC_USER], [], [], [], [], [], [], [], [], [], []

CAUSE
The issue has been identified as the product defect and documented over the Bug 25979661 - ORA-00600: [KZIAVRFYACCTSTATINROOTCBK: !USER] [APEX_PUBLIC_USER]
 
SOLUTION
The bug is still being worked by the Development and the workaround is available to override this issue.
As a workaround you can make APEX_PUBLIC_USER local user by updating user$.spare1 column in the PDB.
sqlplus / as sysdba

alter session set container=MANCO2;

create table backup_user$ as select * from user$;

update user$ set spare1=0 where name='APEX_PUBLIC_USER';

commit;

conn / as sysdba

shutdown abort

startup
 
REFERENCES
BUG:25979661 - ORA-00600: [KZIAVRFYACCTSTATINROOTCBK: !USER] [APEX_PUBLIC_USER]

转载于:https://www.cnblogs.com/erwadba/p/9017820.html

在nocdb转pdb的时候遇到小bug相关推荐

  1. [DiscuzNt]整合DiscuzNt论坛目前所发现的小BUG及个人简单解决办法

    前段时间因为公司项目需要,需要在网站中整合BBS论坛,主要实现会员信息同步,经过目前市面上开源的BBS项目,最终认为还是DiscuzNt比较好,原因有以下几点: 1.符合国人习惯,DiscuzNt是由 ...

  2. linux的内核有多小,Linux 内核有小bug?

    今天读着读着Linux代码,竟然无意中发现Linux 0.11内核有个小bug,呵呵,人非圣贤孰能无过. // 在目录项数据块中搜索匹配指定文件名的目录项,首先让de 指向数据块,并在不超过目录中目录 ...

  3. 一个关于fixed抖动的小bug

    前言 大家都知道position: fixed用于生成绝对定位的元素,相对于浏览器窗口进行定位. 元素的位置通过 "left", "top", "ri ...

  4. 试用VisualStudio2005Beta2出现的小BUG

    有一个小BUG,呵呵 也许是BETA版本的缘故吧,总之肯定问题多多 在建立完一个ASP.NET website后 随便写一点东西,这个站点不能start with Debug 运行 也就是说不能F5, ...

  5. C++ Socket通信类的封装(还有点小bug)

    首先是需要引用的头文件 #define WIN32_LEAN_AND_MEAN // 排除极少使用的链接 #include <stdio.h> #include <tchar.h&g ...

  6. windows中的一个小bug

    无意中发现的windows的一个小bug,同时按下"ctrl"键和"alt"键时,过一秒钟左右cpu占用就会达到100%,在两台机器试验了一下都这样.因为也不是 ...

  7. 淘宝WAP版小BUG分析

    前几天发现的一个淘宝WAP版的小BUG,就是用桌面版chrome看的时候产品评价中的图片显示不出来,都是图裂了. 这是什么原因呢?图片为什么会显示不出来呢?淘宝的技术人员.测试人员不可能没发现啊.开启 ...

  8. ST电机库v5.4.4源代码分析(2): 磁链圆限制之计算以及一个小bug

    编者:沉尸 (5912129@qq.com) FOC流程图 Circle_Limitation所在位置 图1 图2 现在计算出了和,需要限制: 如果 显然需要一个缩小的系数i (i < 1)进行 ...

  9. android 魅族手机bug多,魅族Flyme 8系统上手体验:小窗模式2.0很好用,但还有小bug...

    魅族Flyme 8系统上手体验:小窗模式2.0很好用,但还有小bug 2019-11-21 15:05:30 4点赞 6收藏 6评论 每天上班坐地铁的时候,进到车厢里,一看基本上都是低着头看手机.哦, ...

最新文章

  1. Django 模板继承4.2
  2. WhatsApp用户数突破10亿 每天发送消息420亿条
  3. 用相对路径有时居然是这样,,加上%=basePath%
  4. mysql 5.7直接安装版,mysql5.7怎么安装 mysql 5.7安装图文教程
  5. vue实现时间选择器,精确到秒
  6. GitHub上排名前100的iOS开源库介绍(来自github)
  7. @Nullable 注解的用法
  8. React开发(171):处理删除与批量删除操作
  9. matlab 作图 虚线太长,matlab 极坐标绘图 在matlab中,用polar画的图形,如何使虚线圆多显示几个?...
  10. MUI侧滑导航:页面组件(本地插件化)
  11. 直播间越播越没人,大部分刚开始做直播电商的人都会这样
  12. 温故而知新_C语言_define_宏
  13. 常见linux服务器存储空间,全面了解linux服务器的常用命令总结
  14. linux脚本运行出现bc,Linux硬件管理命令---bc
  15. win10系统计算机物理地址,win10系统查看网卡的物理地址的操作方法
  16. win10熄屏时间不对_win10系统屏幕熄屏时间的设置方法
  17. 弹球小游戏c语言编程,scratch丨(1) 弹球小游戏
  18. java excel 冻结_如何实现表格的首行冻结2
  19. VLAN,GRE,VXLAN
  20. 《深入理解分布式事务》,初识分布式......

热门文章

  1. JS之Number的toString方法
  2. Jupyter notebook 入门教程
  3. python 开发板 播放音乐_MicroPython开发板:TPYBoard v102 播放音乐实例
  4. 李晓菁201771010114《面向对象程序设计(java)》第十三周学习总结
  5. tf.name_scope tf.variable_scope学习
  6. redis nginx session tomcat
  7. Koa2+Mysql搭建简易博客
  8. React 相关资料
  9. C++11: final与override
  10. (转)三层相关案例(及常见的错误)