ORACLE异常关闭后导致数据库报错无法连接问题解决办法

1.首先kill掉所有oracle相关的进程

[oracle@oracle11g db_1]$ps -ef|grep $ORACLE_SID
[oracle@oracle11g db_1]$kill -s -9 PID

关闭监听器:

lsnrctl stop

2.用管理员密码登陆sqlplus,运行startup命令

sqlplus "sys/PASSWORD as sysdba"

[oracle@oracle11g db_1]$sqlplus “sys/PASSWORD as sysdba”

SQL*Plus: Release 11.2.0.1.0 Production on Tue Nov 14 13:02:36 2017

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

Connected to an idle instance.

SQL>startup

ORACLE instance started.

Total System Global Area 1586708480 bytes

Fixed Size 2213736 bytes

Variable Size 1073744024 bytes

Database Buffers 503316480 bytes

Redo Buffers 7434240 bytes

Database mounted.

Database opened.

SQL> exit

3.重启监听器

lsnrctl start
(0)
上一篇 2022年3月22日
下一篇 2022年3月22日

相关推荐