Forum / NoMachine for Linux / Server.lic license file — alternative location?
Tagged: licensing, server.lic, upgrade
- This topic has 7 replies, 3 voices, and was last updated 2 years, 5 months ago by zaq.
-
AuthorPosts
-
March 4, 2022 at 15:28 #37788vragostaParticipant
Hello,
We deploy the NoMachine application to several hundred Linux workstations. When users upgrade, the server.lic license file is sometimes lost, resulting in the nxserver daemon not starting. Is there an alternative location that nxserver can / will look for the server.lic license file, that will not be affected by uninstalling / upgrading NoMachine?
Thank you,
Vincent
March 7, 2022 at 17:42 #37820BritgirlKeymasterThe licenses cannot be stored in another location. However, upgrading /updating the software as per the documentation’s instructions is a safe procedure and does not touch the server.lic files unless users remove the entire .nx directory.
March 29, 2022 at 13:35 #38069vragostaParticipantHello — I just updated NoMachine, via the NoMachine interface, and the /usr/NX/etc/server.lic and /usr/NX/etc/node.lic files, which were present before the upgrade, are no longer present. Is this a bug?
Thank you,
Vincent
March 30, 2022 at 16:45 #38096zaqParticipantHello Vragosta,
We weren’t able to reproduce the error.
Could you gather logs from the affected host:
$ sudo tar cvfz NoMachine-log.tar.gz /usr/NX/var/log
and send to forum[at]nomachine[dot]com please?
March 31, 2022 at 14:03 #38120vragostaParticipantHello, please find attached the requested log files.
Thank you,
Vincent
Attachments:
March 31, 2022 at 17:54 #38125zaqParticipantHi,
In log files you have a line:
NX> 701 Running: '/etc/NX/nxnode' --validate.
I was able to reproduce it only when:
– I don’t have /usr/NX/etc/node.lic,
– but I have /usr/NX/etc/node.lic.sample.I haven’t reproduced a situation with disappearing server.lic. Probably there is also something wrong
with your file. Maybe node.lic and server.lic were from different NoMachine products(?)Before update, your /usr/NX/etc/ lic files should look like this:
$ ls -l /usr/NX/etc/*lic* -r-------- 1 nx root 885 mar 31 18:35 /usr/NX/etc/node.lic -r-------- 1 root root 894 mar 31 18:35 /usr/NX/etc/node.lic.backup -r-------- 1 nx root 817 mar 31 18:34 /usr/NX/etc/server.lic -r-------- 1 root root 823 mar 31 18:34 /usr/NX/etc/server.lic.backup
$ sudo grep "Product Id:" /usr/NX/etc/*lic* /usr/NX/etc/node.lic:Product Id: LEDSN /usr/NX/etc/node.lic.backup:Product Id: LEDEN /usr/NX/etc/server.lic:Product Id: LEDS /usr/NX/etc/server.lic.backup:Product Id: LEDE
There could be missing *lic.backup files if you didn’t use nxplayer’s GUI for replacing licenses.
April 11, 2022 at 13:58 #38285vragostaParticipantBefore update, your /usr/NX/etc/ lic files should look like this:
If I dpkg install the .deb installer, I see no backup files listed:
blah@raven-5820:~$ ls -l /usr/NX/etc/*lic* -r-------- 1 nx root 876 Oct 7 2021 /usr/NX/etc/node.lic -r-------- 1 nx root 809 Oct 7 2021 /usr/NX/etc/server.lic blah@raven-5820:~$ sudo grep "Product Id" /usr/NX/etc/*lic* /usr/NX/etc/node.lic:Product Id: LEDSN /usr/NX/etc/server.lic:Product Id: LEDS
Is this unexpected?
April 12, 2022 at 14:09 #38300zaqParticipantHello,
Your license files look ok. You shouldn’t have problems during the update. To be sure that everything will be right after the update, you can check expiration dates:sudo grep Expiry: /usr/NX/etc/*lic
-
AuthorPosts
This topic was marked as solved, you can't post.