Quantcast
Viewing all articles
Browse latest Browse all 15889

How to recover msdb database from suspect mode.

I have tried the following STEPS OF  commands to recover but in vain.

STEP 1) EXEC sp_resetstatus 'MSDB'

 o/p Message :The suspect flag on the database "MSDB" is already reset.

STEP 2)ALTER DATABASE MSDB SET EMERGENCY

 O/P MESSAGE : Msg 5058, Level 16, State 6, Line 1  ,Option 'EMERGENCY' cannot be set in database 'MSDB'.
STEP 3) DBCC checkdb('MSDB')
 O/P Message : Location:page.cpp:3364
Expression:GetGhostRecCount () > 0
SPID:53
Process ID:1476
Msg 926, Level 14, State 1, Line 1
Database 'msdb' cannot be opened. It has been marked SUSPECT by recovery. See the SQL Server errorlog for more information.
Msg 3624, Level 20, State 1, Line 1
A system assertion check has failed. Check the SQL Server error log for details
Msg 3313, Level 21, State 2, Line 1
During redoing of a logged operation in database 'msdb', an error occurred at log record ID (539579:376:3). Typically, the specific failure is previously logged as an error in the Windows Event Log service. Restore the database from a full backup, or repair the database.
Msg 3414, Level 21, State 1, Line 1
An error occurred during recovery, preventing the database 'msdb' (database ID 4) from restarting. Diagnose the recovery errors and fix them, or restore from a known good backup. If errors are not corrected or expected, contact Technical Support.
step 4) ALTER DATABASE MSDB SET SINGLE_USER WITH ROLLBACK IMMEDIATE
 o/P Message :
Location:page.cpp:3364
Expression:GetGhostRecCount () > 0
SPID:51
Process ID:1476
Msg 926, Level 14, State 1, Line 1
Database 'msdb' cannot be opened. It has been marked SUSPECT by recovery. See the SQL Server errorlog for more information.
Msg 5069, Level 16, State 1, Line 1
ALTER DATABASE statement failed.
Msg 3624, Level 20, State 1, Line 1
A system assertion check has failed. Check the SQL Server error log for details
Msg 3313, Level 21, State 2, Line 1
During redoing of a logged operation in database 'msdb', an error occurred at log record ID (539579:376:3). Typically, the specific failure is previously logged as an error in the Windows Event Log service. Restore the database from a full backup, or repair the database.
Msg 3414, Level 21, State 1, Line 1
An error occurred during recovery, preventing the database 'msdb' (database ID 4) from restarting. Diagnose the recovery errors and fix them, or restore from a known good backup. If errors are not corrected or expected, contact Technical Support.
STEP 5) DBCC CheckDB ('MSDB', REPAIR_ALLOW_DATA_LOSS)
 O/P Message : Msg 926, Level 14, State 1, Line 1
 Database 'msdb' cannot be opened. It has been marked SUSPECT by recovery. See the SQL Server errorlog for more information.
step 6) ALTER DATABASE MSDB SET MULTI_USER
 O/P Message :
Location:page.cpp:3364
Expression:GetGhostRecCount () > 0
SPID:51
Process ID:1476
Msg 926, Level 14, State 1, Line 1
Database 'msdb' cannot be opened. It has been marked SUSPECT by recovery. See the SQL Server errorlog for more information.
Msg 5069, Level 16, State 1, Line 1
ALTER DATABASE statement failed.
Msg 3624, Level 20, State 1, Line 1
A system assertion check has failed. Check the SQL Server error log for details
Msg 3313, Level 21, State 2, Line 1
During redoing of a logged operation in database 'msdb', an error occurred at log record ID (539579:376:3). Typically, the specific failure is previously logged as an error in the Windows Event Log service. Restore the database from a full backup, or repair the database.
Msg 3414, Level 21, State 1, Line 1
An error occurred during recovery, preventing the database 'msdb' (database ID 4) from restarting. Diagnose the recovery errors and fix them, or restore from a known good backup. If errors are not corrected or expected, contact Technical Support.
CAN ANYBODY HELP OUT  ME TO RECOVER msdb FROM REVEOR MODE...
THANKS In Advance


Viewing all articles
Browse latest Browse all 15889

Trending Articles