ZENworks 10 agents are slow to login to the ZENworks server

  • 3126582
  • 19-Nov-2007
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management
Microsoft Windows 2003 Server

Situation

ZENworks 10 agents are slow to login to the ZENworks server.

ZENworks 10 agents take 10-20 seconds longer for the desktop to appear.

zenlgn.log file shows ERROR: ObtainAuthToken Failed: 0xC7FF001E

Resolution

In this instance, the cause of the problem is that the CasaAuthTokenSvc was not started on the ZENworks server.

On the ZENworks server, start the CasaAuthTokenSvc service from Start, Control Panel Administrative Tools, Services and make sure the Startup type is Automatic.

Additional Information

The following is an example of the zenlgn.log file showing a ZENworks 10 agent failing to login to a ZENworks server running on a Windows 2003 server (server111) where the CasaAuthTokenSvc is stopped, but then succeeding to login to a ZENworks server in the same zone running on a SLES 10 server (server112) where the casa_atsd daemon is started:

ZENLGN [44C-450] [14:46:18] Username is: username
ZENLGN [44C-450] [14:46:18] RealmName is: TreeName
ZENLGN [44C-450] [14:46:18] About to call miCasaSetCredential
ZENLGN [44C-450] [14:46:20] Returned from calling miCasaSetCredential
ZENLGN [44C-450] [14:46:20] miCASASetCredential succesul for TreeName!.
ZENLGN [44C-450] [14:46:20] ZenLgnSetCasaCredential returning 0
ZENLGN [44C-450] [14:46:20] ZenLgnSetCasaCredentials returned
ZENLGN [44C-450] [14:46:20] Calling ZENGetHostNames
ZENLGN [44C-450] [14:46:20] ZENGetHostNames returned
ZENLGN [44C-450] [14:46:20] Retrieved host names are:
ZENLGN [44C-450] [14:46:20] server111.domain.com
ZENLGN [44C-450] [14:46:20] 137.65.215.111
ZENLGN [44C-450] [14:46:20] server112.company.com
ZENLGN [44C-450] [14:46:20] 137.65.215.112
ZENLGN [44C-450] [14:46:20] About to call ObtainAuthToken with the following parameters
ZENLGN [44C-450] [14:46:20] szServiceNameA is: com.novell.zenworks.TreeName
ZENLGN [44C-450] [14:46:20] szHostNameA is: server111.domain.com
ZENLGN [44C-450] [14:46:20] dwAuthTokenSize is: 0
ZENLGN [44C-450] [14:46:26] ObtainAuthToken Failed: 0xC7FF001E
ZENLGN [44C-450] [14:46:26] About to call ObtainAuthToken with the following parameters
ZENLGN [44C-450] [14:46:26] szServiceNameA is: com.novell.zenworks.TreeName
ZENLGN [44C-450] [14:46:26] szHostNameA is: 137.65.215.111
ZENLGN [44C-450] [14:46:26] dwAuthTokenSize is: 0
ZENLGN [44C-450] [14:46:32] ObtainAuthToken Failed: 0xC7FF001E
ZENLGN [44C-450] [14:46:32] About to call ObtainAuthToken with the following parameters
ZENLGN [44C-450] [14:46:32] szServiceNameA is: com.novell.zenworks.TreeName
ZENLGN [44C-450] [14:46:32] szHostNameA is: server112.company.com
ZENLGN [44C-450] [14:46:32] dwAuthTokenSize is: 0
ZENLGN [44C-450] [14:46:33] About to call ObtainAuthToken with the following parameters
ZENLGN [44C-450] [14:46:33] szServiceNameA is: com.novell.zenworks.TreeName
ZENLGN [44C-450] [14:46:33] szHostNameA is: server112.company.com
ZENLGN [44C-450] [14:46:33] dwAuthTokenSize is: 3469
ZENLGN [44C-450] [14:46:39] LgnSetZenUsernameHistory
ZENLGN [44C-450] [14:46:39] LgnSetRealmNameHistory
ZENLGN [44C-450] [14:46:39] CacheUsersZenName Entered
ZENLGN [44C-450] [14:46:39] CacheUsersZenName returning: 0
ZENLGN [44C-450] [14:46:39] ZenLgnLogin returning 0
ZENLGN [44C-450] [14:46:39] ZenLgnLoginUI exiting: 0

To enable the ZenLgn debug log, see TID 3418069

For other TIDs relating to login issues, see TID3273870 - Troubleshooting ZCM login problems