Device becomes unregistered

  • 7009807
  • 28-Nov-2011
  • 27-Apr-2012

Environment

Novell ZENworks 11 Configuration Management
Novell ZENworks 11 Configuration Management Support Pack 1 - ZCM 11 SP1
Novell ZENworks 10 Configuration Management

Situation

Devices become unregistered.
 
ERROR (in zmd-messages.log):
 
 [DEBUG] [11/28/2011 07:49:22.375] [1096] [ZenworksWindowsService] [5] [] [ZenCache] [] [(Thread 5) Call to PutObject threw an exception: The file exists.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Path.GetTempFileName()
   at Novell.Zenworks.Cache.ObjectCache.Put(ObjectCacheEntry obj)
   at Novell.Zenworks.Cache.ZenCache.PutObject(ObjectCacheEntry entry)] [] []

Resolution

Check the system %TEMP% folder (typically defined as %SYSTEMROOT%\temp sysfor excessive numbers of files.  According to Microsoft:
 
 
Only the lower 16 bits of the uUnique parameter are used. This limits GetTempFileName to a maximum of 65,535 unique file names if the lpPathName and lpPrefixString parameters remain the same.