ORA-01155: the database is being opened, closed, mounted or dismounted ORACLE 报错 故障修复 远程处理

文档解释

ORA-01155: the database is being opened, closed, mounted or dismounted

Cause: The requested operation needs the instance to be in a particular state but the state is being changed.

Action: Wait for the open, close, mount, or dismount to complete then retry the operation. If necessary, a SHUTDOWN ABORT will always work.

官方解释

常见案例

1)在系统开启和关闭的时候,ORA-1155会很常见;

2)当执行ALTER DATABASE CLOSE的时候,如果没有进行任何操作,这会抛出ORA-1155;

3)当尝试从一个状态变更为另一个状态,而另一个状态尚未完成,就会报ORA-1155;

4)当在卸载或挂载数据库时,也会抛出这个错误信息。

正常处理方法及步骤

1) 等待:ORA-1155一般是在数据库运行过程中抛出,所以建议先稍等一会,等这个数据库操作完成后,再继续做其他操作;

2)合理使用:如果是因为关闭数据库或者卸载数据库的时候,可以在启动数据库时,先STARTUP MOUNT,启动之后记得SHUTDOWN ABORT,再进行CLOSE / UNMOUNT操作;

3)重试:如果确认数据库已经处于正确的状态,但仍然出现ORA-1155,可以尝试重试操作,或者重启数据库进程,看看是否能够解决这个问题。


数据运维技术 » ORA-01155: the database is being opened, closed, mounted or dismounted ORACLE 报错 故障修复 远程处理