ORA-16547: cannot disable or delete the primary database ORACLE 报错 故障修复 远程处理

文档解释

ORA-16547: cannot disable or delete the primary database

Cause: An attempt was made to disable broker management of the primary database or delete the primary database from the broker configuration while the configuration was enabled.

Action: If you wish to disable broker management of the primary database when the configuration is enabled, you must instead disable broker management of the entire broker configuration. If you wish to delete the primary database from the broker configuration while the configuration is enabled, you must instead delete the entire broker configuration.

ORA-16547是由Oracle数据库引擎返回的一个系统错误,表明用户无法禁用或删除主数据库。当用户试图在RAC环境中禁用或删除主数据库时,就会出现这个错误信息。

官方解释

常见案例

一般处理方法及步骤

1.确保所有节点的数据库是可控制状态。

2.使用sysdba角色登录到每个节点,使用SQL*Plus工具连接到每个节点并输入以下命令:alter system disable restricted session;

3.使用以下命令从每个节点都禁用数据库:shutdown immediate

4.登录到实例并删除数据库:drop database;

5.登录到实例,确认数据库已成功删除:select * fromv$database;

最后,应使用以下命令启用数据库:startup

完成以上步骤后,改错ORA-16547就会消失。


数据运维技术 » ORA-16547: cannot disable or delete the primary database ORACLE 报错 故障修复 远程处理