SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Database was in Emergency mode, single user mode - Need to bring database online


Database was in Emergency mode, single user mode - Need to bring database online

Author
Message
varalakshmi.kandukuri
varalakshmi.kandukuri
SSC-Enthusiastic
SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)

Group: General Forum Members
Points: 179 Visits: 70
Hello Everyone,

We are using one SQL Server 2000 version, and now one database is Emergency mode and in single user mode. The bad thing is we don't have any backups for that database but we have only the data files and log files. How can we bring that database to online??????

Please suggest on this issue.. Its need to be fixed ASAP.

Thanks In Advance....

Regards,
GilaMonster
GilaMonster
SSC Guru
SSC Guru (548K reputation)SSC Guru (548K reputation)SSC Guru (548K reputation)SSC Guru (548K reputation)SSC Guru (548K reputation)SSC Guru (548K reputation)SSC Guru (548K reputation)SSC Guru (548K reputation)

Group: General Forum Members
Points: 548561 Visits: 47739
Why is the DB in emergency mode? How did it get there?
What errors are there for that DB in the error log?

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


varalakshmi.kandukuri
varalakshmi.kandukuri
SSC-Enthusiastic
SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)

Group: General Forum Members
Points: 179 Visits: 70
Hi,
This was the errorlog :

2012-11-13 16:52:48.20 spid10 Starting up database 'CMU'.
2012-11-13 16:52:48.24 spid11 Starting up database 'ESIDATADUMP'.
2012-11-13 16:52:48.24 spid11 udopen: Operating system error 3(The system cannot find the path specified.) during the creation/opening of physical device E:\SQLDATA\sqldatafiles\ESIDATADUMP_Data.MDF.
2012-11-13 16:52:48.23 spid9 udopen: Operating system error 3(The system cannot find the path specified.) during the creation/opening of physical device E:\DNCDatafiles\DNC.mdf.
2012-11-13 16:52:48.26 spid9 FCB::Open failed: Could not open device E:\DNCDatafiles\DNC.mdf for virtual device number (VDN) 1.
2012-11-13 16:52:48.26 spid12 Starting up database 'DBA'.
2012-11-13 16:52:48.26 spid12 udopen: Operating system error 3(The system cannot find the path specified.) during the creation/opening of physical device E:\SQLDATA\sqldatafiles\DBA_Data.mdf.
2012-11-13 16:52:48.26 spid12 FCB::Open failed: Could not open device E:\SQLDATA\sqldatafiles\DBA_Data.mdf for virtual device number (VDN) 1.
2012-11-13 16:52:48.26 spid13 Starting up database 'DNC_Table_BKUP'.
2012-11-13 16:52:48.26 spid14 Starting up database 'CanadaBT'.
2012-11-13 16:52:48.26 spid14 udopen: Operating system error 3(The system cannot find the path specified.) during the creation/opening of physical device E:\SQLDATA\sqldatafiles\CanadaBT_Data.MDF.
2012-11-13 16:52:48.26 spid14 FCB::Open failed: Could not open device E:\SQLDATA\sqldatafiles\CanadaBT_Data.MDF for virtual device number (VDN) 1.
2012-11-13 16:52:48.26 spid11 FCB::Open failed: Could not open device E:\SQLDATA\sqldatafiles\ESIDATADUMP_Data.MDF for virtual device number (VDN) 1.
2012-11-13 16:52:48.26 spid15 Starting up database 'distribution'.

Please check...

Regards,
Varalakshmi
GilaMonster
GilaMonster
SSC Guru
SSC Guru (548K reputation)SSC Guru (548K reputation)SSC Guru (548K reputation)SSC Guru (548K reputation)SSC Guru (548K reputation)SSC Guru (548K reputation)SSC Guru (548K reputation)SSC Guru (548K reputation)

Group: General Forum Members
Points: 548561 Visits: 47739
The folder and/or files mentioned in those errors don't exist. Rectify that problem and restart SQL.

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


varalakshmi.kandukuri
varalakshmi.kandukuri
SSC-Enthusiastic
SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)

Group: General Forum Members
Points: 179 Visits: 70
Hi,

After restart of server also the database in emergency mode but those files we can able to see. We copied all the .mdf and .ldf files to some new location and created the required database in that new sql server by attaching these mdf and ldf files. Now we have atleast one source for current use.
It seems to be issue has been fixed.:-)
Planning to do the same thing on the emergency mode database also.

Thanks
&
Regards,
GilaMonster
GilaMonster
SSC Guru
SSC Guru (548K reputation)SSC Guru (548K reputation)SSC Guru (548K reputation)SSC Guru (548K reputation)SSC Guru (548K reputation)SSC Guru (548K reputation)SSC Guru (548K reputation)SSC Guru (548K reputation)

Group: General Forum Members
Points: 548561 Visits: 47739
Good, now set up a backup strategy.

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass


Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search