记一次DG搭建过程中备库ORA-00210,ORA-00202,ORA-27086错误

ORA-00210: cannot open the specified control file

ORA-00202: control file:
‘/u01/app/oracle/oradata/orcl/control01.ctl‘

ORA-27086: unable to lock file - already in use

思路:

1、看一下"lk" and "sgadef.dbf"这两个文件是不是存在着,如果存在将其删掉;

2、看是不是有后台进程存在;

3、看一下oracle的共享内存段及信号集(semaphores)是不是还存在着;

实际操作:

[[email protected] ~]$ cd
$ORACLE_HOME/dbs

[[email protected] dbs]$ ls

hc_SID.dat  initdw.ora 
init.ora  lkSID  orapwSID  spfileSID.ora

[[email protected] dbs]$ rm lkSID

[[email protected] dbs]$ ls

hc_SID.dat  initdw.ora 
init.ora  orapwSID  spfileSID.ora

[[email protected] dbs]$ ps -ef|grep
ora_|grep SID

oracle   
4981     1  0 09:00
?        00:00:00 ora_pmon_SID

oracle   
4983     1  0 09:00
?        00:00:00 ora_psp0_SID

oracle   
4985     1  0 09:00
?        00:00:00 ora_mman_SID

oracle   
4987     1  0 09:00
?        00:00:00 ora_dbw0_SID

oracle   
4989     1  0 09:00
?        00:00:00 ora_lgwr_SID

oracle   
4991     1  0 09:00
?        00:00:01 ora_ckpt_SID

oracle   
4993     1  0 09:00
?        00:00:01 ora_smon_SID

oracle   
4995     1  0 09:00
?        00:00:00 ora_reco_SID

oracle   
4997     1  0 09:00
?        00:00:00 ora_cjq0_SID

oracle   
4999     1  0 09:00
?        00:00:07 ora_mmon_SID

oracle   
5001     1  0 09:00
?        00:00:00 ora_mmnl_SID

oracle   
5003     1  0 09:00
?        00:00:00 ora_d000_SID

oracle   
5005     1  0 09:00
?        00:00:00 ora_s000_SID

oracle   
5023     1  0 09:00
?        00:00:00 ora_qmnc_SID

oracle   
5133     1  0 09:00
?        00:00:00 ora_q000_SID

oracle   
5139     1  0 09:00
?        00:00:00 ora_q001_SID

oracle  
31755     1  1 13:21
?        00:00:00 ora_j000_SID

[[email protected] dbs]$ ps -ef|grep
ora_|grep SID|grep pmon

oracle   
4981     1  0 09:00
?        00:00:00 ora_pmon_SID

[[email protected] dbs]$ kill -9 4981

[[email protected] dbs]$ ps -ef|grep
ora_|grep SID|grep pmon

[[email protected] dbs]$ ipcs -m

------ Shared Memory Segments
--------

key       
shmid      owner     
perms      bytes     
nattch     status

重新startup数据库,问题解决。

时间: 2024-08-04 18:19:41

记一次DG搭建过程中备库ORA-00210,ORA-00202,ORA-27086错误的相关文章

记一次DG搭建过程中ORA-09925: Unable to createaudit trail file 错误

今天做Oracle DG  编写initorcl的时候,修改完以后,sqlplus就不能再登陆,一直报 ERROR: ORA-09925: Unable to createaudit trail file Linux Error: 2: No such file ordirectory Additional information:9925 ORA-01075: you are currentlylogged on 一直找不到原因,后来在网上偶然找到个帖子说了这样一个情况,试了下,果然有效 [o

web server(protein protection )搭建过程中遇到的问题

1.StringBuffer中append方法有错误 原因分析:是project默认的JRE系统库和配置的jre不匹配. 解决方法:项目属性->Add Libray->JRE System Library->Alternate JRE(选择Sun JDK 1.6.0_13) 2.文件上传问题 mySmartUpload.setAllowedFilesList("txt");  //设置上传文件类型只能是txt格式 文件上传处理过程 jsp文件: <div id=

【甘道夫】HBase开发环境搭建过程中可能遇到的异常:No FileSystem for scheme: hdfs

异常: 2014-02-24 12:15:48,507 WARN  [Thread-2] util.DynamicClassLoader (DynamicClassLoader.java:<init>(106)) - Failed to identify the fs of dir hdfs://fulonghadoop/hbase/lib, ignored java.io.IOException: No FileSystem for scheme: hdfs 解决: 在pom文件中加入: &

ELK搭建过程中出现的问题与解决方法汇总

搭建过程中出现的问题 elasticsearch启动过程中报错[1] ERROR: [1] bootstrap checks failed [1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, d iscovery.seed_providers, cluster.initial_master_nodes] must be confi

个人博客搭建过程中异常处理

个人博客搭建过程中异常处理 错误分析 如果你使用Hexo遇到同样的问题,这里有一些常见问题的解决方案. YAML Parsing Error JS-YAML: incomplete explicit mapping pair; a key node is missed at line 18, column 29: last_updated: Last updated: %s 参数中包含冒号,请用加引号,如Last updated: %s JS-YAML: bad indentation of a

DG之主库、备库切换(物理备库)

DG之主库.备库切换 一.开库与关库顺序 开库顺序 先启备库,再启主库(启动监听.打开告警日志) 关库顺序 先关主库,再关备库 二.主备库切换 1.操作过程一览 步骤1:启动备库.监听.告警: 步骤2:启动主库.监听.告警: 步骤3:主库(bj)查询信息 SQL>selectname,dbid,database_role,protection_mode from v$database; 步骤4:备库(sh)上做recover SQL>recovermanaged standby databas

在dataguard备库上找回在主库上被错误的Drop/Truncate/Delete 掉的Table

前提: - Standby Database Must be in Flashback database mode. - Time at which Drop/Truncate/Delete Table happened should be within the db_flashback_retention_target and all the flashback and archive logs should be available     在dataguard备库上找回在主库上被错误的Dr

oracle 11gr2 rac搭建过程中若干问题的总结

今天在vbox上搭建11gr2 rac时候,遇到了些问题,总结如下 环境 redhat linux 5.8 64-bit oracle 11.2.0.4 rac+asm 问题一:安装grid infrastructure,报错INS-40912 描述: 在安装grid infrastructure的时候,在添加完第二个节点的hostname和vip之后,next检查报错INS-40912,说节点2的vip被占用,请选择其他地址 这个环境是在原有的rac上卸载后重新安装的,没有重启操作系统 原因

sharepoint搭建过程中遇到的问题总结

1.在第一次使用windows server2003搭建sharepoint平台时,新建应用程序总是无法创建,在新建应用程序时点击“确定”没有任何反应.解决办法更改系统时间,可能是因为有些dll文件对系统时间有要求. 2.在配置短信提醒服务时,如果不成功可能是证书错误,一定要选择最顶层的证书. 3.user profile service application一定要先启动,网上很少有一次启动成功的,可能需要重新安装.如果这个服务配置不成功,后续将无法读到域用户电话和更改后的邮箱. 4.info