ORA-01102: cannot mount database in EXCLUSIVE mode
2012-04-17 22:43
495 查看
今天在STARTUP一数据库时,发生如下错误:
SQL> conn /as sysdba
Connected to an idle instance.
SQL> startup
oracle instance started.
Total System Global Area 276824064 bytes
Fixed Size 778736 bytes
Variable Size 137371152 bytes
Database Buffers 138412032 bytes
Redo Buffers 262144 bytes
ORA-01102: cannot mount database in EXCLUSIVE mode
SQL> shutdown immediate
ORA-01507: database not mounted
oracle instance shut down.
GOOGLE一下,发现是lk<SID>文件造成的,该文件位于ORALCE_HOME下的dbs目录下,马上检查该文件:
[root@qa- oracle dbs]# fuser -u lkNDMSQA
lkNDMSQA: 6666( oracle ) 6668(
oracle ) 6670(
oracle ) 6672(
oracle ) 6674(
oracle ) 6676(
oracle ) 6678(
oracle ) 6680(
oracle ) 6690(
oracle ) 6692(
oracle ) 6694(
oracle ) 6696(
oracle ) 6737(
oracle ) 6830(
oracle )
果然该文件没释放,用fuser命令kill掉:
[root@qa- oracle dbs]# fuser -k lkNDMSQA
lkNDMSQA: 6666 6668 6670 6672 6674 6676 6678 6680 6690 6692 6694 6696 6737 6830
[root@qa- oracle dbs]# fuser -u lkNDMSQA
然后:
SQL> startup
oracle instance started.
Total System Global Area 276824064 bytes
Fixed Size 778736 bytes
Variable Size 137371152 bytes
Database Buffers 138412032 bytes
Redo Buffers 262144 bytes
Database mounted.
Database opened.
SQL>
SQL> conn /as sysdba
Connected to an idle instance.
SQL> startup
oracle instance started.
Total System Global Area 276824064 bytes
Fixed Size 778736 bytes
Variable Size 137371152 bytes
Database Buffers 138412032 bytes
Redo Buffers 262144 bytes
ORA-01102: cannot mount database in EXCLUSIVE mode
SQL> shutdown immediate
ORA-01507: database not mounted
oracle instance shut down.
GOOGLE一下,发现是lk<SID>文件造成的,该文件位于ORALCE_HOME下的dbs目录下,马上检查该文件:
[root@qa- oracle dbs]# fuser -u lkNDMSQA
lkNDMSQA: 6666( oracle ) 6668(
oracle ) 6670(
oracle ) 6672(
oracle ) 6674(
oracle ) 6676(
oracle ) 6678(
oracle ) 6680(
oracle ) 6690(
oracle ) 6692(
oracle ) 6694(
oracle ) 6696(
oracle ) 6737(
oracle ) 6830(
oracle )
果然该文件没释放,用fuser命令kill掉:
[root@qa- oracle dbs]# fuser -k lkNDMSQA
lkNDMSQA: 6666 6668 6670 6672 6674 6676 6678 6680 6690 6692 6694 6696 6737 6830
[root@qa- oracle dbs]# fuser -u lkNDMSQA
然后:
SQL> startup
oracle instance started.
Total System Global Area 276824064 bytes
Fixed Size 778736 bytes
Variable Size 137371152 bytes
Database Buffers 138412032 bytes
Redo Buffers 262144 bytes
Database mounted.
Database opened.
SQL>
相关文章推荐
- ORACLE RAC安装问题解决记录(5)- 未设置cluster_database导致 ORA-01102 cannot mount database in EXCLUSIVE mode
- "ORA-01102 cannot mount database in EXCLUSIVE mode",官方文档:
- 启动数据库时 ORA-01102: cannot mount database in EXCLUSIVE mode
- 【oracle案例】ORA-01102: cannot mount database in EXCLUSIVE mode
- ORA-01102: cannot mount database in EXCLUSIVE mode
- 错误 ORA-01102: cannot mount database in EXCLUSIVE mode 的处理方法
- ORA-01102: cannot mount database in EXCLUSIVE mode
- ORA-01102: cannot mount database in EXCLUSIVE mode- DB关闭后进程未彻底停止
- ORA-01102: cannot mount database in EXCLUSIVE mode
- ORA-01102: cannot mount database in EXCLUSIVE mode
- ORA-01102 cannot mount database in EXCLUSIVE mode
- ORA-01102 cannot mount database in EXCLUSIVE mode
- ora-01102:cannot mount database in exclusive mode
- ORA-01102: cannot mount database in EXCLUSIVE mode
- (2010-06-06)oracle重启故障之一:ORA-01102: cannot mount database in EXCLUSIVE mode
- ORA-01102: cannot mount database in EXCLUSIVE mode
- ORA-01102: cannot mount database in EXCLUSIVE mode
- ORA-01102: cannot mount database in EXCLUSIVE mode
- ORA-01102: cannot mount database in EXCLUSIVE mode - Linux Servers
- ORA-01102: cannot mount database in EXCLUSIVE mode