Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


database 'master' is not valid 9003 error Help!!!


database 'master' is not valid 9003 error Help!!!

Author
Message
fuatm16
fuatm16
Forum Newbie
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: General Forum Members
Points: 4 Visits: 20
I ve just rebooted the server. After it reboots SQL Services not started and i got these errors on the eventviewer. Please help meSad(
Event Type: Error
Event Source: MSSQLSERVER
Event Category: (2)
Event ID: 17058
Date: 06.11.2008
Time: 09:27:35
User: N/A
Computer: VVSTR01
Description:
initerrlog: Could not open error log file 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'. Operating system error = 5(error not found).
Data:
0000: a2 42 00 00 10 00 00 00 ¢B......
0008: 08 00 00 00 56 00 56 00 ....V.V.
0010: 53 00 54 00 52 00 30 00 S.T.R.0.
0018: 31 00 00 00 00 00 00 00 1.......
Event Type: Error
Event Source: MSSQLSERVER
Event Category: (2)
Event ID: 17053
Date: 06.11.2008
Time: 09:27:38
User: N/A
Computer: VVSTR01
Description:
UpdateUptimeRegKey: Operating system error 5(error not found) encountered.
Data:
0000: 9d 42 00 00 10 00 00 00 B......
0008: 08 00 00 00 56 00 56 00 ....V.V.
0010: 53 00 54 00 52 00 30 00 S.T.R.0.
0018: 31 00 00 00 00 00 00 00 1.......
Event Type: Error
Event Source: MSSQLSERVER
Event Category: (2)
Event ID: 9003
Date: 06.11.2008
Time: 10:34:41
User: N/A
Computer: VVSTR01
Description:
The log scan number (347:192:1) passed to log scan in database 'master' is not valid. This error may indicate data corruption or that the log file (.ldf) does not match the data file (.mdf). If this error occurred during replication, re-create the publication. Otherwise, restore from backup if the problem results in a failure during startup.
Data:
0000: 2b 23 00 00 14 00 00 00 +#......
0008: 08 00 00 00 56 00 56 00 ....V.V.
0010: 53 00 54 00 52 00 30 00 S.T.R.0.
0018: 31 00 00 00 00 00 00 00 1.......
GilaMonster
GilaMonster
SSC-Forever
SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)

Group: General Forum Members
Points: 47245 Visits: 44377
Does the file "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG" exist? Is it readable?
Do you have a backup of the master database?

Can you do a check of the C drive? It looks like there's registry damage and damage to a couple of files. If so, that indicates hardware problems. Is C drive a raid array? If so, check to see if the raid controller is reporting errors


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


Steve Jones
Steve Jones
SSC-Dedicated
SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)SSC-Dedicated (36K reputation)

Group: Administrators
Points: 36118 Visits: 18744
Did you lose a disk or move things around? It looks like either you have a bad disk, or it moved. Is the error log back there?

Also, check the services parameters for startup. Is the master database file name path valid?

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
fuatm16
fuatm16
Forum Newbie
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: General Forum Members
Points: 4 Visits: 20
Error.log file seems like below.
There is no raid. i donnow how can fix this Sad


2008-11-08 00:06:03.40 Server Microsoft SQL Server 2005 - 9.00.3042.00 (Intel X86)
Feb 9 2007 22:47:07
Copyright (c) 1988-2005 Microsoft Corporation
Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 2)

2008-11-08 00:06:03.40 Server (c) 2005 Microsoft Corporation.
2008-11-08 00:06:03.40 Server All rights reserved.
2008-11-08 00:06:03.40 Server Server process ID is 6920.
2008-11-08 00:06:03.40 Server Authentication mode is MIXED.
2008-11-08 00:06:03.40 Server Logging SQL Server messages in file 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG'.
2008-11-08 00:06:03.40 Server This instance of SQL Server last reported using a process ID of 5020 at 08.11.2008 00:05:56 (local) 07.11.2008 22:05:56 (UTC). This is an informational message only; no user action is required.
2008-11-08 00:06:03.40 Server Registry startup parameters:
2008-11-08 00:06:03.40 Server -d C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\master.mdf
2008-11-08 00:06:03.40 Server -e C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG
2008-11-08 00:06:03.40 Server -l C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\mastlog.ldf
2008-11-08 00:06:03.40 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.
2008-11-08 00:06:03.40 Server Detected 2 CPUs. This is an informational message; no user action is required.
2008-11-08 00:06:03.57 Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required.
2008-11-08 00:06:03.59 Server Attempting to initialize Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.
2008-11-08 00:06:05.65 Server Attempting to recover in-doubt distributed transactions involving Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.
2008-11-08 00:06:05.65 Server Database mirroring has been enabled on this instance of SQL Server.
2008-11-08 00:06:05.65 spid5s Starting up database 'master'.
2008-11-08 00:06:05.68 spid5s Error: 9003, Severity: 20, State: 1.
2008-11-08 00:06:05.68 spid5s The log scan number (347:192:1) passed to log scan in database 'master' is not valid. This error may indicate data corruption or that the log file (.ldf) does not match the data file (.mdf). If this error occurred during replication, re-create the publication. Otherwise, restore from backup if the problem results in a failure during startup.
2008-11-08 00:06:05.68 spid5s Cannot recover the master database. SQL Server is unable to run. Restore master from a full backup, repair it, or rebuild it. For more information about how to rebuild the master database, see SQL Server Books Online.
GilaMonster
GilaMonster
SSC-Forever
SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)

Group: General Forum Members
Points: 47245 Visits: 44377
Do you have a backup of master?


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


fuatm16
fuatm16
Forum Newbie
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: General Forum Members
Points: 4 Visits: 20
I ve a CRM program that uses SQL database. I ve got a backup of CRMDatabase that took with CRM Database Manager. When i restore it from CRM Database manager nothhing changes. But i vent got master db backup SadSad
fuatm16
fuatm16
Forum Newbie
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: General Forum Members
Points: 4 Visits: 20
I ve get a report for backup operation of master db and see there is a backup .But i cannot see the backup in that folder. Device Type seems Disk (Temproary). Can i bring this file back?
talic_n
talic_n
Forum Newbie
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: General Forum Members
Points: 2 Visits: 10
I've got same problem raising event 9003.

My SQLServer 2008 service wont start too.
GilaMonster
GilaMonster
SSC-Forever
SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)SSC-Forever (47K reputation)

Group: General Forum Members
Points: 47245 Visits: 44377
Do you have a backup of master? What's the exact errors that you're getting? What's in the SQL 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


talic_n
talic_n
Forum Newbie
Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: General Forum Members
Points: 2 Visits: 10
No, i don't have master backup.

solution I came up with was to remove troubled instance and install it all over again.

but seams likely below article might have halped if i had master backup (hope someone will find it useful Smile )

http://social.msdn.microsoft.com/forums/en-US/sqldisasterrecovery/thread/958ac670-f5b8-4022-a532-0fd772644d8e

either way no harm done, luckly it was test enviroment, not production Smile
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