Symantec Management Platform (Notification Server)

 View Only
Expand all | Collapse all

notification server errors - inventory agent upgrade

  • 1.  notification server errors - inventory agent upgrade

    Posted Dec 29, 2011 04:19 PM

    I'm getting an error in log viewer after performing the latest updates to smp.

     

    unable to generate policy xml for item:  inventory plug-in upgrade.

    I've seen this error in the past for other agents and attachments were provided to import the xml packages.

    Is anyone else getting this error and do they have a quick import to fix it?

     



  • 2.  RE: notification server errors - inventory agent upgrade

    Posted Dec 30, 2011 08:33 AM

    Hi  Hi chessdotcom,

    Could you please post the console error message and log viewer error message?

    Regards,



  • 3.  RE: notification server errors - inventory agent upgrade

    Posted Dec 31, 2011 07:43 AM

    "Inventory policies are missing schedules and may be uneditable."

    http://www.symantec.com/docs/TECH165335



  • 4.  RE: notification server errors - inventory agent upgrade

    Posted Jan 10, 2012 11:55 AM

    there is no package for the Inventory Plug-In upgrade.

     

    It is similar to this old ticket

     

    http://www.symantec.com/docs/TECH121956



  • 5.  RE: notification server errors - inventory agent upgrade

    Posted Jan 10, 2012 02:44 PM

    Thanks all for leading me in the right direction.

     

    aexconfig.exe /configure C:\Program Files\Altiris\Inventory\Config\Inventory.config

     

    ran that command and it recreated the package and reset the deployment policies.  It is error free at the moment. 



  • 6.  RE: notification server errors - inventory agent upgrade

    Posted Jan 10, 2012 09:19 PM

    there error came back after about 30 minutes.

     

    I'm still unable to enable and deploy the inventory plug-in because there is no package and the same error above still exists.



  • 7.  RE: notification server errors - inventory agent upgrade

    Posted Jan 10, 2012 09:38 PM

    Log File Name: C:\ProgramData\Symantec\SMP\Logs\a.log
    Priority: 1
    Help and Support:
    Date: 1/10/2012 8:33:40 PM
    Tick Count: 1074890038
    Host Name: ALTIRIS-HPC
    Process: w3wp (12684)
    Thread ID: 10
    Module: w3wp.exe
    Source: Altiris.NS.AgentManagement.PolicyRequest.LoadItemPolicy
    Description: Unable to generate policy XML for item: Inventory Plug-in Upgrade (32ddda01-6e89-4fdf-b32a-b8e0b61ae38c)



    ( Exception Details: Altiris.NS.Exceptions.AeXException: Unable to build the client configuration XML for advertisement with guid Inventory Plug-in Upgrade (32ddda01-6e89-4fdf-b32a-b8e0b61ae38c). Reason: Unable to build the client configuration XML for advertisement with guid Inventory Plug-in for Windows Upgrade (45684873-d727-4877-bc0a-e3ce91641939). Reason: Did not get a row for Software Delivery Advertisement "Inventory Plug-in for Windows Upgrade", Guid = Inventory Plug-in for Windows Upgrade (45684873-d727-4877-bc0a-e3ce91641939) from the SWD tables. ---> Altiris.NS.Exceptions.AeXException: Unable to build the client configuration XML for advertisement with guid Inventory Plug-in for Windows Upgrade (45684873-d727-4877-bc0a-e3ce91641939). Reason: Did not get a row for Software Delivery Advertisement "Inventory Plug-in for Windows Upgrade", Guid = Inventory Plug-in for Windows Upgrade (45684873-d727-4877-bc0a-e3ce91641939) from the SWD tables. ---> Altiris.NS.Exceptions.AeXException: Did not get a row for Software Delivery Advertisement "Inventory Plug-in for Windows Upgrade", Guid = Inventory Plug-in for Windows Upgrade (45684873-d727-4877-bc0a-e3ce91641939) from the SWD tables.
       at Altiris.NS.StandardItems.SoftwareDelivery.AdvertisementItem.OnBuildClientConfigXml2(Guid workstationGuid, XmlNode requestDocumentElement, XmlTextWriter xmlBuilder)
       --- End of inner exception stack trace ---
       at Altiris.NS.StandardItems.SoftwareDelivery.AdvertisementItem.OnBuildClientConfigXml2(Guid workstationGuid, XmlNode requestDocumentElement, XmlTextWriter xmlBuilder)
       at Altiris.Agent.Unix.Policy.UnixAgentInstall.OnBuildClientConfigXml2(Guid workstationGuid, XmlNode requestDocumentElement, XmlTextWriter xmlBuilder)
       --- End of inner exception stack trace ---
       at Altiris.Agent.Unix.Policy.UnixAgentInstall.OnBuildClientConfigXml2(Guid workstationGuid, XmlNode requestDocumentElement, XmlTextWriter xmlBuilder)
       at Altiris.NS.StandardItems.Policies.ClientConfigPolicy.GetConfigXml(Guid resourceGuid, String requestXml)
       at Altiris.NS.AgentManagement.PolicyRequest.<>c__DisplayClass4.<LoadItemPolicy>b__0(IDatabaseContext ctx)
       at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetryHelper(Int32 retries, Boolean inTransaction, Getter`1 getContext, Action`1 action, Action`1 retry)
       at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetry(Int32 retries, Boolean startNewTransaction, IsolationLevel isolationLevel, Boolean independentContext, Action`1 action, Action`1 retry)
       at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetry(Int32 retries, Boolean startNewTransaction, Action`1 action, Action`1 retry)
       at Altiris.NS.ContextManagement.DatabaseContext.PerformWithDeadlockRetry(Int32 retries, Action`1 action, Action`1 retry)
       at Altiris.NS.AgentManagement.PolicyRequest.LoadItemPolicy(String request, Guid requestGuid, Guid resourceGuid, Guid hostGuid, Guid policyGuid, String& policy, String& policyHash, Guid& category, Int32& priority, Boolean& canCache, ISet`1& requiredPermissions, ISet`1& filterCollections) )
    ( Exception logged from:
       at Altiris.Diagnostics.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)
       at Altiris.NS.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)
       at Altiris.NS.AgentManagement.PolicyRequest.LoadItemPolicy(String request, Guid requestGuid, Guid resourceGuid, Guid hostGuid, Guid policyGuid, String& policy, String& policyHash, Guid& category, Int32& priority, Boolean& canCache, ISet`1& requiredPermissions, ISet`1& filterCollections)
       at Altiris.NS.AgentManagement.PolicyRequest.LoadItemPolicies(String request, String configVers, Guid hostGuid, List`1 idents, SortedDictionary`2& policies, SortedDictionary`2& hashes)
       at Altiris.NS.AgentManagement.PolicyRequest.GetPolicies(String request)
       at Altiris.Web.NS.Agent.GetClientPolicies.ProcessRequest(String& request, Byte[]& clientConfigData, String& clientConfigXml, Boolean& compress)
       at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
       at System.Delegate.DynamicInvokeImpl(Object[] args)
       at Altiris.Common.Threading.LocalThreadPool.InvokeCallback(Object state)
       at Altiris.Common.Threading.LocalThreadPool.ExecuteUserWorkItem(UserWorkItem workItem)
       at Altiris.NS.Threading.NSThreadPool.ExecuteUserWorkItem(UserWorkItem workItem)
       at System.Threading.ExecutionContext.runTryCode(Object userData)
       at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at Altiris.Common.Threading.LocalThreadPool.ExecuteUserWorkItemInContext(UserWorkItem workItem)
       at Altiris.Common.Threading.LocalThreadPool.ThreadPoolProc(Object threadStartParameter)
       at System.Threading.ThreadHelper.ThreadStart(Object obj)
     )
    ( Extra Details:  Type=Altiris.NS.Exceptions.AeXException Src=Altiris.Agent.Unix

      Inner Extra Details:  Type=Altiris.NS.Exceptions.AeXException Src=Altiris.NS.StandardItems

      Inner Extra Details:  Type=Altiris.NS.Exceptions.AeXException Src=Altiris.NS.StandardItems )



  • 8.  RE: notification server errors - inventory agent upgrade

    Posted Jan 11, 2012 09:11 AM

     Yes I am having the same issue. I have a call in with symantec now. They are seeing it in their lab as well. It just looks like it didnt do something to link the policies correctly. Mine is only affecting x64 though. Not sure why.



  • 9.  RE: notification server errors - inventory agent upgrade

    Posted Jan 11, 2012 10:48 AM

    I'm glad they see it too. 

    Do you mind linking or posting a fix when you get it?



  • 10.  RE: notification server errors - inventory agent upgrade

    Posted Jan 11, 2012 01:53 PM

    Yeah I will, Mine is a bit different but almost the same wording. Heres a piece of it.

     

     

    Tick Count: 599382080
    Process: w3wp (18340)
    Thread ID: 9
    Module: w3wp.exe
    Source: Altiris.NS.AgentManagement.PolicyRequest.LoadItemPolicy
    Description: Unable to generate policy XML for item: Software Update Plug-in Upgrade for Windows x64 (8a8de5d2-7428-4a52-bb42-a26ef525c487)
     
     
     
    ( Exception Details: Altiris.NS.Exceptions.AeXException: Unable to build the client configuration XML for advertisement with guid Software Update Plug-in Upgrade for Windows x64 (8a8de5d2-7428-4a52-bb42-a26ef525c487). Reason: Did not get a row for Software Delivery Advertisement "Software Update Plug-in Upgrade for Windows x64", Guid = Software Update Plug-in Upgrade for Windows x64 (8a8de5d2-7428-4a52-bb42-a26ef525c487) from the SWD tables. ---> Altiris.NS.Exceptions.AeXException: Did not get a row for Software Delivery Advertisement "Software Update Plug-in Upgrade for Windows x64", Guid = Software Update Plug-in Upgrade for Windows x64 (8a8de5d2-7428-4a52-bb42-a26ef525c487) from the SWD tables.
     
     
    Im also seeing a different error a lot as well. I havent asked them about this one. Im seeing an database exception because the nse is trying t insert data in the wrong format. Also only started since sp2 so I may have to call them about this one too.
     
    Log File Name: C:\ProgramData\Symantec\SMP\Logs\a.log
    Priority: 1
    Help and Support: 
    Date: 1/11/2012 11:22:18 AM
    Tick Count: 607990340
    Host Name: W0BALT002
    Process: AeXSvc (9152)
    Thread ID: 389
    Module: AeXSVC.exe
    Source: Altiris.NS.StandardItems.Messaging.InventoryCaptureItem.OnMessage_Impl
    Description: Failed to process NSE : 
     
     
     
    ( Exception Details: Altiris.NS.Exceptions.AeXException: Failed to load inventory. [Failed to commit fast insert in class : Inventory Results (bbfb84e5-3117-4022-8f6c-550d62ac1331) Inventory Results Please check the data in that class for invalid entries.] ---> Altiris.NS.Exceptions.AeXException: Failed to commit fast insert in class : Inventory Results (bbfb84e5-3117-4022-8f6c-550d62ac1331) Inventory Results Please check the data in that class for invalid entries. ---> System.ArgumentException: String was not recognized as a valid DateTime.Couldn't store <5142> in Collection Time Column.  Expected type is DateTime. ---> System.FormatException: String was not recognized as a valid DateTime.
       at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
       at System.String.System.IConvertible.ToDateTime(IFormatProvider provider)
       at System.Data.Common.DateTimeStorage.Set(Int32 record, Object value)
       at System.Data.DataColumn.set_Item(Int32 record, Object value)
       --- End of inner exception stack trace ---
       at System.Data.DataColumn.set_Item(Int32 record, Object value)
       at System.Data.DataRow.set_Item(DataColumn column, Object value)
       at Altiris.NS.ResourceManagement.Database.DataLoaderSqlClientInserter.SetColumn(String Name, String Value)
       at Altiris.NS.ResourceManagement.Database.SetColumnCommand.Execute(IDataLoaderInserter inserter)
       at Altiris.NS.ResourceManagement.Database.SqlClientInserter.CommitAll()
       at Altiris.NS.ResourceManagement.DataClassRowCollection.InternalTableInserterImpl(IDataLoaderConnection connection, Hashtable resourceDLInfoHT, TargetTable targetTable, String strInserterTable, DataClass dataClass, DataClassRows dataClassRows)
       --- End of inner exception stack trace ---


  • 11.  RE: notification server errors - inventory agent upgrade

    Posted Jan 12, 2012 11:56 AM

    I think if someone could export the missing packages to xml and post them here to import it would resolve both of our problems.

     

    I looked but I don't see a Software Update Plug-in Upgrade for Windows x64 or I would export and attach for you.

     

    I'm building a new server now to see if I can export the missing package and impor it to our production server.



  • 12.  RE: notification server errors - inventory agent upgrade

    Posted Jan 12, 2012 02:10 PM

    Seems to be pretty much exactly this issue... 

     

    http://www.symantec.com/business/support/index?page=content&id=TECH155562

     

    In essence when you upgrade to sp2 your uninstalling pre-sp2 and installing sp2. Support called me back today and they are seemingly leading in the same direction that is almost if not exactly this issue. But they didnt want me running the script for this to fix it without the backend team approving it.



  • 13.  RE: notification server errors - inventory agent upgrade

    Posted Jan 12, 2012 07:22 PM

    The importexport util might be able to do it if anyone knows the GUID.



  • 14.  RE: notification server errors - inventory agent upgrade
    Best Answer

    Posted Jan 13, 2012 09:46 AM

    I created a test server yesterday and exported the Inventory Plug-in for Windows 7.1.7580.0 - English (United States) to xml and imported it to our production server.  The errors have stopped and everything appears to be working normally.

     

    Is the "Software Update Plug-in Upgrade for Windows x64" the same as "Patch Management Agent 7.1.7580.0 x64 - English (United States)"?  If so, I can export that package from my server and let you import it.



  • 15.  RE: notification server errors - inventory agent upgrade

    Posted Jan 16, 2012 09:53 AM

    Well I was out friday and I tried the same thing from our test server. I havent had a chance to look yet to see if it worked. 

     

     

    edit --- Hmm that software package doesnt exist on my test server either. Can you export it for me? I am not seeing an agent for it in nscap either... not sure where it is suppsed to be but since the other one is in NSCAP it may not have been added either. I may have to have you email/attach me that as well...weird. 

     

    Thanks



  • 16.  RE: notification server errors - inventory agent upgrade

    Posted Jan 17, 2012 10:39 AM

    Ok rebuilt my test server and exported and imported software packages again for the ones causing me issue and it looks like its starting to fix the problem....at least my x64 clients are getting the software update agent now... still checking on the other couple packages that were fubar... in one case the package was there but the command line for how to install it was gone....

     

     

    cheeky



  • 17.  RE: notification server errors - inventory agent upgrade

    Posted Jan 17, 2012 03:25 PM

    ok, good to know.

     

    Just got your previous messages.  If you still need the export, let me know.



  • 18.  RE: notification server errors - inventory agent upgrade

    Posted Jan 18, 2012 09:17 AM

    Now im just having issues where patches are detected as being needed but never install..... good job with this update symantec...works flawlessly angry



  • 19.  RE: notification server errors - inventory agent upgrade

    Posted Jan 19, 2012 10:02 AM

    I'm also seeing the same error:   "Unable to generate policy XML for item: Inventory Plug-in Install" along with "Unable to generate policy XML for item: Inventory Plug-in Upgrade"

    Will submit case.



  • 20.  RE: notification server errors - inventory agent upgrade

    Posted Jan 20, 2012 10:47 AM

    I'm going to mark this problem as resolved since my original problem appears to be fixed.

    If you are still having trouble with patch management, you could open another forum discussion.

    You might try

    aexconfig /configure C:\Program Files\Altiris\Patch Management\Core\Config\PatchManagementCore.config

    but do so at your own risk. 

    I agree with you.  It seems I spend more time fixing other problems after every update.  I usually have to do an aexconfig /configureall and pray. 

    This version is much better than 7.0 though. 



  • 21.  RE: notification server errors - inventory agent upgrade

    Posted Feb 08, 2012 03:04 PM

    I'm still getting this error, been working with support close to 3 weeks with no resolution.  I did see come across this document but it also did not resolve the issue

    http://www.symantec.com/docs/TECH180513

    I did note that after sp2 that the latest Inventory Plug-in was missing the package although it still had the command line entries.

    Service Pack 2 have been very frustrating.