oracle database ORA-00210: unable to open the specified control file

Recently, a new instance of the windows server 2012 server oracle12c database was processed, which caused the old instance to fail to provide services to the outside world.

1. The error content of the trace log

The control file cannot be opened error message:

Errors in file D:\APP\ADMINISTRATOR\VIRTUAL\diag\rdbms\crm\crm\trace\crm_m000_6260.trc:
ORA-00210: 无法打开指定的控制文件
ORA-00202: 控制文件: ''D:\APP\ADMINISTRATOR\VIRTUAL\ORADATA\CRM\CONTROL01.CTL''
ORA-27041: 无法打开文件
OSD-04002: 无法打开文件
O/S-Error: (OS 5) 拒绝访问。

oracle database ORA-00210: unable to open the specified control file

The data tablespace file cannot be opened error message:

Errors in file D:\APP\ADMINISTRATOR\VIRTUAL\diag\rdbms\crm\crm\trace\crm_smon_2928.trc:
ORA-01116: 打开数据库文件 8 时出错
ORA-01110: 数据文件 8: 'D:\APP\ADMINISTRATOR\VIRTUAL\ORADATA\CRM\CRM_DATA01.DBF'
ORA-27041: 无法打开文件
OSD-04002: 无法打开文件
O/S-Error: (OS 5) 拒绝访问。

oracle database ORA-00210: unable to open the specified control file

2. The process of failure

Because of the new project, it is necessary to add database users, but colleagues did not choose to directly add data tablespaces and users to the original instance, nor did they choose to create with dbca. Instead, they used dbms to interface operations to add new instances. During the process of adding new instances There are two error prompts (the specific error is not provided). After choosing to ignore, the newly created orcl instance normally provides services, but the old instance crm cannot provide services normally. The error is shown above.

3. Processing process

1) Try to use init.ora to restore the old instance, but the information of the old instance of the configuration file has been erased.
2) Use data pump to periodically backup to restore on the new server, but one day’s data will be lost.
3) Other recovery methods, here Do not expand description

4. Recovery method

1) After investigation, it is found that in the service process of the task manager, the instance user of crm running is oracle, but the CRM_DATA01.DBF and CONTROL01.CTL files mentioned in the error log are right-clicked [Properties-Security-Group or User Name List There is no such user group in 】, that is, the oracle user group has been deleted for unknown reasons when operating the newly added instance. It is suspected that the user was manually cleaned up when the newly added instance reported an error.
2) The control panel adds this user group, kills the related processes running in the crm instance, restarts the crm instance, and the test is normal. Restart the business service, and the application business returned to normal after testing.

Guess you like

Origin blog.51cto.com/8355320/2642212