Skip to Content
0
Former Member
Apr 29, 2009 at 05:36 PM

Oracle error after abrupt shutdown of server

354 Views

Hi..

Today i was taking online backup using sapdba. During backup server abruptly shutdown due to power failure.

Now i am trying to restart the server but it terminates with error code "2".

Here is my startdb.log

First trying to shutdown the database - May be,

the database is in the nomount or mount state

-


Wed Apr 29 22:23:50 IST 2009

starting database

SQL*Plus: Release 9.2.0.3.0 - Production on Wed Apr 29 22:23:50 2009

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

Connected to an idle instance.

ORACLE instance started.

Total System Global Area 463963864 bytes

Fixed Size 730840 bytes

Variable Size 268435456 bytes

Database Buffers 193462272 bytes

Redo Buffers 1335296 bytes

Database mounted.

ORA-01113: file 2 needs media recovery

ORA-01110: data file 2: '/oracle/PRD/sapdata3/prd_1/prd.data1'

Disconnected from Oracle9i Enterprise Edition Release 9.2.0.3.0 - 64bit Production

With the Partitioning option

JServer Release 9.2.0.3.0 - Production

-


Wed Apr 29 22:23:56 IST 2009

Connect to the database to verify, that the database is now open

R3trans check finished with return code: 12

  • ERROR: Startup of database failed

Notify Database Administrator.

/usr/sap/PRD/SYS/exe/run/startdb: Terminating with error code 2

It is asking for media recovery due to tablespace in BACKUP mode.

I tried with command ALTER TABLESPACE '------' END BACKUP.

but is give error like----

Alter tablespace PSAPPRD end backup;

Alter tablespace PSAPPRD end backup

*

ERROR at line 1:

ORA-01199: file 70 is not in online backup mode

ORA-01110: data file 70: '/oracle/PRD/sapdata5/prd_54/prd.data54'

ORA-01199: file 71 is not in online backup mode

ORA-01110: data file 71: '/oracle/PRD/sapdata5/prd_55/prd.data55'

ORA-01199: file 72 is not in online backup mode

ORA-01110: data file 72: '/oracle/PRD/sapdata5/prd_56/prd.data56'

ORA-01199: file 73 is not in online backup mode

ORA-01110: data file 73: '/oracle/PRD/sapdata5/prd_57/prd.data57'

ORA-01199: file 74 is not in online backup mode

ORA-01110: data file 74: '/oracle/PRD/sapdata5/prd_58/prd.data58'

ORA-01199: file 75 is not in online backup mode

ORA-01110: data file 75: '/oracle/PRD/sapdata5/prd_59/prd.data59'

ORA-01199: file 76 is not in online backup mode

ORA-01110: data file 76: '/oracle/PRD/sapdata5/prd_60/prd.data60'

ORA-01199: file 77 is not in online backup mode

ORA-01110: data file 77: '/oracle/PRD/sapdata5/prd_61/prd.data61'

ORA-01199: file 78 is not in online backup mode

ORA-01110: data file 78: '/oracle/PRD/sapdata5/prd_62/prd.data6

Now what i can do further. file '2' is saying for media recovery but in this case i got a information form oracle site that media recovery should be avoided.

Please help!

Thanks in advance

Regards.

Raju