Home » RDBMS Server » Server Administration » System datafile is deleted, Urgent help needed!!  () 1 Vote
System datafile is deleted, Urgent help needed!! [message #150761] Fri, 09 December 2005 08:59 Go to next message
tkiran4u
Messages: 13
Registered: December 2005
Junior Member
Hi,

Accidently one of my fellow developers deleted the system datafile. Its throwing the following error:

ORA-01116: error in opening database file 10
ORA-01110: data file 10: '/u02/oracle/product/920/syssource.dbf'
ORA-27041: unable to open file
SVR4 Error: 2: No such file or directory

Then I tried the following steps:

SQL> shutdown immediate
ORA-01116: error in opening database file 10
ORA-01110: data file 10: '/u02/oracle/product/920/syssource.dbf'
ORA-27041: unable to open file
SVR4 Error: 2: No such file or directory
Additional information: 3
SQL> shutdown abort
ORACLE instance shut down.
SQL> startup nomount
ORACLE instance started.

Total System Global Area 201938076 bytes
Fixed Size 455836 bytes
Variable Size 83886080 bytes
Database Buffers 117440512 bytes
Redo Buffers 155648 bytes
SQL> alter database mount;

Database altered.

SQL> alter database datafile '/u02/oracle/product/920/syssource.dbf' offline drop;

Database altered.

SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-01147: SYSTEM tablespace file 10 is offline
ORA-01110: data file 10: '/u02/oracle/product/920/syssource.dbf'

Can anybody help me out of this problem...your prompt response is highly appreciated. Thanks in advance.

System tablespace is using both the below datafiles, which I can see in the v$datafile.
SYSTEM - /u03/oracle/db2/sys1db2.dbf
SYSTEM - /u02/oracle/product/920/syssource.dbf

Re: System datafile is deleted, Urgent help needed!! [message #150764 is a reply to message #150761] Fri, 09 December 2005 09:22 Go to previous messageGo to next message
smartin
Messages: 1803
Registered: March 2005
Location: Jacksonville, Florida
Senior Member
Do you have a backup?
Re: System datafile is deleted, Urgent help needed!! [message #150768 is a reply to message #150764] Fri, 09 December 2005 09:36 Go to previous messageGo to next message
tkiran4u
Messages: 13
Registered: December 2005
Junior Member
No, there is no backup as of my knowledge.
Re: System datafile is deleted, Urgent help needed!! [message #150770 is a reply to message #150768] Fri, 09 December 2005 09:40 Go to previous messageGo to next message
tkiran4u
Messages: 13
Registered: December 2005
Junior Member
Hi,
Its a development database. and unfortunately, we don't have a dba currently available. Can you please let me know to start the database normally. Doesn't matter even the data is lost, but the database should be up and running.
Re: System datafile is deleted, Urgent help needed!! [message #150799 is a reply to message #150761] Fri, 09 December 2005 15:46 Go to previous message
nmacdannald
Messages: 460
Registered: July 2005
Location: Stockton, California - US...
Senior Member
Just some general clues:
1) Do not believe anything I say, because what works for me may not work for you.
2) Do not get yourself in any worse situation than you currently are. Backup what you have right now in case you make it worse while trying to fix it.
3) Check that the tablespace's status is 'online.'
4) Do you still have the datafile that the system tablespace used?
5) Do you have Oracle Support? https://metalink.oracle.com/metalink/plsql/ml2_gui.startup
6) Is this data extremely important so much that you would consider shutting down the computer and having someone recover the datafile that has been deleted. The O/S has not necessarily written over it yet. Most O/S's just mark the blocks free when you do a delete. I know a company that recovers disk blocks one at a time.

I am not sure what what else I can contribute. I wish I could be more help to you. Perhaps some of the others in this group can tell you more.
Good luck, keep us posted.
Neil.
Previous Topic: SYS password
Next Topic: Common SID for 8i Instance and 10g Instance
Goto Forum:
  


Current Time: Fri Sep 20 15:32:08 CDT 2024