Error message installation is corrupted and missing /usr/NX/etc/keys/node.localhost.id_dsa ssh key file

Forum / NoMachine for Linux / Error message installation is corrupted and missing /usr/NX/etc/keys/node.localhost.id_dsa ssh key file

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #38238
    Owenc
    Participant

    I see a user posted on the 5th Feb with this issue, but never got back… probably means it was a simple fix.. but I can’t work it out 🙂

    I’m installing on Ubuntu 20.04.4 LTS

    So here’s the terminal output…..

    owen@owen-AIO:~/Downloads$ sudo dpkg -i nomachine_7.9.2_1_i386.deb
    Selecting previously unselected package nomachine:i386.
    (Reading database … 182169 files and directories currently installed.)
    Preparing to unpack nomachine_7.9.2_1_i386.deb …
    Unpacking nomachine:i386 (7.9.2-1) …
    Setting up nomachine:i386 (7.9.2-1) …
    NX> 701 Starting update at: Fri Apr 08 10:29:21 2022.
    NX> 701 Updating: nxclient version: 7.9.2.
    NX> 701 Using installation profile: Ubuntu.
    NX> 701 Update log is: /usr/NX/var/log/nxupdate.log.
    NX> 701 Updating: nxplayer version: 7.9.2.
    NX> 701 Using installation profile: Ubuntu.
    NX> 701 Update log is: /usr/NX/var/log/nxupdate.log.
    NX> 701 To connect the remote printer to the local desktop,
    NX> 701 the user account must be a member of the CUPS System Group: lpadmin.
    NX> 701 Updating: nxnode version: 7.9.2.
    NX> 701 Using installation profile: Ubuntu.
    NX> 701 Update log is: /usr/NX/var/log/nxupdate.log.
    NX> 701 Saving configuration file to: /usr/NX/etc/node.cfg.backup.
    NX> 701 Creating configuration in: /usr/NX/etc/node.cfg.
    NX> 701 Updating: nxserver version: 7.9.2.
    NX> 701 Using installation profile: Ubuntu.
    NX> 701 Update log is: /usr/NX/var/log/nxupdate.log.
    /etc/NX/nxserver: line 156: /usr/NX/bin/nxserver.bin: No such file or directory
    NX> 701 ERROR: Cannot shutdown nxserver.
    NX> 701 Saving configuration file to: /usr/NX/etc/server.cfg.backup.
    NX> 701 Creating configuration in: /usr/NX/etc/server.cfg.
    NX> 701 ERROR: Installation of NoMachine server is corrupted:
    NX> 701 ERROR: Missing /usr/NX/etc/keys/node.localhost.id_dsa ssh key file!
    NX> 701 ERROR: Please uninstall and install the package again.
    NX> 701 Bye.

    #38248
    Owenc
    Participant

    Looks like an Admin changed the message subject to include the missing ssh key file, which it is.

    But the trouble seems to start before then with nxserver.bin: No such file or directory,

    BUT there is, the bin file is there??

    #38257
    Britgirl
    Participant

    You’ve downloaded 32-bit packages. Are you sure you don’t need 64-bit ones? I’m checking because the error you show can occur when the wrong packages have been installed.

    #38259
    Britgirl
    Participant

    Sorry forgot to add the instructions: uninstall, remove traces and then reinstall the right package:

    sudo dpkg -P nomachine
    
    sudo rm -rf /usr/NX /etc/NX /var/NX
    
    sudo dpkg -i nomachine_7.9.2_1_amd64.deb
    #38260
    Owenc
    Participant

    Many thanks for your input.

    If I want to install a DEB package, the choices om the download page are i386 or AMD64.

    i386… I read Intel, and I’m installing on an i7. However,understand what you are saying re 32/64.

    So I uninstalled and rebooted. Downloaded and installed the AMD64… so now ….

    owen@owen-AIO:~/Downloads$ sudo dpkg -i nomachine_7.9.2_1_amd64.deb
    [sudo] password for owen:
    Selecting previously unselected package nomachine.
    (Reading database … 182169 files and directories currently installed.)
    Preparing to unpack nomachine_7.9.2_1_amd64.deb …
    Unpacking nomachine (7.9.2-1) …
    Setting up nomachine (7.9.2-1) …
    NX> 701 Starting update at: Sat Apr 09 00:57:10 2022.
    NX> 701 Updating: nxclient version: 7.9.2.
    NX> 701 Using installation profile: Ubuntu.
    NX> 701 Update log is: /usr/NX/var/log/nxupdate.log.
    NX> 701 Updating: nxplayer version: 7.9.2.
    NX> 701 Using installation profile: Ubuntu.
    NX> 701 Update log is: /usr/NX/var/log/nxupdate.log.
    NX> 701 To connect the remote printer to the local desktop,
    NX> 701 the user account must be a member of the CUPS System Group: lpadmin.
    NX> 701 Updating: nxnode version: 7.9.2.
    NX> 701 Using installation profile: Ubuntu.
    NX> 701 Update log is: /usr/NX/var/log/nxupdate.log.
    NX> 701 Saving configuration file to: /usr/NX/etc/node.cfg.backup.
    NX> 701 Creating configuration in: /usr/NX/etc/node.cfg.
    NX> 701 Updating: nxserver version: 7.9.2.
    NX> 701 Using installation profile: Ubuntu.
    NX> 701 Update log is: /usr/NX/var/log/nxupdate.log.
    NX> 701 Saving configuration file to: /usr/NX/etc/server.cfg.backup.
    NX> 701 Creating configuration in: /usr/NX/etc/server.cfg.
    NX> 701 ERROR: Installation of NoMachine server is corrupted:
    NX> 701 ERROR: Missing /usr/NX/etc/keys/node.localhost.id_dsa ssh key file!
    NX> 701 ERROR: Please uninstall and install the package again.
    NX> 701 Bye.

    #38265
    Britgirl
    Participant

    Only you can know what architecture your system is running 🙂  A quick uname -p query will tell you whether it’s 32 or 64-bit.

    Anyway, I can see that you have not uninstalled and remove the leftovers of the previous installation. So please

    sudo dpkg -P nomachine
    
    sudo rm -rf /usr/NX /etc/NX /var/NX

    then reinstall the right package.

    #38270
    Owenc
    Participant

    Many thanks for your help with this Britgirl…..

    It’s now running, As with many people frustration with Linux, there are many options to try and achieve the same result.

    I was relying on <apt-get remove nomachine> to do the uninstall, because I had used apt-get for the install.

    But seriously, I don’t consider myself a “newbie”, so listen up NoMachine Admins, change the download page.

    Clicking on a file named AMD to install on an Intel i7 is not very intuitive.

    Best regards.

    #38292
    Britgirl
    Participant

    Linux can be annoying because there are multiple ways to achieve the same thing, there’s not one standard, you will see that in our installation instructions we use sudo dpkg. You’re the first person to complain that the label for the Linux packages “NoMachine for Linux -x86_64, amd64” communicates that it is not suitable for an Intel-based processor. However, I will pass on your remark to the web team. I’m glad that the software is now installed and up and running.

Viewing 8 posts - 1 through 8 (of 8 total)

This topic was marked as solved, you can't post.