Solved

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

Posted on 2009-04-01
3
8,414 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Viewers will learn how the fundamental information of how to create a table.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

733 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