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).
-
Create a local system user. If you have an existing user already, skip this step.
-
Open a command prompt with administrative privileges.
-
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
-
-
Grant the local user explicit access rights for the license aspects of projects_root.
-
Open a command prompt with administrative privileges.
-
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
-
Close the command prompt.
-
-
Open a run box, and type services.msc
-
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” -
If the services are running, stop the Server, Database Server, and then License Server services.
-
Right-click on the License Server service and select Properties.
-
In the Log On tab, provide the user name and password from the account created in step 1.
-
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. -
Restart the License server, Database server, and Server services.
-
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.
-
Access the licensing web portal through http://<server address>:5054.