uberAgent fails the licensing attempt when a valid provisiontoken.blob is present

book

Article ID: CTX696818

calendar_today

Updated On:

Description

Checking the uberAgent.log file, the following lines may be seen:

v8.x

INFO ,DOMAIN,MACHINE$,11900,LicenseCheck,Starting license verification
INFO ,DOMAIN,MACHINE$,11900,LicenseCheck,Token License Manager initialized successfully
INFO ,DOMAIN,MACHINE$,11900,LAS,Finished license verification. Result: unlicensed
INFO ,DOMAIN,MACHINE$,11900,InitializeApp,Start reading configuration
WARN ,DOMAIN,MACHINE$,11900,ReadConfiguration,No valid uberAgent license found. Switching to integration mode.
ERROR,DOMAIN,MACHINE$,11900,ReadConfiguration,No license or integration mode detected. Shutting down.
INFO ,DOMAIN,MACHINE$,11900,InitializeApp,Finished reading of configuration
INFO ,DOMAIN,MACHINE$,11900,ShutdownApp,Shutting down...

 

v7.5x

INFO ,DOMAIN,MACHINE$,16252,LicenseCheck,Starting license verification
INFO ,DOMAIN,MACHINE$,16252,Initialize,CCAuth library initialized successfully
INFO ,DOMAIN,MACHINE$,16252,Initialize,Token License Manager initialized successfully
INFO ,DOMAIN,MACHINE$,16252,LicenseCheck,Token License Manager initialized successfully
ERROR,DOMAIN,MACHINE$,16252,GetDeviceSerialNumber,Neither a BIOS serial number, nor a baseboard serial number are available
ERROR,DOMAIN,MACHINE$,16252,CheckLicense,Could not retrieve unique device ID. LasPolEng could not be initialized
INFO ,DOMAIN,MACHINE$,16252,InitializeApp,Start reading configuration
WARN ,DOMAIN,MACHINE$,16252,ReadConfiguration,No valid uberAgent license found. Switching to integration mode.
ERROR,DOMAIN,MACHINE$,16252,ReadConfiguration,No license or integration mode detected. Shutting down.
INFO ,DOMAIN,MACHINE$,16252,InitializeApp,Finished reading of configuration
INFO ,DOMAIN,MACHINE$,16252,ShutdownApp,Shutting down...

 

Running the following WMI queries via PowerShell will show that no Serial Number is being returned:

  • Get-CimInstance Win32_BIOS | Select-Object -ExpandProperty SerialNumber
  • Get-CimInstance Win32_BaseBoard | Select-Object -ExpandProperty SerialNumber

Cause

With the introduction of License Activation Service, the agent must be able to read a Serial Number from either the Win32_BIOS or Win32_BaseBoard namespace in order to generate a unique DeviceID.  If a Serial Number is not available, the DeviceID cannot be generated and the licensing attempt will fail.

Resolution

Check with your selected hypervisor on the correct method for setting/changing the Serial Number in the BIOS data of the VM.

Issue/Introduction

An installation of uberAgent 7.5x or 8.x will fail to start even when a valid provisiontoken.blob file is present in proper location, and the logging will show that the machine is unlicensed.