Diagnose On-Prem Qt License Server
If you're having issues with license reservations on On-Prem Qt License Server, try diagnosing the problem with these steps.
If you have a specific issue, see Troubleshooting Qt License Server.
Note: On-Prem Qt License Server is available in version 3.3.0 or later. If you run the server without an internet connection, see Diagnose Offline Qt License Server.
Note: If you're having issues with license reservations, you can contact Qt Support. In Qt Customer Portal, select Support Center and Create a request.
Check the logs
Investigate the Qt License Server logs for possible errors. The location of the Qt License Server logs depends on your operating system.
For Qt License Server installed as a system service, the logs are collected by the systemd journal.
To view the full log, run:
journalctl -u qt-license-server.serviceFor example, to check only the last 100 lines, run:
journalctl -u qt-license-server.service -n 100Note: If Qt License Server is not installed as a system service, the logs are located in <\QLSRV executable root folder>/logs.
By default, the logs are located in <\QLSRV executable root folder>\logs.
Change the logging level
To modify the logging level, edit the QLS_LOG_LEVEL option in the Qt License Server configuration file (Linux: qt-license-server.service, Windows: qt-service.xml). For more information, see Qt License Server configuration. Remember to restart Qt License Server after the modifications.
Check the license IDs and expiry dates
If you've enabled ACLs, check that the acl.json file contains the correct license numbers. For more information, see Manage ACLs.
With On-Prem Qt License Server, check the license IDs for the used Qt Account from Qt Customer Portal:
- Go to Qt Customer Portal.
- Check the license IDs for your available licenses.
- Check that the required licenses have not expired.
Check the configuration file
Ensure you have configured the Qt License Server configuration file (Linux: qt-license-server.service, Windows: qt-service.xml) properly.
Some common misconfigurations are:
QLS_PORT- Check that the
QLS_PORTyou have specified here is not occupied by anything else and is free to be used. - Check that this
QLS_PORTis accessible via HTTP(S).
- Check that the
QLS_ENABLE_SSL- In localhost testing environments, set this to
no. - In production, ensure you have the certificate from a Certificate Authority installed on the computer hosting Qt License Server, and that
cert.pemandkey.pemare in the Qt License Server root folder.
- In localhost testing environments, set this to
For more information, see Qt License Server configuration.
Check host computer configuration
Ensure you have configured the computer hosting Qt License Server properly. Start by checking that:
- The
QLS_PORTis free and accessible via HTTP(S) from outside the computer hosting the instance. - There are no firewall restrictions that could block the access.
- The user account running the instance has write access to the folder where it is installed.
Check the connection to the Qt cloud
On-Prem Qt License Server synchronizes license information with the Qt cloud, so ensure it can reach the following services:
- login.qt.io (port: 443)
- qls.qt.io (port: 443)
- licenses.qt.io (port: 443)
For more information, see Outbound connections.
See also Qt License Server configuration and Troubleshooting Qt License Server.
© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.