ORA-28107: policy was disabled
Cause: Try to flush a disabled policy.
Action: If the policy is supposed to be enforced, it must be enabled.
ORA-28107: policy was disabled 是Oracle数据库在执行特定用户管理控制操作时返回的一个错误码。
ORA-28107: policy was disabled
Cause: The requested policy is unavailable as it is disabled.
Action: Make sure the necessary policy is enabled.
在执行一些特定的用户管理操作时,如数据库表空间创建、索引创建,数据库或某些操作的用户拥有的权限被禁用时,此时就会发生该错误。
1. 通过访问dba_policies和dba_enabled_policies数据库系统视图来查找哪些策略被禁用;
2. 通过执行ALTER SYSTEM SET ENABLE_POLICY_MGMT=TRUE来启用策略;
3.然后,运行ALTER POLICY POLICY_NAME ENABLE以启用所选策略;
4.最后,重试步骤,以确认已解决该错误。