报错信息如下:
SQL> startup
ORACLE instance started.
Total System Global Area 784998400 bytes
Fixed Size 2217464 bytes
Variable Size 465570312 bytes
Database Buffers 314572800 bytes
Redo Buffers 2637824 bytes
ORA-01102: cannot mount database in EXCLUSIVE mode
从警告日志中发现如下信息:
-bash-4.2$ pwd
/usr/local/oracle/diag/rdbms/wlorcl/wlorcl/alert
原因是锁内存的文件lk和sgadef.dbf文件没有被删除。
<msg time='2018-09-27T20:45:03.312-04:00' org_id='oracle' comp_id='rdbms'
client_id='' type='UNKNOWN' level='16'
host_id='localhost.localdomain' host_addr='::1' module=''
pid='27516'>
<txt>sculkget: failed to lock /usr/local/oracle/product/11.2.0/db_1/dbs/lkWLORCL exclusive
</txt>
</msg>
<msg time='2018-09-27T20:45:03.312-04:00' org_id='oracle' comp_id='rdbms'
client_id='' type='UNKNOWN' level='16'
host_id='localhost.localdomain' host_addr='::1' module=''
pid='27516'>
<txt>sculkge