【故障处理】ORA-65500: could not modify DB_UNIQUE_NAME, resource exists
SYS@htzxdb2> alter system set db_unique_name='htzxdbpri' scope=spfile sid='*'; alter system set db_unique_name='htzxdbpri' scope=spfile sid='*' * ERROR at line 1: ORA-32017: failure in updating SPFILE ORA-65500: could not modify DB_UNIQUE_NAME, resource exists SYS@htzxdb2> exit Disconnected from Oracle Database 18c Enterprise Edition Release 18.0.0.0.0 - Production Version 18.3.0.0.0 [oracle@rac18c-n2 ~]$ [oracle@rac18c-n2 ~]$ oerr ora 65500 65500, 00000, "could not modify DB_UNIQUE_NAME, resource exists" // *Cause: DB_UNIQUE_NAME could not be modified, because a database resource // identified by DB_UNIQUE_NAME existed in the cluster. To modify // DB_UNIQUE_NAME, any resource it identifies must first be removed. // *Action: Remove the database resource identified by DB_UNIQUE_NAME before // modifying DB_UNIQUE_NAME. [oracle@rac18c-n2 ~]$ [oracle@rac18c-n2 ~]$ [oracle@rac18c-n2 ~]$ [oracle@rac18c-n2 ~]$ srvctl remove database -d htzxdb PRKO-3141 : Database htzxdb could not be removed because it was running [oracle@rac18c-n2 ~]$ srvctl remove database -d htzxdb -f [oracle@rac18c-n2 ~]$ sas SQL*Plus: Release 18.0.0.0.0 - Production on Mon Oct 8 09:47:31 2018 Version 18.3.0.0.0 Copyright (c) 1982, 2018, Oracle. All rights reserved. Connected to: Oracle Database 18c Enterprise Edition Release 18.0.0.0.0 - Production Version 18.3.0.0.0 SYS@htzxdb2> alter system set db_unique_name='htzxdbpri' scope=spfile sid='*'; System altered. SYS@htzxdb2> show parameter name NAME TYPE VALUE ------------------------------------ ---------------------- ------------------------------ cdb_cluster_name string cell_offloadgroup_name string db_file_name_convert string +DATA, +DATA db_name string htzxdb db_unique_name string htzxdb global_names boolean FALSE instance_name string htzxdb2 lock_name_space string log_file_name_convert string +DATA, +DATA pdb_file_name_convert string processor_group_name string service_names string htzxdb, htzxdbpri SYS@htzxdb2> show spparameter name SID NAME TYPE VALUE -------- ----------------------------- ---------------------- ---------------------------- * cdb_cluster_name string * cell_offloadgroup_name string * db_file_name_convert string +DATA * db_file_name_convert string +DATA * db_name string htzxdb * db_unique_name string htzxdbpri * global_names boolean * instance_name string * lock_name_space string * log_file_name_convert string +DATA * log_file_name_convert string +DATA * pdb_file_name_convert string * processor_group_name string * service_names string htzxdb * service_names string htzxdbpri
About Me
........................................................................................................................
● 本文作者:小麦苗,部分内容整理自网络,若有侵权请联系小麦苗删除
● 本文在itpub( http://blog.itpub.net/26736162 )、博客园( http://www.cnblogs.com/lhrbest )和个人weixin公众号( xiaomaimiaolhr )上有同步更新
● 本文itpub地址: http://blog.itpub.net/26736162
● 本文博客园地址: http://www.cnblogs.com/lhrbest
● 本文pdf版、个人简介及小麦苗云盘地址: http://blog.itpub.net/26736162/viewspace-1624453/
● 数据库笔试面试题库及解答: http://blog.itpub.net/26736162/viewspace-2134706/
● DBA宝典今日头条号地址: http://www.toutiao.com/c/user/6401772890/#mid=1564638659405826
........................................................................................................................
● QQ群号: 230161599 (满) 、618766405
● weixin群:可加我weixin,我拉大家进群,非诚勿扰
● 联系我请加QQ好友 ( 646634621 ) ,注明添加缘由
● 于 2018-10-01 06:00 ~ 2018-10-31 24:00 在魔都完成
● 最新修改时间:2018-10-01 06:00 ~ 2018-10-31 24:00
● 文章内容来源于小麦苗的学习笔记,部分整理自网络,若有侵权或不当之处还请谅解
● 版权所有,欢迎分享本文,转载请保留出处
........................................................................................................................
● 小麦苗的微店 : https://weidian.com/s/793741433?wfr=c&ifr=shopdetail
● 小麦苗出版的数据库类丛书 : http://blog.itpub.net/26736162/viewspace-2142121/
● 小麦苗OCP、OCM、高可用网络班 : http://blog.itpub.net/26736162/viewspace-2148098/
● 小麦苗腾讯课堂主页 : https://lhr.ke.qq.com/
........................................................................................................................
使用 weixin客户端 扫描下面的二维码来关注小麦苗的weixin公众号( xiaomaimiaolhr )及QQ群(DBA宝典)、添加小麦苗weixin, 学习最实用的数据库技术。
........................................................................................................................

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26736162/viewspace-2215518/,如需转载,请注明出处,否则将追究法律责任。