Errors logging in

  • 7009845
  • 02-Dec-2011
  • 30-Apr-2012


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


Logging into ZENworks fails.
User Authentication failed during a refresh.
User applications will not be available.
ERROR (from zmd-messages.log):
[ObtainAuthToken took exception: -939589631 System.Exception: -939589631
   at Novell.Casa.Client.Auth.Authtoken.ObtainAuthToken(String sService, String sHost, WinLuid luid, String()& extraData)]
[registerUser returned -34]


In this case the webapps directory had only partial file listing for the CasaAuthTokenSvc folder.  Stopping the ZENworks services, moving the folder share/tomcat/webapps/CasaAuthTokenSvc to a folder outside of ZENworks for backup and restarting the ZENworks services rebuilt the folder correctly.  NOTE:  The CasaAuthTokenSvc.war file is server specific due to the presence of the key that is customized per server.  This war/directory cannot be copied from one server to another.

Additional Information

Typically the error -939589631 indicates an agent configuration problem (see but in this case it represented a condition of using a stale auth token against a server where the CASA web service was broken.