SYMPTOMS
When attempting to start your RLM server, instead of the server starting correctly and the licenses floating, the below errors appear:
==> 05/25 16:20 (rlm) Port 4103 in use, waiting...
==> 05/25 16:20 (rlm) Port 4103 in use, waiting...
==> 05/25 16:20 (rlm) Port 4103 in use, waiting...
==> 05/25 16:20 (rlm) Port 4103 still in use, giving up.==> Error connecting to "rlm" server
==> Connection attempted to host: "<hostname>" on port 4103
==> Connection refused at server (-111)
==> Cannot connect to server (comm: -4)
If you are using FLU 8 the error message will say Port 4101 in use. Please ensure there is no other RLM process running on this port.
CAUSE
4103 is the port specified on the Host line of the license file. By default , once installed our Foundry licenses are written to use port 4103 to avoid conflicts with other RLM servers. For more information please see this article: Q100752: What ports do we use for RLM floating licenses?
If you are seeing the error that the port is in use, this usually means that there is another RLM process on this machine floating from port 4103.
One reason this may happen is if the last Foundry RLM session running on your server did not exit cleanly.
RESOLUTION
The first thing to ensure is that no other vendor on this server is using port 4103.
Once you are confident that there is nothing else using this port, please ensure that any old Foundry RLM processes on the machine are no longer running. You can completely stop the server from running by following these steps:
- Launch the Foundry Licensing Utility (FLU)
- Navigate to the 'License server' and 'Control' tab
- Stop the server if possible
- Navigate to the 'License server' and 'Uninstall' option and run the uninstaller
- Reinstall the server following installation steps: Q100360: How to install the server tools for Floating/server licenses
- Start the server
If you are using the FLU on a headless machine, please see the steps to stop and start the server here.
If you are not using the FLU, you can stop the server via rlmutil following these steps:
- Open a command prompt or terminal
- Navigate to rlmutil via the following command
Windows:cd C:\Program Files\The Foundry\LicensingTools9.0.2\bin\RLM
Mac:cd /Applications/TheFoundry/LicensingTools9.0.2/bin/RLM/
Linux:cd /usr/local/foundry/LicensingTools9.0.2/bin/RLM
- Use the rlmdown command to stop the server:
E.g :rlmutil rlmdown foundry -c4103@<hostname>
More information on this can be found here Q100659: What are the RLM utilities (rlmutil) and how can I use it?
FURTHER READING
If you are still experiencing difficulties please create a support ticket to let us know the exact issue encountered and the troubleshooting steps that have been taken.
For more information on how to open a support request, please refer to this article: Q100064: How to raise a support ticket
More information on the rlmutil and its commands can be found in this documentation: Q100659: What are the RLM utilities (rlmutil) and how can I use it?
For more information on how to manage a license server, please see this page.
We're sorry to hear that
Please tell us why