< Back

RLM cannot bind Web Server port 5054, exiting


Problem:

The Reprise License Manager will not start and my debug.log file includes a “Cannot bind Web Server port 5054, exiting” error. What happened and how can I fix it?

Solution:

If you start the Reprise License Manager (RLM) without a license key in the RLM installation directory and then try to shut down RLM, it will not shut down. If you try to start RLM again, you will encounter this error.
This problem can be resolved in any of four ways:

  1. Add the license key to the RLM directory. Then open the RLM browser-based administration tool through http://localhost:5054/, where localhost represents the license server hostname and 5054 represents the web server port number. Click on the Reread/Restart Servers button, and then click REREAD/RESTART. Next time you need to shut down RLM, it will work properly.
  2. Kill the rlm process (works on Linux and Unix platforms only).
    To do this, run the following command at the terminal to determine the process ID:
    ps ax | grep rlm
    The terminal will display all processes that contain “rlm” in their name along with the associated process ID. Use that process ID to run the following command:
    kill 0000
    Here, 0000 represents the process ID for rlm
    This command shuts down RLM. Before restarting RLM, place the license key in the RLM directory.
  3. Set the RLM_LICENSE environment variable to 5053@localhost and then shut down RLM. Before restarting RLM, place the license key in the RLM directory.
  4. Reboot the computer. Before restarting RLM, place the license key in the RLM directory.