日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

在nocdb转pdb的时候遇到小bug

發布時間:2023/12/10 编程问答 37 豆豆
生活随笔 收集整理的這篇文章主要介紹了 在nocdb转pdb的时候遇到小bug 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

在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的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。