问题现象:
SQL> startup
ORACLE instance started.
Total System Global Area 2818568848 bytes
Fixed Size 9138832 bytes
Variable Size 939524096 bytes
Database Buffers 1862270976 bytes
Redo Buffers 7634944 bytes
ORA-01102: cannot mount database in EXCLUSIVE mode
问题分析:
这个错误主要是lk
解决问题:
/sbin/fuser -u lkwhs
lkwhs: 3977(oracle) 3979(oracle) 3985(oracle) 3989(oracle) 3993(oracle) 3995(oracle) 3997(oracle) 3999(oracle) 4001(oracle) 4003(oracle) 4005(oracle) 4007(oracle)
该文件没释放,用fuser命令kill掉:
/sbin/fuser -k lkwhs
lkwhs: 6530 6532 6534 6536 6538 6540 6542 6544 6554 6556 6558 6560 7699 9376
/sbin/fuser -u lkwhs
然后:
SQL> startup
ORACLE instance started.
Total System Global Area 2818568848 bytes
Fixed Size 9138832 bytes
Variable Size 939524096 bytes
Database Buffers 1862270976 bytes
Redo Buffers 7634944 bytes
Database mounted.
Database opened.
SQL>
数据库成功OPEN.