Quantcast
Channel: SQL Server Manageability forum
Viewing all articles
Browse latest Browse all 1519

DBCC Checkdb failed for Master and msdb databases.

$
0
0

We been running this script from longtime on our prod server. Suddenly, we are getting this error

We use the Maintain Scripts from the below link.

ola.hallengren.com

Command: DBCC CHECKDB ([master]) WITH NO_INFOMSGS, ALL_ERRORMSGS, DATA_PURITY [SQLSTATE 01000] (Message 50000)  The database could not be exclusively locked to perform the operation. [SQLSTATE 42000] (Error 5030)  Check statement aborted. The database could not be checked as a database snapshot could not be created and the database or table could not be locked. See Books Online for details of when this behavior is expected and what workarounds exist. Also see previous errors for more details. [SQLSTATE 42000] (Error 7926)  Outcome: Failed [SQLSTATE 01000] (Message 50000)  Duration: 00:00:00 [SQLSTATE 01000] (Message 50000)  Date and time: 2019-09-07 04:25:35 [SQLSTATE 01000] (Message 50000)  Date and time: 2019-09-07 04:25:35 [SQLSTATE 01000] (Message 50000)  Database: [model] [SQLSTATE 01000] (Message 50000)  Status: ONLINE [SQLSTATE 01000] (Message 50000)  Standby: No [SQLSTATE 01000] (Message 50000)  Updateability: READ_WRITE [SQLSTATE 01000] (Message 50000)  User access: MULTI_USER [SQLSTATE 01000] (Message 50000)  Is accessible: Yes [SQLSTATE 01000] (Message 50000)  Recovery model: FULL [SQLSTATE 01000] (Message 50000)  Date and time: 2019-09-07 04:25:35 [SQLSTATE 01000] (Message 50000)  Command: DBCC CHECKDB ([model]) WITH NO_INFOMSGS, ALL_ERRORMSGS, DATA_PURITY [SQLSTATE 01000] (Message 50000)  Outcome: Succeeded [SQLSTATE 01000] (Message 50000)  Duration: 00:00:00 [SQLSTATE 01000] (Message 50000)  Date and time: 2019-09-07 04:25:35 [SQLSTATE 01000] (Message 50000)  Date and time: 2019-09-07 04:25:35 [SQLSTATE 01000] (Message 50000)  Database: [msdb] [SQLSTATE 01000] (Message 50000)  Status: ONLINE [SQLSTATE 01000] (Message 50000)  Standby: No [SQLSTATE 01000] (Message 50000)  Updateability: READ_WRITE [SQLSTATE 01000] (Message 50000)  User access: MULTI_USER [SQLSTATE 01000] (Message 50000)  Is accessible: Yes [SQLSTATE 01000] (Message 50000)  Recovery model: SIMPLE [SQLSTATE 01000] (Message 50000)  Date and time: 2019-09-07 04:25:35 [SQLSTATE 01000] (Message 50000)  Command: DBCC CHECKDB ([msdb]) WITH NO_INFOMSGS, ALL_ERRORMSGS, DATA_PURITY [SQLSTATE 01000] (Message 50000)  The database could not be exclusively locked to perform the operation. [SQLSTATE 42000] (Error 5030)  

Check statement aborted. The database could not be checked as a database snapshot could not be created and the database or table could not be locked. 


Viewing all articles
Browse latest Browse all 1519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>