ORA-01102: cannot mount database in EXCLUSIVE mode

SQL> startup;
ORACLE instance started.

Total System Global Area 3290345472 bytes
Fixed Size 2217832 bytes
Variable Size 2449475736 bytes
Database Buffers 822083584 bytes
Redo Buffers 16568320 bytes
ORA-01102: cannot mount database in EXCLUSIVE mode

这个错误主要是lk文件造成的,该文件位于ORALCE_HOME下的dbs目录下,这个lk的主要作用是说明DATABASE MOUNT上了,不用再MOUNT了,DATABASE UNMOUNT 后会删除掉,如果DATABASE确实没有MOUNT,这个文件在你也MOUNT上,只有手工删除,所以一定要小心。

解决:

[root@localhost ~]# cd $ORACLE_HOME/dbs
[root@localhost ~]# /sbin/fuser -u lkTEST
lkWIDEATECH:          2330(oracle)  2340(oracle)  2344(oracle)  2348(oracle)  2352(oracle)  2354(oracle)  2356(oracle)  2360(oracle)  2362(oracle)  2365(oracle)  2368(oracle)  2370(oracle)  2
[root@localhost ~]# /sbin/fuser -k lkTEST
lkWIDEATECH:          2330  2340  2344  2348  2352  2354  2356  2360  2362  2365  2368  2370  2477  2567  2596  2598

启动数据库即可

SQL> startup;

你可能感兴趣的:(ORA-01102: cannot mount database in EXCLUSIVE mode)