Check the license connection with kick - Arnold User Guide
kick -licensecheck doesn't work with Autodesk licensing, so you have to render something instead.
For testing the Autodesk license connection, it is easier to use kick:
Windows:
set ADSKFLEX_LICENSE_FILE=@server
set FLEXLM_BATCH=1
set FLEXLM_DIAGNOSTICS=3
set ADCLMHUB_LOG_LEVEL=T
cd C:\solidangle\mtoadeploy\2018
bin\kick -v 4 -nostdin -i NUL
MacOS, Linux:
export ADSKFLEX_LICENSE_FILE=@server
export FLEXLM_BATCH=1
export FLEXLM_DIAGNOSTICS=3
export ADCLMHUB_LOG_LEVEL=T
bin/kick -v 4 -nostdin -i /dev/null
For ADSKFLEX_LICENSE_FILE, just replace "server" with the actual name, or IP address, of the license server.
You may need to add the port number (for example, 27000@server or, in rare cases, 2080@server).
In the Arnold log, look for the clm messages (you can ignore the rlm messages). You'll see something like for a successful license check out:
00:00:00 41MB | authorizing ...
Checkout succeeded: 86985ARNOL_2018_0F/0E58 8008 A9A7 6F03
License file: @localhost
License Server: @localhost
00:00:00 50MB | [clm] authorized for "86985ARNOL_2018_0F" in 0:00.35
00:00:00 50MB | [clm] expiration date: permanent, in use: 1/5
If the license check out fails, then you'll see something like this:
00:00:00 562MB | authorizing ...
FlexNet Licensing checkout error: License server machine is down or not responding.
See the system administrator about starting the license server system, or
make sure you're referring to the right host (see LM_LICENSE_FILE).
Feature: 86985ARNOL_2018_0F
Hostname: 127.0.0.1
License path: @localhost;
FlexNet Licensing error:-96,491
For further information, refer to the FlexNet Licensing documentation,
available at "www.flexerasoftware.com".00:00:05 562MB | [rlm] error initializing license system:
00:00:05 562MB | [rlm] * Can't read license data (-102)
00:00:05 562MB | [clm] generic license checkout error (22)
00:00:05 562MB | environment variables:
00:00:05 562MB | [rlm] solidangle_LICENSE = (not set)
00:00:05 562MB | [rlm] RLM_LICENSE = (not set)
00:00:05 562MB | [clm] ADSKFLEX_LICENSE_FILE = @pinkman
00:00:05 562MB | [clm] LM_LICENSE_FILE = (not set)
When a license check out fails, you should also check the Adlm logs.
Where is kick? It depends on your software and OS:
C4DtoA
Windows: C:\Program Files\MAXON\Cinema 4D R19\plugins\C4DtoA\arnold\bin
OSX: /Applications/MAXON/CINEMA 4D R18/arnold/plugins
MtoA
Windows: C:\solidangle\mtoadeploy\2017\bin
OSX: /Applications/solidangle/mtoa/2018/bin