initial-web-service file gets corrupted randomly causing device to be unmanaged

  • 7017347
  • 09-Mar-2016
  • 24-Jul-2017

Environment

Novell ZENworks Configuration Management 11.4.0
Novell ZENworks Configuration Management 11.4.1

Situation

Since update to 11.4, randomly initial-web-service file may get corrupted on refresh causing agent to become unmanaged.

Resolution

This is fixed in version 11.4.2 - see KB 7017469 "ZENworks Configuration Management 11.4.2 - update information and list of fixes" which can be found at https://support.microfocus.com/kb/doc.php?id=7017469


A fix for this issue is intended to be included in a future update to the product: however, in the interim, Novell has made a Patch available for testing, in the form of a Field Test File (FTF): 

For 11.4:  It can be obtained at https://download.novell.com/Download?buildid=e37BKqbmFQg~  as "ZCM 11.4.0 Fix for initial-web-service file getting corrupted - See TID 7017347". 
For 11.4.1:  It can be obtained at https://download.novell.com/Download?buildid=r5ZhSZar6LY~  as "ZCM 11.4.1 Fix for initial-web-service file getting corrupted - See TID 7017347". 

This Patch should only be applied if the symptoms above are being experienced, and are causing problems.
This Patch has had limited testing, and should not be used in a production system without first being checked in a test environment. Some Patches have specific requirements for deployment, it is very important to follow any instructions in the readme at the download site. Please report any problems encountered when using this Patch, by using the feedback link on this TID.

Note:  After the fix to this problem, the initital-web-service file is recovered in the following cases:

  1. If there is a valid .backup initial-web-service.bak file, corrupted initial-web-service file, cache cleared, refresh will update initial-web-service.
  2. When there is a Location change with different set of configuration primaries, refresh will update initial-web-service.
  3. When there is a change to the Location with same set of servers but the order of server list is different,  refresh will update initial-web-service.

Additional Information

initial-web-service file has all "NUL" characters

zeus-messages.log

ERROR:
[DEBUG] [10/19/2015 07:37:27.472] [1500] [ZeUSAgent] [26] [] [AgentConfigManager] [] [Able to parse 0 number of Uris in Initial web service file] [] [] [] [ZeUSService]


zmd-messages.log shows initial-web-service file does not contain a certificate.

ERROR:
[TRACE] [10/19/2015 08:03:53.708] [1612] [ZenworksWindowsService] [15] [] [ZMD] [] [******************** Unhandled exception in service ********************Type: System.ArgumentExceptionMessage: Illegal characters in path.Stack Trace:
       at System.IO.Path.Combine(String path1, String path2)
       at Novell.Zenworks.Zmd.HttpUtil.GetMergedUri(String parent, String child)
       at Novell.Zenworks.Zmd.CapabilitySourceInfo.FixupLocations(String rootURI)
       at Novell.Zenworks.Zmd.ServiceManager.BuildServices(String() baseUri, Dictionary`2 capabilityMap, ServiceType type)
       at Novell.Zenworks.Registration.RegistrationManager.RegisterDevice(RegisterArgs args, String data, Boolean ignoreRandomRefresh)
       at Novell.Zenworks.Registration.RegistrationManager.UpdateIPAddresses()
       at Novell.Zenworks.Registration.RegistrationModule.AddrChangeEventHandler(Object sender, EventArgs e)
       at Novell.Zenworks.ConnectionManager.AddrChangeEventHandler.Invoke(Object sender, EventArgs e)
       at Novell.Zenworks.ConnectionManager.ConnectMan.AddrUpThread()
       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.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
] [] [] [] [ZENworks Agent]

Feedback service temporarily unavailable. For content questions or problems, please contact Support.