Agent not functional after failed install or manual cleanup

  • 7011856
  • 28-Feb-2013
  • 28-Oct-2013

Environment

Novell ZENworks Configuration Management

Situation

After using the manual cleanup tool to remove the ZESM component only, or after setup.exe fails for some reason, the Managed device is not functional.

ERROR (in zmd-messages.log):

[DEBUG] [08/29/2012 05:12:37.942] [1056] [ZenworksWindowsService] [8] []
[RefreshMgr] [] [(Thread=8; SessionId=999; RefreshType=GeneralRefresh) Method
BeginRefreshEventHandler in handler
Novell.Zenworks.Zmd.ServiceManager.BeginRefreshEventHandler threw an exception
Type: System.IO.FileNotFoundException
Message: Could not load file or assembly 'LocationTypes, Version=11.2.1.221,
Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system
cannot find the file specified.
Stack Trace:
       at Novell.Zenworks.Zmd.LocationConfigBasedService.Create(String
serverRoot)
       at Novell.Zenworks.Zmd.Service.Create(String serverRoot, String
serviceInfoURI, ServiceType serviceType)
       at Novell.Zenworks.Zmd.ServiceManager.RegisterService(String
serviceInfoURI, String serverRoot, ServiceType type)
       at Novell.Zenworks.Zmd.ServiceManager.UpdateServices(Session session)
       at Novell.Zenworks.Zmd.ServiceManager.BeginRefreshEventHandler(Session
session, RefreshContext context)

Resolution

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

Run setup.exe manually or troubleshoot why setup fails.
 
Workaround:
 
Ensure that the following files are in %ZENWORKS_HOME%\esm:

LocationTypes.dll
ZESZid.dll
 
Note:  These are platform specific (32 bit versus 64 bit).
 
Note:  These dlls are loaded only if the registration key:
 
HKEY_LOCAL_MACHINE\SOFTWARE\Novell-ZES\Parameters\InstallDir
 
exists and points to the esm path.