AWS Thinkbox Discussion Forums

Licensing Issues via VPN

Heyho,
i have a quick question about licensing.

I am working from home, but I am connected via VPN to my company’s network. I can use the Deadline monitor without problem, i have direct acces to all the network drives and i can connect directly to the repository. But the moment i open my Worker prints out the following:

Could not obtain license because:
2021-01-21 16:44:39: Cannot connect to license server system.
2021-01-21 16:44:39: The license server manager (lmgrd) has not been started yet,
2021-01-21 16:44:39: the wrong port@host or license file is being used, or the
2021-01-21 16:44:39: port or hostname in the license file has been changed.
2021-01-21 16:44:39: Feature: deadline
2021-01-21 16:44:39: Server name: rendercontrol
2021-01-21 16:44:39: License path: @rendercontrol;
2021-01-21 16:44:39: FlexNet Licensing error:-15,570
2021-01-21 16:44:39: For further information, refer to the FlexNet Licensing documentation,
2021-01-21 16:44:39: available at “www.flexerasoftware.com”.
2021-01-21 16:44:39: Failed to checkout a license using environment override, checking current configuration…

What is wrong here? I checked one of the other Workers in the office and the @rendercontrol is the license path used there aswell…

I read in the documentation something about remote Connection Servers ( Remote Connection Server — Deadline 10.0.29.0 documentation ?) But since i can connect directly via VPN and i find the repository, shouldn’t i be able to pull the license from the same source as the other maschines?

Please help <3

Thanks already and have a good one!
Greetings from Germany
Julian

Hi Julian,

The default license TCP port we issue the Deadline license files for is 27008. Your license server configuration does not specify the license port, just the hostname.

Try specifying the port@hostname in the license configuration and see if that changes anything. In your case, 27008@rendercontrol

Also, check that you can “see” the server with hostname ‘rendercontrol’ from your network.

mit freundlichen Grüßen
Bobo

when i write in the port it doesn’t save and doesn’t change anything… when i press ok and open it again, the port is not there… maybe because it’s the default it uses it anyway and doesn’t show it, unless its something else than the default?
What i particulary do not understand is that the worker finds the repository, the deadline monitor shows the worker but he cannot connect to the license server which is on the same maschine as the repository…?

Things to check:

There are several ways to enforce the License Server:

  • An Auto Configuration rule in the Repository
  • Deadline Launcher > Change License Server (which writes to the deadline.ini file)
  • Modifying the deadline.ini configuration file manually

So if there is an Auto Configuration rule that matches the IP of your machine, your license configuration could be enforced centrally and anything you enter would be overwritten. Go to Monitor > Tools (Super User Mode) > Configure Repository Options > Auto Configuration and see if there is anything that might be setting the license server.

If there is no Auto Configuration rule, try modifying the deadline.ini file directly - the location of the file for your OS can be found here:

There are two possible deadline.ini files - a system and a user-specific one. Likely you need to modify just the system one.

Look in the file for the LicenseServer= key and edit the value

[Deadline]
HttpListenPort=8080
TlsListenPort=4433
TlsServerCert=C:\DeadlineCerts\RCS\xxxxx-xxxxxxx.pfx
TlsCaCert=C:\DeadlineCerts\RCS\ca.crt
TlsAuth=True
LicenseMode=Standard
LicenseServer=27008@rendercontrol
...

Then save the file and try restarting the Worker.

If you don’t have Auto Configuration and modifying the LicenseServer= key does not work, we have to dive even deeper…

ok i checked the auto config and there is a rule set.
I am attaching a screenshot

do i need to add the port to the license Server?

This explains why your license server was being reset to just @rendercontrol without the port.

Assuming the license file still uses the default 27008 port we issued it with, adding 27008 to the rule set would be the right thing to do. Let me know if it does not solve the issue, or makes it worse (e.g. the rest of the farm losing licensing :open_mouth: )

i just dove into the repository and settings and found this in the connection.ini
[Connection]
AlternatePort=0
Authenticate=True
DatabaseName=deadline10db
DbType=MongoDB
EnableSSL=True
Hostname=RENDERCONTROL;1xx.1xx.1xx.2xx [blurred IP in this post for i guess no reason]
PasswordHash=
Port=27100
ReplicaSetName=
SplitDB=False
Username=
Version=10
StorageAccess=Database

Before i start changing things while the farm is actually rendering^^
Is that port the main license server port or is that something else entirely and im getting just more confused as i go? ^^

You are getting more confused :slight_smile:
The connection.ini file is what the Worker uses when connecting directly to the Repository (as opposed to a Remote Connection Server).

The Worker goes to the Repository Path after resolving where the Repository is installed. It then searches for the connection.ini file, reads it, and finds out where the Database is, and how to talk to it. The Port=27100 is the port used to communicate with MongoDB - see the table at the bottom of this page:

TCP 27100 MongoDB Default TCP port for MongoDB installed by Deadline DB/Repo installer

There are a bunch of other ports, as you will see there. But none of them deal with licensing, as the 27008 port (and ISV port 2708) are actually used by the FlexLM license server that is in the core of the Thinkbox license server.

Try changing the rule set, see if your license will start working, and see if the farm will continue rendering. If anything bad happens, revert. The Deadline Worker checks out a license when it starts rendering, and returns it when it finishes a Task. If you see new Tasks failing due to Deadline License errors in the Worker, it will be a clear sign.

aight I’ll give it a go. check back in a minute

the farm seems to not mind my change, but my worker doesn’t work any better than before… still printing the same error messages to the worker log :frowning:

Could not obtain license because:
2021-01-23 00:21:55: License server machine is down or not responding.
2021-01-23 00:21:55: See the system administrator about starting the license server system, or
2021-01-23 00:21:55: make sure you’re referring to the right host (see LM_LICENSE_FILE).
2021-01-23 00:21:55: Feature: deadline
2021-01-23 00:21:55: Hostname: 192.168.151.200
2021-01-23 00:21:55: License path: 27008@rendercontrol;
2021-01-23 00:21:55: FlexNet Licensing error:-96,491
2021-01-23 00:21:55: For further information, refer to the FlexNet Licensing documentation,
2021-01-23 00:21:55: available at “www.flexerasoftware.com”.
2021-01-23 00:21:55: Could not obtain license because:
2021-01-23 00:21:55: Scheduler Thread - >>> LICENSE CHECK OUT FAILED, SKIPPING TASK DEQUEUING

actually the error reads slightly differently than before… does that make any sense to you?

I disagree. This is a different error message.

Old:

Could not obtain license because:
2021-01-21 16:44:39: Cannot connect to license server system.
2021-01-21 16:44:39: The license server manager (lmgrd) has not been started yet,
2021-01-21 16:44:39: the wrong port@host or license file is being used, or the
2021-01-21 16:44:39: port or hostname in the license file has been changed.
2021-01-21 16:44:39: Feature: deadline
2021-01-21 16:44:39: Server name: rendercontrol
2021-01-21 16:44:39: License path: @rendercontrol;
2021-01-21 16:44:39: FlexNet Licensing error:-15,570

New:

Could not obtain license because:
2021-01-23 00:21:55: License server machine is down or not responding.
2021-01-23 00:21:55: See the system administrator about starting the license server system, or
2021-01-23 00:21:55: make sure you’re referring to the right host (see LM_LICENSE_FILE).
2021-01-23 00:21:55: Feature: deadline
2021-01-23 00:21:55: Hostname: 192.168.151.200
2021-01-23 00:21:55: License path: 27008@rendercontrol;
2021-01-23 00:21:55: FlexNet Licensing error:-96,491

This is a different problem description, and a different FlexNet Licensing error.

It claims that “License server machine is down or not responding”. Since we know that it is not down as the rest of the farm is rendering, we can assume that it is not responding to YOUR Worker’s communication.

sadly it is 12.30am here and i am quite tired, I’ll revert the settings back to what they were and have to go to bed now…
is there a way i can contact you tomorrow/monday via skype or some other form of verbal communication other than phone? last time i spent 30€ on my phone bill to call you from my mobile :smiley:

You should email support@thinkboxsoftware.com when you have technical issues. I also forwarded this thread to a support engineer.

I cannot promise I will be online over the weekend, but will try to monitor this thread as best as I can…

aight, I’ll do that. Thank you already! Cheers and good night :slight_smile:

There is a chance that a VPN rule or Firewall is blocking port 27008 on your machine.
You can try to telnet to the license server to confirm this suspicion.

Hi Julian,

In addition to Bobo’s suggestion, can you also try telnet to port 2708 from your machine, which is the default vendor port.
The worker should be able to connect to your license server on both these ports (27008 and 2708) to checkout license successfully.

ok i am back and it keeps not making sense.

Just to catch up on what i tried (with the support of our IT admins)

  1. I set up an autoconfig for my IP only. (just to not mess with the rendering farm)
  2. I tried various different version of the license server handles (@rendercontrol, 27008@rendercontrol @IP of Rendercontrol, Port@IP, with the port, without the port
  3. the errors stay the second type of error
Could not obtain license because:
2021-01-23 00:21:55: License server machine is down or not responding.
2021-01-23 00:21:55: See the system administrator about starting the license server system, or
2021-01-23 00:21:55: make sure you’re referring to the right host (see LM_LICENSE_FILE).
2021-01-23 00:21:55: Feature: deadline
2021-01-23 00:21:55: Hostname: 192.168.151.200
2021-01-23 00:21:55: License path: 27008@rendercontrol;
2021-01-23 00:21:55: FlexNet Licensing error:-96,491

I checked the processes on rendercontrol and the lmrgd.exe is running (twice actually which baffles me slightly)

I checked the license file and it has rendercontrol and the 27008 license port and 2708 vendor port written in

I checked the Log in the license file folder where it registeres all the connections. I found that all of the ones working had a firstname.lastname@Workstationname decleration. I realised my user is called “firstname lastname” (with a spacebar inbetween) because i had some issues with my user a few months back and had it changed.
To make sure that does not affect the licensing we created a new user with the space in the name on one of the working maschines and that wasn’t the problem either.

We checked all possible firewalls (windows defender, the VPN firewall, the firewalls on rendercontrol) none of those were blocking the 27008 Port.

We then tried to telnet via Putty and that did not work. on my maschine it timed out, on the rendercontrol it didn’t do anything (neither on localhost nor the IP) and on one of the working farm maschines it didn’t do anything either (entered IP and port, Telnet, “ok”, and it just shut the software). The IT guy said it seems like rendercontrol just isn’t listening for telnet calls.

I am at my wits end… i would very much appreciate a skype or somesuch call if it’s possible.

Thank you already and greetings
Julian

P.S. I’ll send this message to the supportmail as well and link to this forum post.

Privacy | Site terms | Cookie preferences