ORA-01102: cannot mount database in EXCLUSIVE mode


oracle$ sqlplus sys as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Wed Nov 6 04:02:10 2015
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Enter password: 
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 680607744 bytes
Fixed Size 2231472 bytes
Variable Size 507511632 bytes
Database Buffers 163577856 bytes
Redo Buffers 7286784 bytes
ORA-01102: cannot mount database in EXCLUSIVE mode
Solution:
oracle$ sqlplus sys as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Wed Nov 6 06:13:15 2015
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Enter password:
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> shutdown immediate 
ORA-01507: database not mounted
ORACLE instance shut down.
SQL> exit
oracle$ ps -ef|grep anardb
oracle 974 6086 0 00:09 pts/1 00:00:00 grep anardb
oracle$ cd /u01/oradata
oracle$ cp -r anardb anardb.1
oracle$ mv -r anardb anardb.old
oracle$ mv anardb.1 anardb
oracle$ cd $ORACLE_HOME/dbs
oracle$ rm lkanardb
oracle$ sqlplus sys as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Wed Nov 6 04:25:12 2015
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Enter password: 
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 680607744 bytes
Fixed Size 2231472 bytes
Variable Size 507511632 bytes
Database Buffers 163577856 bytes
Redo Buffers 7286784 bytes
Database mounted.
Database opened.
SQL> exit

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: