启动数据库Oracle时出错ORA-00210?

时间:2016-11-02 09:48:17

标签: oracle

使用以下命令启动oracle时出现以下错误:

SQL> startup
ORACLE instance started.

Total System Global Area  288141312 bytes
Fixed Size                  2252504 bytes
Variable Size             230687016 bytes
Database Buffers           50331648 bytes
Redo Buffers                4870144 bytes
ORA-00205: error in identifying control file, check alert log for more info

当我检查警报日志时,我看到以下消息:

Wed Nov 02 05:45:35 2016
ALTER DATABASE   MOUNT
ORA-00210: cannot open the specified control file
ORA-00202: control file: '/optware/oracle/11.2.0.4/db_1/dbs/<sid>_control2'
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3
ORA-00210: cannot open the specified control file
ORA-00202: control file: '/optware/oracle/11.2.0.4/db_1/dbs/<sid>_control1'
ORA-27037: unable to obtain file status
Linux-x86_64 Error: 2: No such file or directory
Additional information: 3

然而,当我检查控制文件列表时,我看到位置但不知道为什么没有创建控件文件:

SQL> show parameter CONTROL_FILES 

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
control_files                        string      /optware/oracle/11.2.0.4/db_1/
                                                 dbs/<sid>_control1, /optwar
                                                 e/oracle/11.2.0.4/db_1/dbs/<sid>_control2

数据库创建脚本:

CREATE DATABASE "mydb"
MAXINSTANCES 8
MAXLOGHISTORY 1
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
DATAFILE '/optware/oradata/mydb/system.dbf' SIZE 1024M REUSE AUTOEXTEND ON NEXT  10240K MAXSIZE UNLIMITED
EXTENT MANAGEMENT LOCAL
SYSAUX DATAFILE '/optware/oradata/mydb/sysaux.dbf' SIZE 1024M REUSE AUTOEXTEND ON NEXT  10240K MAXSIZE UNLIMITED
SMALLFILE DEFAULT TEMPORARY TABLESPACE TEMP TEMPFILE '/optware/oradata/mydb/temp.dbf' SIZE 1500M REUSE AUTOEXTEND ON NEXT  640K MAXSIZE UNLIMITED
SMALLFILE UNDO TABLESPACE "UNDOTB_mydb" DATAFILE '/optware/oradata/mydb/undotbs2.dbf' SIZE 500M REUSE AUTOEXTEND ON NEXT  5120K MAXSIZE UNLIMITED
CHARACTER SET AL32UTF8
NATIONAL CHARACTER SET UTF8
LOGFILE GROUP 1 ('/optware/oradata/mydb/redo1_a1.rdo', '/optware/oradata/mydb/redo1_b1.rdo') SIZE 20M,
GROUP 2 ('/optware/oradata/mydb/redo1_a2.rdo', '/optware/oradata/mydb/redo1_b2.rdo') SIZE 20M,
GROUP 3 ('/optware/oradata/mydb/redo1_a3.rdo', '/optware/oradata/mydb/redo1_b3.rdo') SIZE 20M
USER SYS IDENTIFIED BY "Welcome3" USER SYSTEM IDENTIFIED BY "Welcome3";

请帮忙

1 个答案:

答案 0 :(得分:0)

除了OP的解决方案(他在init.ora文件中的错误位置有一些额外的空格),当我尝试设置&#34;隐藏&#34时,我遇到了与控制文件完全相同的错误;参数_disable_highres_ticks为明显无效的值。