gpt4 book ai didi

database - 无法连接到 Oracle 数据库 - ORA-01033 : ORACLE initialization or shutdown in progress

转载 作者:搜寻专家 更新时间:2023-10-30 20:25:28 24 4
gpt4 key购买 nike

当我尝试连接 oracle 数据库时,它抛出以下错误:

ORA-01033: ORACLE initialization or shutdown in progress

我在网上搜索了一些解决方案,但没有成功。即使我重新启动了数据库,数据库也没有任何错误地启动了。以下是日志:

Enter user-name: /as sysdba

Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options

SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.

Total System Global Area 1.0167E+10 bytes
Fixed Size 2934888 bytes
Variable Size 1677723544 bytes
Database Buffers 8455716864 bytes
Redo Buffers 30617600 bytes
Database mounted.
Database opened.
SQL> exit

Enter user-name: rc532/rc532@abcdb
ERROR:
ORA-01033: ORACLE initialization or shutdown in progress
Process ID: 0
Session ID: 0 Serial number: 0

重启后我检查了以下内容:

SQL> select status, database_status from v$instance;

STATUS DATABASE_STATUS
------------ -----------------
OPEN ACTIVE

SQL> select open_mode from v$database;

OPEN_MODE
--------------------
READ WRITE

如有任何帮助,我们将不胜感激。

最佳答案

当可插入数据库未打开时,可能会发生这种情况。打开它使用

# Start the mypdb pluggable database (if not already running)
SQL> alter pluggable database mypdb open read write;

# Make the read/write state permanent across reboots
SQL> alter pluggable database all save state;

关于database - 无法连接到 Oracle 数据库 - ORA-01033 : ORACLE initialization or shutdown in progress,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36841779/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com