Solved

Bypass recovery mode

Posted on 2003-10-22
6
4,126 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
ID: 9601895
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
ID: 9602741
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
ID: 9602753
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
ID: 9602912
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Let's review the features of new SQL Server 2012 (Denali CTP3). It listed as below: PERCENT_RANK(): PERCENT_RANK() function will returns the percentage value of rank of the values among its group. PERCENT_RANK() function value always in be…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how the fundamental information of how to create a table.

863 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

23 Experts available now in Live!

Get 1:1 Help Now