TechNet
Products
IT Resources
Downloads
Training
Support
Products
Windows
Windows Server
System Center
Microsoft Edge
Office
Office 365
Exchange Server
SQL Server
SharePoint Products
Skype for Business
See all products »
Resources
Channel 9 Video
Evaluation Center
Learning Resources
Microsoft Tech Companion App
Microsoft Technical Communities
Microsoft Virtual Academy
Script Center
Server and Tools Blogs
TechNet Blogs
TechNet Flash Newsletter
TechNet Gallery
TechNet Library
TechNet Magazine
TechNet Wiki
Windows Sysinternals
Virtual Labs
Solutions
Networking
Cloud and Datacenter
Security
Virtualization
Updates
Service Packs
Security Bulletins
Windows Update
Trials
Windows Server 2016
System Center 2016
Windows 10 Enterprise
SQL Server 2016
See all trials »
Related Sites
Microsoft Download Center
Microsoft Evaluation Center
Drivers
Windows Sysinternals
TechNet Gallery
Training
Expert-led, virtual classes
Training Catalog
Class Locator
Microsoft Virtual Academy
Free Windows Server 2012 courses
Free Windows 8 courses
SQL Server training
Microsoft Official Courses On-Demand
Certifications
Certification overview
Special offers
MCSE Cloud Platform and Infrastructure
MCSE: Mobility
MCSE: Data Management and Analytics
MCSE Productivity
Other resources
Microsoft Events
Exam Replay
Born To Learn blog
Find technical communities in your area
Azure training
Official Practice Tests
Support options
For business
For developers
For IT professionals
For technical support
Support offerings
More support
Microsoft Premier Online
TechNet Forums
MSDN Forums
Security Bulletins & Advisories
Not an IT pro?
Microsoft Customer Support
Microsoft Community Forums
Sign in
Home
Library
Wiki
Learn
Gallery
Downloads
Support
Forums
Blogs
Resources For IT Professionals
United States (English)
Россия (Pусский)
中国(简体中文)
Brasil (Português)
Skip to locale bar
Editing: How to Interpret Job Failures in VMM
Wiki
>
TechNet Articles
>
How to Interpret Job Failures in VMM
Article
Edit
History
Title
<html> <body> <p>Reviewing VMM traces has become so commonplace that we may tend to forget other information related to the failure. More important than the trace itself is the context of the failure. What was being performed at the time and what error message was recorded for the task? These other sources of information are your starting point. They are what make the trace valuable.</p> <p>Reading a VMM trace is an art and a science. There are basic methods to follow and items to locate in the trace, but the only way to become proficient is practice, practice, practice. Perform actions on your own machines, gathering a trace at the same time, and then review the trace to learn how the actions you initiated are recorded. What follows are general best practices for resolving customer issues by using all data available. </p> <p><a name="_Toc303153635"></a><a name="_Toc238017374"></a><a name="_Toc238016013"><strong></strong></a></p> <h1><strong><a name="Where_to_begin"></a>Where to begin</strong></h1> <strong></strong> <p> </p> <strong></strong> <p>To understand a failure you need information from various sources. You cannot begin blindly reading a trace, for example, and expect to get far. Prepare yourself with these items:</p> <ul> <li>What job was being run at the time of the trace? A P2V, adding a host? </li><li>Which trace do you have? Depending on the job you will need traces from more than one system. A trace from the VMM management server will always be needed. If performing a P2V a trace will be required from the Source machine and Destination Host as well. You must also know which trace is from which machine. </li><li>Did the job fail or was it cancelled? The better answer is ‘<strong>failed</strong>’. A failed job will produce an error in the Admin Console along with a hex error code. <strong>This error code is the first item you will search for in the trace starting from the bottom, so it’s important to have.</strong> </li><li>Verify that the trace being reviewed was run during the time that the error occurred. </li></ul> <a name="_Toc303153636"></a><a name="_Toc238017375"></a><a name="_Toc238016014"><strong></strong></a> <h1 style="page-break-after:avoid; margin:10pt 0.1in 0pt 0in"><a name="_Toc238016014"></a><a name="Tools_to_Use"></a>Tools to Use</h1> <p><strong></strong></p> <p>Essentially, Notepad.exe is all that is required to view a trace. Unfortunately, Notepad takes a long time to open the large traces created by VMM. In the examples that follow, TextAnalysisTool.Net will be used instead. A copy of all error codes returned by VMM should also be kept on hand for reference. <br> <br> <a title="Error Codes" href="http://social.technet.microsoft.com/wiki/contents/articles/4906.aspx">System Center 2012 – Virtual Machine Manager (VMM) Error Codes<br> </a></p> <div><a name="_Toc238016015"><strong></strong></a><strong> <h1><a name="_Toc238016015"></a><a name="Interpreting_Job_Failures"></a>Interpreting Job Failures</h1> </strong></div> <p> </p> <p>When a job fails, select the ‘Jobs’ tab in the console and review the error recorded. There will be an error code, usually a 3 to 5 digit number. Below this will be more specific information that explains what went wrong in plain English (or localized language). There will also be a return code in hexadecimal format and a recommended action if available.</p> When a job fails, select the ‘Jobs’ tab in the console and review the error recorded. There will be an error code, usually a 3 to 5 digit number. Below this will be more specific information that explains what went wrong in plain English (or localized language). There will also be a return code in hexadecimal format and a recommended action if available. <p>The error will begin with ‘0x’ followed by eight digits. Often this return code is related to WinRM and if the meaning of the return code is not already provided it can easily be determined. Take the example below:<br> <br> <a href="http://social.technet.microsoft.com/wiki/cfs-file.ashx/__key/communityserver-wikis-components-files/00-00-00-00-05/7610.Error-from-VMM-console.gif"><img alt="" src="http://social.technet.microsoft.com/wiki/resized-image.ashx/__size/550x0/__key/communityserver-wikis-components-files/00-00-00-00-05/7610.Error-from-VMM-console.gif" style="border:0px solid"></a></p> <p><span style="font-family:calibri"><strong><span style="font-size:9pt">Error from VMM console</span></strong></span><span style="font-size:10pt; font-family:calibri"> </span></p> <p><span style="line-height:115%; font-family:cambria,serif"></span></p> <p>‘Error (2915),’ though specific, is really not specific enough. Perform a search of the VKB or the Internet and you will find numerous reasons for this error. To use this error effectively let’s dig deeper. </p> <p>First, read the error as it is presented. ‘The WS-Management service cannot process the request. Object not found on the <servername> server.’ This error also provides a <strong>Recommended Action</strong>. All of this is useful information:</p> <ul> <li>WS-Management is a reference to WinRM. So the issue is likely caused by a condition that led to a general communication failure, which bubbles up in VMM as a WinRM error. Checking the WinRM service on the indicated server would be a good starting place. </li><li>Object not found on <servername>. Whatever the name of the server provided, this is where you should focus your efforts. </li><li>The recommended action suggests that the agent be checked, and recommends rebooting <servername>. The only agent used in VMM is the VMM Agent or P2V Agent. A better action than rebooting the server indicated would be to check and restart the VMM Agent service. </li></ul> <p>From this simple error we have two action plans:</p> <ol> <li>Verify the WinRM service on the remote server. </li><li>Verify the VMM Agent on the remote server. </li></ol> <p>Further, if all servers are reporting this error, it seems likely that the issue may in fact involve the VMM management server itself. Check the services mentioned on the VMM management server, and verify communication with simple WinRM tests explained later in this document under ‘WinRM Troubleshooting’.</p> <p>Now let’s imagine two things being different regarding this error. First, let’s imagine that there was no explanation for the return code (not too difficult as it did report ‘Unknown error (0x80338000)), and that there was no recommended action. What now? First, look up the original 3 to 5 digit error code, in this case ‘2915.’ Searching ‘Error Codes_VMM R2’ we find the following:</p> <table class="LessonTable" border="1" cellspacing="0" cellpadding="0" width="94%" style="margin:auto auto auto 2.55pt; width:94%; border-collapse:collapse"> <thead> <tr style="page-break-inside:avoid"> <td valign="top" style="border:1pt solid #4f81bd; padding:0.05in 4.3pt 0.7pt; background-color:#c6d9f1; width:14.18%"> <p><strong><span style="font-size:10.5pt; font-family:calibri; color:#000000">2915</span></strong></p> </td> <td valign="top" style="border-color:#4f81bd #4f81bd #4f81bd #f0f0f0; border-bottom-width:1pt; border-bottom-style:solid; padding:0.05in 4.3pt 0.7pt; background-color:#c6d9f1; width:47%; border-top-width:1pt; border-top-style:solid; border-right-width:1pt; border-right-style:solid"> <p><strong><span style="font-size:10.5pt; font-family:calibri; color:#000000">The WS-Management service cannot process the request. Object not found on the %ServerName; server.</span></strong></p> </td> <td valign="top" style="border-color:#4f81bd #4f81bd #4f81bd #f0f0f0; border-bottom-width:1pt; border-bottom-style:solid; padding:0.05in 4.3pt 0.7pt; background-color:#c6d9f1; width:38.82%; border-top-width:1pt; border-top-style:solid; border-right-width:1pt; border-right-style:solid"> <p><strong><span style="font-size:10.5pt; font-family:calibri; color:#000000">Ensure that the agent is installed and running. If the error persists, reboot %ServerName; and then try the operation again.</span></strong></p> </td> </tr> </thead> <tbody> </tbody> </table> <p>This represents the code, the message, and the recommended action. So, in this case the recommended action was already provided in the Admin console message, but this is not always the case. Let’s move on.</p> <p>Resolve the return code. As these are usually WinRM related, start there.</p> <p><span style="font-family:'courier new'"><strong>winrm helpmsg 0x80338000</strong></span></p> <p>This returns the following:</p> <p><span style="font-family:'courier new'">winrm helpmsg 0x80338000</span></p> <p><span style="font-family:'courier new'">The WS-Management service cannot process the request. The service cannot find the resource identified by the resource URI and selectors.</span></p> <p>Ok, maybe this is not the most useful error message, but it is a bit different than that provided in the Admin Console and may give you a few key terms that return a better result on the Internet. Also, notice that if you did not precede the eight digit code with a ‘0x’ nothing is returned. This is a ‘feature’ of winrm help.</p> <p>Keep in mind that if winrm returns nothing for the error message, the error probably is not winrm related. There is one additional trick that can narrow down an error even more. Take the last four digits of an eight digit hex code and run this through ‘net helpmsg’. This is worth testing, but the results are not predictably useful.</p> <p>A final comment on return codes; you may have noticed that most of the return codes you see begin with ‘0x8’. If the first four digits of the code begin with 8004, 8007, or 80005 (three zeros) you have a WMI related error. Don’t mistake this to mean the error is due to WMI, just that its origin can be determined. Using the table below we see that errors beginning with 80041xxx or 800440xx did in fact originate in WMI, and so WMI should be investigated. Errors beginning with 8007xxx, 80040xxx and 80005xxx originated elsewhere, although they were reported through WMI. Skip WMI and look further for the source of the error in most cases with these. This table is included in the WinRM and WMI appendix module of this training.</p> <table class="TableGrid1" border="1" cellspacing="0" cellpadding="0" width="98%" style="width:98%; border-collapse:collapse"> <tbody> <tr style="page-break-inside:avoid"> <td valign="top" style="border-color:#f0f0f0; padding:0in 4.3pt 0in 0in; background-color:transparent; width:17%; white-space:nowrap"> <p><strong><span style="font-size:10pt"></span></strong><strong><span style="font-size:10pt; font-family:calibri"> Tip:</span></strong></p> </td> <td valign="top" style="border-color:#f0f0f0; padding:5.75pt 5.75pt 0.1in; background-color:#e9eff7; width:83%"> <p><span style="font-size:10pt; font-family:calibri">Occasionally there will be an error code beginning with ‘-2’ that is ten digits long. These can be converted into regular hexadecimal numbers by entering the number, minus sign included, into calc.exe while in decimal mode, then change the format to hex.</span></p> <p><span style="font-size:10pt; font-family:calibri">-2147024809 for example becomes FFFFFFFF80070057. Just remove the first eight ‘F’s. </span></p> </td> </tr> </tbody> </table> <p><span style="font-family:calibri"><strong><span style="font-size:9pt">Common ranges of WMI errors</span></strong></span><strong> </strong></p> <table class="LessonTable" border="1" cellspacing="0" cellpadding="0" width="94%" style="margin:auto auto auto 2.55pt; width:94%; border-collapse:collapse"> <thead> <tr style="page-break-inside:avoid"> <td valign="top" style="border:1pt solid #4f81bd; padding:0.05in 4.3pt 0.7pt; background-color:#c6d9f1; width:25.2%"> <p><strong><span style="font-size:10.5pt; font-family:calibri">Term</span></strong></p> </td> <td valign="top" style="border-color:#4f81bd #4f81bd #4f81bd #f0f0f0; border-bottom-width:1pt; border-bottom-style:solid; padding:0.05in 4.3pt 0.7pt; background-color:#c6d9f1; width:74.8%; border-top-width:1pt; border-top-style:solid; border-right-width:1pt; border-right-style:solid"> <p><strong><span style="font-size:10.5pt; font-family:calibri">Description</span></strong></p> </td> </tr> </thead> <tbody> <tr style="page-break-inside:avoid"> <td valign="top" style="border-color:#f0f0f0 #4f81bd #4f81bd; border-bottom-width:1pt; border-bottom-style:solid; border-left-width:1pt; border-left-style:solid; padding:0.05in 4.3pt 0.7pt; background-color:transparent; width:25.2%; border-right-width:1pt; border-right-style:solid"> <p><span style="font-size:10.5pt; font-family:calibri">0x800410xx - 0x800440</span></p> </td> <td valign="top" style="border-color:#f0f0f0 #4f81bd #4f81bd #f0f0f0; border-bottom-width:1pt; border-bottom-style:solid; padding:0.05in 4.3pt 0.7pt; background-color:transparent; width:74.8%; border-right-width:1pt; border-right-style:solid"> <p><span style="font-size:10.5pt; font-family:calibri">Errors that originate in WMI itself. </span></p> <p><span style="font-size:10.5pt; font-family:calibri">A specific WMI operation failed because of:</span></p> <ul> <li style="color:#288ac6"><span style="font-family:calibri"><span style="font-size:10.5pt">An error in the request, for example, a WQL query fails or the account does not have the correct permissions. </span><strong></strong></span></li><li style="color:#288ac6"><span style="font-family:calibri"><span style="font-size:10.5pt">A WMI infrastructure problem, such as incorrect CIM or DCOM registration. </span><strong></strong></span></li></ul> </td> </tr> <tr style="page-break-inside:avoid"> <td valign="top" style="border-color:#f0f0f0 #4f81bd #4f81bd; border-bottom-width:1pt; border-bottom-style:solid; border-left-width:1pt; border-left-style:solid; padding:0.05in 4.3pt 0.7pt; background-color:transparent; width:25.2%; border-right-width:1pt; border-right-style:solid"> <p><span style="font-size:10.5pt; font-family:calibri">0x8007xxx</span></p> </td> <td valign="top" style="border-color:#f0f0f0 #4f81bd #4f81bd #f0f0f0; border-bottom-width:1pt; border-bottom-style:solid; padding:0.05in 4.3pt 0.7pt; background-color:transparent; width:74.8%; border-right-width:1pt; border-right-style:solid"> <p><span style="font-size:10.5pt; font-family:calibri">Errors originating in the core operating system. WMI may return this type of error because of an external failure, for example, DCOM security failure.</span></p> </td> </tr> <tr style="page-break-inside:avoid"> <td valign="top" style="border-color:#f0f0f0 #4f81bd #4f81bd; border-bottom-width:1pt; border-bottom-style:solid; border-left-width:1pt; border-left-style:solid; padding:0.05in 4.3pt 0.7pt; background-color:transparent; width:25.2%; border-right-width:1pt; border-right-style:solid"> <p><span style="font-size:10.5pt; font-family:calibri">0x80040xxx</span></p> </td> <td valign="top" style="border-color:#f0f0f0 #4f81bd #4f81bd #f0f0f0; border-bottom-width:1pt; border-bottom-style:solid; padding:0.05in 4.3pt 0.7pt; background-color:transparent; width:74.8%; border-right-width:1pt; border-right-style:solid"> <p><span style="font-size:10.5pt; font-family:calibri">Errors originating in DCOM. For example, the DCOM configuration for operations to a remote computer may be incorrect.</span></p> </td> </tr> <tr style="page-break-inside:avoid"> <td valign="top" style="border-color:#f0f0f0 #4f81bd #4f81bd; border-bottom-width:1pt; border-bottom-style:solid; border-left-width:1pt; border-left-style:solid; padding:0.05in 4.3pt 0.7pt; background-color:transparent; width:25.2%; border-right-width:1pt; border-right-style:solid"> <p><span style="font-size:10.5pt; font-family:calibri">0x80005xxx</span></p> </td> <td valign="top" style="border-color:#f0f0f0 #4f81bd #4f81bd #f0f0f0; border-bottom-width:1pt; border-bottom-style:solid; padding:0.05in 4.3pt 0.7pt; background-color:transparent; width:74.8%; border-right-width:1pt; border-right-style:solid"> <p><span style="font-size:10.5pt; font-family:calibri">Error originating from ADSI (Active Directory Service Interfaces) or LDAP (Lightweight Directory Access Protocol), for example, an Active Directory access failure when using the WMI Active Directory providers.</span></p> </td> </tr> </tbody> </table> <h5><a name="Still_looking_for_the_content_you_need"></a> Still looking for the content you need?</h5> <p> </p> <p><a title="System Center 2012 – Virtual Machine Manager (VMM) General Troubleshooting Guide" href="http://social.technet.microsoft.com/wiki/contents/articles/8826.system-center-2012-virtual-machine-manager-vmm-general-troubleshooting-guide.aspx">System Center 2012 - Virtual Machine Manager (VMM) General Troubleshooting Guide</a> </p> </body> </html>
Comment
Tags
Please add 7 and 5 and type the answer here: