SQL> conn /as sysdba Connected to an idle instance. SQL> startup ORACLE instance started. Total System Global Area 591396864 bytes Fixed Size 1220724 bytes Variable Size 167776140 bytes Database Buffers 415236096 bytes Redo Buffers 7163904 bytes ORA-01102: cannot mount database in EXCLUSIVE mode SQL> shutdown immediate ORA-01507: database not mounted ORACLE instance shut down.
[oracle@localhost dbs]$ ls sgadef* ls: cannot access sgadef*: No such file or directory [oracle@localhost dbs]$ ls lk* lkORCL [oracle@localhost dbs]$lk<sid>文件没有被删除。将它删除掉
[oracle@localhost dbs]$ rm lkORCL
[root@localhost dbs]# ps -ef|grep oracle root 2310 2358 0 162310 2358 0 16:00 pts/0 00:00:00 su - oracle oracle 2311 2310 0 162311 2310 0 16:00 pts/0 00:00:00 -bash root 2427 2403 0 102427 2403 0 10:47 pts/1 00:00:00 su - oracle ……
1.如果是HA系统,检查其他节点是否已经启动实例;
2.检查Oracle进程是否存在,如果存在则杀掉进程;3.检查信号量是否存在,如果存在,则清除信号量;
4.检查共享内存段是否存在,如果存在,则清除共享内存段;
5.检查锁内存文件lk<sid>和sgadef<sid>.dbf是否存在,如果存在,则删除。