当前位置: 代码迷 >> 综合 >> dbca 报 ORA-01031: 权限不足
  详细解决方案

dbca 报 ORA-01031: 权限不足

热度:38   发布时间:2023-12-14 17:21:22.0

dbca 报 ORA-01031: 权限不足
问题描述:
12.2.0.1在在安装完数据库软件后,先打补丁和ojvm后,再dbca创建数据库报错

日志:trace.log_2021-11-29_03-36-14-PM
[Thread-53] [ 2021-11-29 15:51:57.979 CST ] [SQLEngine.setSpool:2086] Is spool appendable? --> true
[Thread-53] [ 2021-11-29 15:51:57.979 CST ] [ClonePostCreateScripts.executeImpl:191] Clearing all last login times
[Thread-82] [ 2021-11-29 15:51:57.994 CST ] [BasicStep.handleNonIgnorableError:509] oracle.sysman.assistants.util.InteractiveMessageHandler@6af07c83:messageHandler
[Thread-82] [ 2021-11-29 15:51:57.994 CST ] [BasicStep.handleNonIgnorableError:510] ORA-01031: 权限不足
:msg

日志:D:\app\ORAspt\virtual\cfgtoollogs\dbca\boe\postScripts.log
UPDATE sys.USER$ set SPARE6=NULL
*
第 1 行出现错误:
ORA-01031: 权限不足

UPDATE sys.USER$ set SPARE6=NULL
*
第 1 行出现错误:
ORA-01031: 权限不足

catcon: ALL catcon-related output will be written to [D:\app\ORAspt\virtual\cfgtoollogs\dbca\boe/dbmssml_catcon_2016.lst]
catcon: See [D:\app\ORAspt\virtual\cfgtoollogs\dbca\boe/dbmssml*.log] files for output generated by scripts
catcon: See [D:\app\ORAspt\virtual\cfgtoollogs\dbca\boe/dbmssml_.lst] files for spool files, if any
catconInit: start initializing catcon
catconInit: finished constructing connect strings
catconInit: start CDB-specific processing
catconInit: finished examining instances which can be used to run scripts/SQL statements.
catconInit: DBMS version: 12.2.0.1.0.
catconInit: started SQL
Plus processes.
catconInit: initialization completed successfully (2021-11-29 14:55:39)
catconExec: start executing scripts/SQL statements
catconExec: finished examining scripts/SQL statements to be executed.
catconExec: will run all scripts/statements against the Root (Container CDBKaTeX parse error: Undefined control sequence: \app at position 46: … executing "@D:\?a?p?p?\ORAspt\virtual…ROOT using process 0
catconExec: run all scripts/statements against remaining 1 PDBs
UPDATE sys.USER$ set SPARE6=NULL
*
第 1 行出现错误:
ORA-01031: 权限不足

UPDATE sys.USER$ set SPARE6=NULL
*
第 1 行出现错误:
ORA-01031: 权限不足

解决办法:
Database Creation Assistant Raises Waring Message ORA-01031 Insufficient Privilege’s (Doc ID 2736574.1)
影响:
Oracle Database - Enterprise Edition - Version 12.2.0.1 and later

SOLUTION
Click ignore and the database creation will succeed.

It is unknown at this time the root cause of the issue, but the error can be ignored

  相关解决方案