ORA-46080: User status is currently inactive ORACLE 报错 故障修复 远程处理

文档解释

ORA-46080: User status is currently inactive

Cause: User was marked inactive.

Action: Change status in enterprise directory to active and try again.

官方解释

大多数情况下,ORA-46080错误是由于用户的帐户处于非活动状态而导致的,其用户名和密码正确,但却无法正常登录系统。此外,用户可能会遇到无法完成操作,例如创建表,创建存储过程等,因为帐户处于非活动状态。

正常处理方法及步骤:

1.首先,检查用户的当前开放状态,以确认用户帐户是否为非活动。

SQL> select account_status from dba_users

where username = ‘USERXYZ’;

ACCOUNT_STATUS

—————

CLOSED

2.如果用户当前状态处于非活动状态,请执行以下命令以激活用户:

alter user USERXYZ account unlock;

系统将输出以下消息:

User altered.

3.使用刚才关联的密码尝试登录系统以执行操作:

> sqlplus USERXYZ/

SQL*Plus: Release 19.0.0.0.0 – Production on Thu Mar 5 13:25:24 2020

Copyright (c) 1982, 2020, Oracle. All rights reserved.

Connected to:

Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 – 64bit Production

SQL>


数据运维技术 » ORA-46080: User status is currently inactive ORACLE 报错 故障修复 远程处理