Solved

Attaching database fail , Error 9003 The LSN passed to log scan in database is invalid.

Posted on 2009-04-01
3
8,208 Views
Last Modified: 2012-06-27
Client just had a lock up on Friday and unable to start MSSQL service due to what appeared is a copurpt Master database. When through the steps to recover and restore the master database. SQL service now loading and able to view database in EM. Howerver, 2 of the 3 were showing the status as "suspect". So I de-tached one of them and went to re-attach and get the following error:

"Error 9003: The LSN(##:##:##) passed to log scan in database 'databasename' is invalid."

So I suspect what ever happened on friday also caused a problem with the databases in question. I think we can restore those from back up. But do I have anything else I can try for now?
0
Comment
Question by:Thirt
  • 2
3 Comments
 
LVL 4

Author Comment

by:Thirt
ID: 24042586
MS SQL Server 2000
0
 
LVL 25

Accepted Solution

by:
reb73 earned 500 total points
ID: 24043053
Your log files may be corrupted as well, causing the database to be marked suspect when recovering logs..

Try attaching only the mdf files to see if it works for you.. Also have a look at the link below -

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=78376
0
 
LVL 4

Author Comment

by:Thirt
ID: 24051383
Tried to attach without the log file and same problem. I guess we just need to restore last good back up.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

I wrote this interesting script that really help me find jobs or procedures when working in a huge environment. I could I have written it as a Procedure but then I would have to have it on each machine or have a link to a server-related search that …
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

813 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