ORA-47994: Database Vault removal script must be run as SYS ORACLE 报错 故障修复 远程处理

文档解释

ORA-47994: Database Vault removal script must be run as SYS

Cause: The Database Vault removal script was not run as SYS.

Action: Run the Database Vault removal script as SYS.

ORA-47994是一个通用错误,表明需要用sys用户来运行Database Vault移除脚本。

官方解释

ORA-47994指示你正在尝试以非sys(或没有sysdba权限的sys)角色运行Database Vault移除脚本。只有sys角色才能在数据库中运行此类脚本。

常见案例

当使用此非sys角色尝试将Database Vault从数据库中删除时,将收到ORA-47994错误消息。

一般处理方法及步骤

1.确保以sys角色执行Database Vault移除脚本。

2.将Database Vault有效地从数据库中移除,使用下列脚本:

SQL> alter system disable dv exclusives;

SQL> alter system dismount;

SQL> ALTER SESSION SET CONTAINER=CDB$ROOT;

SQL> select dvsys.dbms_macadm.executeRemoveVault(‘REMOVE’) From dual;

SQL> drop user dvsys cascade;

SQL> commit;

SQL> @?/rdbms/admin/catdvrm.sql;

SQL> shutdown immediate;

SQL> startup open;


数据运维技术 » ORA-47994: Database Vault removal script must be run as SYS ORACLE 报错 故障修复 远程处理