–ORA-01172: recovery of thread 1 stuck at block 9 of file 2 (RECOVER DATAFILE )

connect sys as sysdba

SQL> select status from v$instance;

STATUS
————
MOUNTED

SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-01172: recovery of thread 1 stuck at block 9 of file 2
ORA-01151: use media recovery to recover block, restore backup if needed

SQL> select name from v$datafile where file#=2;

NAME
——————————————————————————–

C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL2\UNDOTBS01.DBF

SQL> RECOVER DATAFILE ‘C:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL2\UNDOTBS01.DBF’;
Media recovery complete.
SQL> alter database open;

Database altered.

SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup force

regards

Mohammad Talat

Advertisements

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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s