Solved

Bypass recovery mode

Posted on 2003-10-22
6
4,102 Views
Last Modified: 2012-06-27
Whenever I try to start the SQL2000 sevice, I get the error "table tempdb in bypass recovery mode" and the process is terminated... It started when we first received the message that the transaction log for the 'tempdb' database was full although it was set to grow and ample space was availiable (2GB).  We created a second log and this message appeared... HELP!!!

Gene
0
Comment
Question by:gene_jm
  • 2
  • 2
6 Comments
 
LVL 34

Expert Comment

by:arbert
Comment Utility
It should be as easy as deleting the tempdb.mdf and the ldf file--SQL Server will recreate them on startup.  If SQL Server doesn't want to recreate them, take a look at traceflags (3607, 3608 and 3609)

Brett
0
 

Author Comment

by:gene_jm
Comment Utility
Hi Brett

The files were deleted ....and SQL2000 recreated them, but then the services stopped showing the same error "Could not run begin transaction in database 'tempdb' because the database is in bypass recovery mode"
0
 

Author Comment

by:gene_jm
Comment Utility
based on the above  the service cannot be started....therefore how does one one look at traceflags (3607, 3608 and 3609)
gene_jm
0
 
LVL 34

Accepted Solution

by:
arbert earned 125 total points
Comment Utility
You apply a trace flag when you start sql server--if you look at the service property, you can add /t startup option--see the options below....It's weird that it recreated tempdb and then gave a recovery error--did you try moving the files or something?  What happened to make the recovery mode kick in?

http://www.transactsql.com/Articles/startupparms.html

http://www.databasejournal.com/features/mssql/article.php/1442191#part_2


Brett
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Viewers will learn how the fundamental information of how to create a table.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now