Cannot use RLM web interface when running license server as a Windows service

The RLM web interface is required for managing Reprise-specific features such as named user licenses. However, when running RLM license server as a service on Windows, the web interface is disabled.

Workaround: In several versions of RLM (including 15.0), the web server is disabled if the user running RLM is a root or an admin user. You can manage named user licenses by running the license server service as a local user, then accessing the licensing web portal locally on port 5054 (default).

  1. Create a local system user. If you have an existing user already, skip this step.

    1. Open a command prompt with administrative privileges.

    2. Run the following command to create a user account. Replace “rlm_license_user” and “<AStrongPassword>” with your chosen username and password.

      net user rlm_license_user <AStrongPassword> /add 
  2. Grant the local user explicit access rights for the license aspects of projects_root.

    1. Open a command prompt with administrative privileges.

    2. Run the following commands, replacing “<projects_root>” with the full, absolute path to your projects root, and “<username>” with the account created in step 1.

      ICACLS <projects_root>\config\admin.conf /grant <username>:F
      ICACLS <projects_root>\licenses\* /grant <username>:F
      ICACLS <projects_root>\projects_root\logs\* /grant <username>:F

      For example, the commands for a default installation using the Validate installer, using the username “rlm_license_user” would be:

      ICACLS C:\ProgramData\Perforce\Validate\projects_root\config\admin.conf /grant rlm_license_user:F 
      ICACLS C:\ProgramData\Perforce\Validate\projects_root\logs\* /grant rlm_license_user:F 
      ICACLS C:\ProgramData\Perforce\Validate\projects_root\licenses\* /grant rlm_license_user:F
      

    3. Close the command prompt.

  3. Open a run box, and type services.msc

  4. Locate the license server service. For example, Validate 23.2 License Server.

    If you used the Klocwork installer, the service will be called “Klocwork 23.2 License Server”

  5. If the services are running, stop the Server, Database Server, and then License Server services.

  6. Right-click on the License Server service and select Properties.

  7. In the Log On tab, provide the user name and password from the account created in step 1.

  8. Click Apply. The message “The account <username> has been granted the Log on as a service right.” appears.

    If the message does not appear, confirm that the account was correctly granted the Log on as a service right, otherwise the license server will fail to start.
  9. Restart the License server, Database server, and Server services.

  10. Confirm that the log file <projects_root>\logs\license.log has been updated with the license server starting up.

    If the license server has not updated the log file or it has failed to come up, there is likely a permissions issue. Please open a support case to resolve the issue.

  11. Access the licensing web portal through http://<server address>:5054.