Quantcast
Channel: Virtual Machine Manager – General forum
Viewing all articles
Browse latest Browse all 2770

SQL DB in unstable state -- please provide options --- I am not a DBA

$
0
0

I ran the trace logging and attempted to start VMM manager service which failed-- it states DB is in a inconsistent state-- what query do I need to run to fix this? 

[0]177C.17AC::2016-03-29 08:10:15.297 [Microsoft-VirtualMachineManager-Debug]4,4,Catalog.cs,882,Failing ExecuteScalar [s#2 7ms] [ex#1] New exception = [[(DBCorruptionException#8) { Microsoft.VirtualManager.DB.DBCorruptionException: Unable to connect to the VMM database because the database is in an inconsistent state.  Contact an experienced SQL administrator whenever this error occurs. In some cases, it may be necessary to restore the VMM database. If the problem persists, contact Microsoft Help and Support.     at Microsoft.VirtualManager.DB.SqlRetryCommand.ValidateReturnValue()     at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteScalar(TimeSpan ExpectedDuration)     at Microsoft.VirtualManager.Utils.GlobalSetting.GetGlobalProperty(SqlContext ctx, String propertyName)     at Microsoft.VirtualManager.Utils.GlobalSetting.GetGlobalProperty(String propertyName)     at Microsoft.VirtualManager.Utils.AppSettings.GetHAVMMSetting() *** Carmine error was: DatabaseInconsistent (2603); 50001 [s#2] ExecuteScalar("dbo.prc_VM_GetGlobalProperty") in Catalog.cs:line 882 Full call stack from when the exception was thrown:   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)     at System.Environment.get_StackTrace()     at Microsoft.VirtualManager.Utils.CarmineException..ctor(ErrorInfo error, Exception innerException, String message)     at Microsoft.VirtualManager.DB.DBCorruptionException..ctor(String message, DbErrorCode dbErrorCode)     at Microsoft.VirtualManager.DB.SqlRetryCommand.ValidateReturnValue()     at Microsoft.VirtualManager.DB.SqlRetryCommand.ExecuteScalar(TimeSpan ExpectedDuration)     at Microsoft.VirtualManager.Utils.GlobalSetting.GetGlobalProperty(SqlContext ctx, String propertyName)     at Microsoft.VirtualManager.Utils.GlobalSetting.GetGlobalProperty(String propertyName)     at Microsoft.VirtualManager.Utils.AppSettings.GetHAVMMSetting()     at Microsoft.VirtualManager.Utils.AppSettings.get_IsHAVMM()     at Microsoft.VirtualManager.Engine.VirtualManagerService.ThrowHavmmCheck()     at Microsoft.VirtualManager.Engine.VirtualManagerService.TimeStartupMethod(String description, TimedStartupMethod methodToTime)     at System.Threading.Tasks.Task.Execute()     at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)     at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)     at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)     at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)     at System.Threading.ThreadPoolWorkQueue.Dispatch(); error = (ErrorInfo#232af9f) DatabaseInconsistent (2603); 50001 }]] ("dbo.prc_VM_GetGlobalProperty"),{00000000-0000-0000-0000-000000000000}


dsk


dsk


Viewing all articles
Browse latest Browse all 2770

Trending Articles



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