Solving 'No subscription found on this server' or 'The subscription file is incomplete or corrupted'
Message:
NX> 630 ERROR: No subscription found on this server.
NX> 630 ERROR: Please contact NoMachine to acquire a valid subscription.
is given at server startup or when checking its version, if the license file, server.lic is not in the proper place.
Ensure that the server.lic is in the 'etc' directory under the NoMachine server installation path and has the proper ownership and permissions.
More detailed intructions to install the license are available at: https://kb.nomachine.com/AR04T01157
Message:
NX> 630 ERROR: The subscription file is incomplete or corrupted.
NX> 630 ERROR: Please contact NoMachine to acquire a valid subscription.
is given when server.lic is (a) not in the suitable format or is (b) corrupted.
(a) Licenses are 'ASCII' text files in UNIX format. Copying their content from a local editor to a Linux server host may lead to a conversion of the file format.
To make sure that files have not been accidentally converted to DOS format, run in a terminal:
# dos2unix /usr/NX/etc/node.lic
# dos2unix /usr/NX/etc/server.lic
(b) You may contact our Support Team and request a verification of the server.lic file you received.
