Or, “things that happen when you use single-user licensing on a render node” 😉
In this case, a Houdini command-line render with Arnold (HtoA) failed because the AdskLicensingAgent failed to start.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: minimal, offscreen, webgl, windows.
After AdskLicensingAgent crashed, the render would continue, but license authorization would fail:
00:00:00 148MB | authorizing with license manager: user ...
00:00:31 153MB WARNING | rendering with watermarks because of failed authorization:
00:00:31 153MB | [clm.v2] timeout before callback was called
Using Process Monitor, I saw (as expected) that the problem was that the AdskLicensingAgent was loading Qt platform plugins from Houdini:
The solution? Set QT_QPA_PLATFORM_PLUGIN_PATH to point to the AdskLicensingAgent\platforms folder.
set QT_QPA_PLATFORM_PLUGIN_PATH=C:\Program Files (x86)\Common Files\Autodesk Shared\AdskLicensing\Current\AdskLicensingAgent\platforms
In addition to registering Arnold in the global ProductInformation.pit file used by all Autodesk products, AdskLicensingInstHelper also registers Arnold with the Autodesk licensing service (that’s for single-user licensing).
C:\Users\blairs>"C:\Program Files (x86)\Common Files\Autodesk Shared\AdskLicensing\Current\helper\AdskLicensingInstHelper.exe" -help register
AdskLicensingInstHelper - Manage products registration with Autodesk Licensing
AdskLicensingInstHelper.exe [global options] command [command options] [arguments...]
register Register product with the licensing components. Requires admin rights
deregister Deregister product from the licensing components. Requires admin rights
list List all products registered with licensing components
change Change registered product
help, h Shows a list of commands or help for one command
--verbose, -d [O] Output verbose log
--help, -h show help
--version, -v print the version
These warnings mean that Arnold can connect to the RLM license server, but Arnold cannot connect to the solidangle ISV server:
00:00:12 14MB WARNING | [rlm] * Communications error with license server (17)
00:00:12 14MB WARNING | [rlm] * Connection refused at server (111)
Usually the problem is that the solidangle ISV server is not running.
You can check the status of the solidangle ISV server with RLM Web Admin. I like the get the RLM diagnostics (Diagnostics > Run Diagnostics) from RLM Web Admin and review that.
In rare cases, the problem is something else, such as:
Some sort of network connection problem. For example, I recently had a case where we would get these warnings when we used the IP address of the license server in solidangle_LICENSE. But as soon as we switched to using the hostname, everything worked.
Another RLM instance is running and listening to port 5053, and that instance doesn’t have a solidangle ISV running. I heard about this second-hand, from a customer; I didn’t see it with my own eyes and I don’t know how it’s possible. You can have multiple RLM instances running, but each instance has to have a different port otherwise you get ” “Port 5053 in use, waiting…” messages and the second RLM won’t start.