Inventory not working in SCCM 2007
-
Tuesday, May 01, 2012 4:12 PM
Hi,
The inventory for the majority of our PCs is not updating. Below is a section of inventoryagent.log from a recently built laptop. This seems to suggest that the hardware inventory was successful but nothing appears in resource explorer for the laptop and there were no entries in mp_hinv.log between 14:30 and 16:00. The laptop has received policy – software has successfully pushed out to it and I can ping the site server from the laptop and vice versa. The laptop is showing the correct site and site code
If you have any suggestions for where else I can look to troubleshoot this I would be extremely grateful.
We are using SCCM 2007 R3 on Windows Server 2008 R2. The Majority of our clients are Windows 7 64 bit with some XP. We have a single SCCM site.
Inventory: *********************** Start of message processing. *********************** InventoryAgent 01/05/2012 15:32:58 4796 (0x12BC)
Inventory: Message type is InventoryAction InventoryAgent 01/05/2012 15:32:58 4796 (0x12BC)
Inventory: Temp directory = C:\Windows\SysWOW64\CCM\Inventory\Temp\ InventoryAgent 01/05/2012 15:32:59 4796 (0x12BC)
Inventory: Clearing old collected files. InventoryAgent 01/05/2012 15:32:59 4796 (0x12BC)
Inventory: Opening store for action {00000000-0000-0000-0000-000000000001} ... InventoryAgent 01/05/2012 15:32:59 4796 (0x12BC)
Inventory: Delta report without a previous Full report; will do a Full report. InventoryAgent 01/05/2012 15:33:18 4796 (0x12BC)
Inventory: Action=Hardware ReportType=Full InventoryAgent 01/05/2012 15:33:18 4796 (0x12BC)
Inventory: Initialization completed in 19.578 seconds InventoryAgent 01/05/2012 15:33:18 4796 (0x12BC)
Collection: Namespace = root\ccm\policy\machine\actualconfig; Query = SELECT __CLASS, __PATH, __RELPATH, NonPeakPowerPlanName, PeakPowerPlanName, PowerConfigID FROM CCM_PowerConfig; Timeout = 600 secs. InventoryAgent 01/05/2012 15:33:18 4816 (0x12D0)
Unknown error encountered processing an instance of class CCM_PowerConfig: 80041017 InventoryAgent 01/05/2012 15:33:18 4816 (0x12D0)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Name, TotalPageFileSpace, TotalPhysicalMemory, TotalVirtualMemory FROM CCM_LogicalMemoryConfiguration; Timeout = 600 secs. InventoryAgent 01/05/2012 15:33:18 4816 (0x12D0)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, ID, Language, ProductID, QNumbers, RevisionNumber, Status, TimeDetected, Title, UpdateID FROM Win32_PatchState_Extended; Timeout = 600 secs. InventoryAgent 01/05/2012 15:33:18 4816 (0x12D0)
Collection: Class "Win32_PatchState_Extended" does not exist out. InventoryAgent 01/05/2012 15:33:18 4816 (0x12D0)
Collection: Namespace = \\.\root\ccm\VulnerabilityAssessment; Query = SELECT __CLASS, __PATH, __RELPATH, Tool, VulnerabilityID, VulnerabilityScore FROM Win32_Vulnerability; Timeout = 600 secs. InventoryAgent 01/05/2012 15:33:18 4816 (0x12D0)
......
etc.
......
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, BootDevice, BuildNumber, Caption, CountryCode, CSDVersion, Description, InstallDate, LastBootUpTime, Locale, Manufacturer, Name, Organization, OSLanguage, RegisteredUser, SystemDirectory, TotalSwapSpaceSize, TotalVirtualMemorySize, TotalVisibleMemorySize, Version, WindowsDirectory FROM Win32_OperatingSystem; Timeout = 600 secs. InventoryAgent 01/05/2012 15:33:31 4816 (0x12D0)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Description, DeviceID, PrimaryBusType, RevisionNumber, SecondaryBusType, Status, StatusInfo, SystemName FROM Win32_MotherboardDevice; Timeout = 600 secs. InventoryAgent 01/05/2012 15:33:31 4816 (0x12D0)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, AuthorizationName, BinPath, DatePosted, DateRevised, ID, InfoPath, Language, LocaleID, Product, QNumbers, RebootType, ScanAgent, Severity, Status, Summary, TimeApplied, TimeAuthorized, TimeDetected, Title, Type, UnattendSyntax FROM Win32_PatchState; Timeout = 600 secs. InventoryAgent 01/05/2012 15:33:31 4816 (0x12D0)
Collection: Class "Win32_PatchState" does not exist out. InventoryAgent 01/05/2012 15:33:31 4816 (0x12D0)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, Availability, Description, DeviceID, Manufacturer, Name, Status FROM Win32_IDEController; Timeout = 600 secs. InventoryAgent 01/05/2012 15:33:31 4816 (0x12D0)
Collection: Namespace = \\.\root\Nap; Query = SELECT __CLASS, __PATH, __RELPATH, description, fixupURL, name, napEnabled, napProtocolVersion, systemIsolationState FROM NAP_Client; Timeout = 600 secs. InventoryAgent 01/05/2012 15:33:31 4816 (0x12D0)
Collection: Namespace = root\ccm; Query = SELECT __CLASS, __PATH, __RELPATH, DisplayName, Name, Version FROM CCM_InstalledComponent; Timeout = 600 secs. InventoryAgent 01/05/2012 15:33:31 4816 (0x12D0)
Collection: Namespace = \\.\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, AdapterType, Description, DeviceID, MACAddress, Manufacturer, Name, ProductName, ServiceName, Status FROM Win32_NetworkAdapter; Timeout = 600 secs. InventoryAgent 01/05/2012 15:33:31 4816 (0x12D0)
Collection: Namespace = \\localhost\root\cimv2; Query = SELECT __CLASS, __PATH, __RELPATH, DisplayName, InstallDate, ProdID, Publisher, Version FROM Win32Reg_AddRemovePrograms64; Timeout = 600 secs. InventoryAgent 01/05/2012 15:33:31 4816 (0x12D0)
Collection: Namespace = \\.\root\cimv2\sms; Query = SELECT __CLASS, __PATH, __RELPATH, AMT, AMTApps, BiosVersion, BuildNumber, DeviceID, Flash, LegacyMode, Netstack, ProvisionMode, ProvisionState, RecoveryBuildNum, RecoveryVersion, Sku, TLSMode, VendorID, ZTCEnabled FROM SMS_AMTObject; Timeout = 600 secs. InventoryAgent 01/05/2012 15:33:31 4816 (0x12D0)
Collection: Namespace = \\.\root\ccm\invagt; Query = SELECT __CLASS, __PATH, __RELPATH, Name, SMSID, Domain, SystemRole, SystemType, LocalDateTime FROM CCM_System; Timeout = 600 secs. InventoryAgent 01/05/2012 15:33:31 4816 (0x12D0)
Collection: 41/57 inventory data items successfully inventoried. InventoryAgent 01/05/2012 15:33:32 4816 (0x12D0)
Inventory: Collection Task completed in 13.432 seconds InventoryAgent 01/05/2012 15:33:32 4816 (0x12D0)
Inventory: 16 Collection Task(s) failed. InventoryAgent 01/05/2012 15:33:32 4816 (0x12D0)
Inventory: Temp report = C:\Windows\SysWOW64\CCM\Inventory\Temp\443edd10-e0ab-4a93-b959-ff14f36a3bc9.xml InventoryAgent 01/05/2012 15:33:32 4816 (0x12D0)
Inventory: Starting reporting task. InventoryAgent 01/05/2012 15:33:32 3312 (0x0CF0)
Reporting: 793 report entries created. InventoryAgent 01/05/2012 15:33:32 3312 (0x0CF0)
Inventory: Reporting Task completed in 0.265 seconds InventoryAgent 01/05/2012 15:33:32 3312 (0x0CF0)
Inventory: Successfully sent report. Destination:mp:MP_HinvEndpoint, ID: {7C7BB2E5-5EDB-4E2E-8597-275ED779FCB2}, Timeout: 80640 minutes MsgMode: Signed, Not Encrypted InventoryAgent 01/05/2012 15:33:32 3312 (0x0CF0)
Inventory: Cycle completed in 55.521 seconds InventoryAgent 01/05/2012 15:33:54 3312 (0x0CF0)
Inventory: Action completed. InventoryAgent 01/05/2012 15:33:54 3312 (0x0CF0)
Inventory: ************************ End of message processing. ************************ InventoryAgent 01/05/2012 15:33:54 3312 (0x0CF0)
All Replies
-
Tuesday, May 01, 2012 6:07 PM
from the log it looks ok, the hw report seems to be generated. create a file called archive_reports.sms and store it in the ccm\inventory\temp and run a new inventory scan. If an XML file is being generated then the client side of the process i working ok.
Kent Agerlund | My blogs: blog.coretech.dk/kea and SCUG.dk/ | Twitter: @Agerlund | Linkedin: Kent Agerlund
-
Tuesday, May 01, 2012 9:11 PMModerator
This Article is for SMS 2003 but it still applies.. http://www.myitforum.com/articles/8/view.asp?id=11236
Does the MP received that mif file?
http://www.enhansoft.com/
-
Wednesday, May 02, 2012 8:33 AM
Thanks for your replies.
Kent - Where should this XML file be generated?
Garth - Nothing appears in mp_inv.log to show a mif has been received from this client. (mifs are being received for a minority of our machines
-
Wednesday, May 02, 2012 8:37 AMin the inventory\temp folder.
Kent Agerlund | My blogs: blog.coretech.dk/kea and SCUG.dk/ | Twitter: @Agerlund | Linkedin: Kent Agerlund
-
Wednesday, May 02, 2012 12:41 PMModerator
If it is not making it to the MP then have you looked to see if there any firewall blocking it and that the client is approved within CM07?
http://www.enhansoft.com/
-
Wednesday, May 02, 2012 2:53 PM
An XML file is generated
The client is approved
Our network team assure me that no traffice is being blocked between our SCCM server and the client
Am I right in thinking that this process should only require ports 80 or 443?
-
Wednesday, May 02, 2012 3:07 PMyes, port 80. Start a network monitor and see what else is going on.
Kent Agerlund | My blogs: blog.coretech.dk/kea and SCUG.dk/ | Twitter: @Agerlund | Linkedin: Kent Agerlund
-
Friday, May 04, 2012 10:34 AM
I have attached a screenshot of a packet trace done when hardware inventory was done on one of the affected machines.
192.168.135.36 is the PC and 192.168.202.85 is the SCCM server
- Edited by adbar Friday, May 04, 2012 10:36 AM
-
Sunday, May 06, 2012 2:58 PMModerator
IIS 500 error is not a good error.
Have you looked at you IIs logs to see what it says? Are there any errors in the MP logs? What about the even viewer on your MP server?
http://www.enhansoft.com/
-
Tuesday, May 08, 2012 1:38 PM
There are numerous errors (several every second) like the following one:
Log Name: Microsoft-IIS-Configuration/Administrative
Source: Microsoft-Windows-IIS-Configuration
Date: 08/05/2012 14:19:53
Event ID: 10
Task Category: None
Level: Error
Keywords:
User: LOCAL SERVICE
Computer: uklon-sccm.eu.fidessa.priv
Description:
An error has occured: Cannot read configuration file due to insufficient permissionsEvent Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-IIS-Configuration" Guid="{DC0B8E51-4863-407A-BC3C-1B479B2978AC}" />
<EventID>10</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2012-05-08T13:19:53.456169600Z" />
<EventRecordID>25117</EventRecordID>
<Correlation />
<Execution ProcessID="515560" ThreadID="503772" />
<Channel>Microsoft-IIS-Configuration/Administrative</Channel>
<Computer>uklon-sccm.eu.fidessa.priv</Computer>
<Security UserID="S-1-5-19" />
</System>
<EventData>
<Data Name="HRESULT">0x80070005</Data>
<Data Name="PhysicalPath">\\?\D:\Program Files (x86)\Microsoft Configuration Manager\CCM\Incoming\web.config</Data>
<Data Name="Type">4</Data>
<Data Name="Message">Cannot read configuration file due to insufficient permissions
</Data>
...However I cannot find a web.config file anywhere.
There are also numerous 5074 events in the IIS log from 'CCM Server Framework Pool' and 'SMS Management Point Pool'
-
Wednesday, May 09, 2012 12:08 PM
Does this suggest that there are permission issues with CCM_Incoming?- Proposed As Answer by Mike Knapper Monday, February 04, 2013 5:21 PM
-
Wednesday, May 09, 2012 1:45 PM
I have enabled verbose logging on one of the affected clients and there are regular entries saying:
[AddressTranslation]: Message to mp:MP_SinvEndpoint requires version 0 with capabilities: . CcmExec 09/05/2012 14:23:19 4248 (0x1098)
OutgoingMessage(Queue='mp_mp_sinvendpoint', ID={425602A5-4A81-4A2D-922A-19C742C543DF}): In pending state, will retry in 300 seconds. CcmExec 09/05/2012 14:23:19 4248 (0x1098)
[AddressTranslation]: Message to mp:MP_HinvEndpoint requires version 0 with capabilities: . CcmExec 09/05/2012 14:23:20 4248 (0x1098)
OutgoingMessage(Queue='mp_mp_hinvendpoint', ID={2DE91E0A-1C9B-478B-A2ED-FB608EA578DE}): In pending state, will retry in 300 seconds. CcmExec 09/05/2012 14:23:20 4248 (0x1098)and there are two BITS uploads in a TransientError state which I assume are related to these:
JobId DisplayName TransferType JobState OwnerAccount
----- ----------- ------------ -------- ------------
763ddf10-3f5f-494a-9... CCM Message Upload {... Upload TransientError NT AUTHORITY\SYSTEM
e6a0d38e-f276-4812-9... CCM Message Upload {... Upload TransientError NT AUTHORITY\SYSTEM -
Thursday, May 10, 2012 11:00 AM
This was fixed by giving IIS_IUSR permissions on the \CCM\Incoming folder
- Marked As Answer by adbar Thursday, May 10, 2012 11:00 AM

