记一次DG搭建过程中备库ORA-00210,ORA-00202,ORA-27086错误
2016-08-19 17:12
225 查看
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)是不是还存在着;
实际操作:
[oracle@linux ~]$ cd
$ORACLE_HOME/dbs
[oracle@linux dbs]$ ls
hc_SID.dat initdw.ora
init.ora lkSID orapwSID spfileSID.ora
[oracle@linux dbs]$ rm lkSID
[oracle@linux dbs]$ ls
hc_SID.dat initdw.ora
init.ora orapwSID spfileSID.ora
[oracle@linux 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
[oracle@linux dbs]$ ps -ef|grep
ora_|grep SID|grep pmon
oracle
4981 1 0 09:00
? 00:00:00 ora_pmon_SID
[oracle@linux dbs]$ kill -9 4981
[oracle@linux dbs]$ ps -ef|grep
ora_|grep SID|grep pmon
[oracle@linux dbs]$ ipcs -m
------ Shared Memory Segments
--------
key
shmid owner
perms bytes
nattch status
重新startup数据库,问题解决。
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)是不是还存在着;
实际操作:
[oracle@linux ~]$ cd
$ORACLE_HOME/dbs
[oracle@linux dbs]$ ls
hc_SID.dat initdw.ora
init.ora lkSID orapwSID spfileSID.ora
[oracle@linux dbs]$ rm lkSID
[oracle@linux dbs]$ ls
hc_SID.dat initdw.ora
init.ora orapwSID spfileSID.ora
[oracle@linux 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
[oracle@linux dbs]$ ps -ef|grep
ora_|grep SID|grep pmon
oracle
4981 1 0 09:00
? 00:00:00 ora_pmon_SID
[oracle@linux dbs]$ kill -9 4981
[oracle@linux dbs]$ ps -ef|grep
ora_|grep SID|grep pmon
[oracle@linux dbs]$ ipcs -m
------ Shared Memory Segments
--------
key
shmid owner
perms bytes
nattch status
重新startup数据库,问题解决。
相关文章推荐
- 记一次DG搭建过程中备库ORA-00210,ORA-00202,ORA-27086错误
- 记一次DG搭建过程中ORA-09925: Unable to createaudit trail file 错误
- 记一次DG搭建过程中ORA-09925: Unable to createaudit trail file 错误
- 因nfs锁没释放引起的故障问题ORA-00210 ORA-00202 ORA-27086
- spring-boot初学者:记一次搭建web项目404的错误排查过程
- 一次ora-12560错误的解决过程!
- 一次 ORA-00600错误 参数[6749]的解决过程
- ORA-00210 ORA-00202 ORA-27086
- 一次 ORA-03113: end-of-file on communication channel 错误定位过程
- 一次Oracle宕机切换后产生ORA错误的处理过程
- ora-00201,ora-00202错误的解决过程
- 一次 ORA-03113: end-of-file on communication channel 错误定位过程
- MySQL搭建过程中的“/tmp/mysql.sock"错误解决
- Oracle.DataAccess.Client.OracleException ORA-00600: 内部错误代码,通过C#执行上面存储过程报错,而通过PLSQL执行不报错。谁知道原因。
- 一次数据转换错误处理过程简记
- 搭建数据库环境--导入数据产生ORA-1659错误的一个原因
- ORA-00600 [2662]错误解决过程
- oracel故障数据恢复 - ora-01033错误解决过程.
- 一次表空间配额错误的处理ORA-01536
- 一次奇怪的ORA-01722 invalid number错误