ARM package installs with error /usr/NX/bin/nxserver.bin: No such file or directory

Forums / NoMachine for ARM / ARM package installs with error /usr/NX/bin/nxserver.bin: No such file or directory

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #38380
    chchang
    Participant

    I download nomachine_7.9.2_1_armv7hl.tar.gz and unarchive it, then move NX to /usr/

    and running

    sudo /usr/NX/nxserver –install

    here is the console messages

    chchang@phicomm-n1:~/Downloads$ sudo /usr/NX/nxserver –install
    NX> 700 Starting install at: Fri Apr 22 11:47:56 2022.
    NX> 700 Installing: nxclient version: 7.9.2.
    NX> 700 Using installation profile: Ubuntu.
    NX> 700 Install log is: /usr/NX/var/log/nxinstall.log.
    NX> 700 Compiling the USB module.
    NX> 700 Installing: nxplayer version: 7.9.2.
    NX> 700 Using installation profile: Ubuntu.
    NX> 700 Install log is: /usr/NX/var/log/nxinstall.log.
    NX> 700 To connect the remote printer to the local desktop,
    NX> 700 the user account must be a member of the CUPS System Group: lpadmin.
    NX> 700 Installing: nxnode version: 7.9.2.
    NX> 700 Using installation profile: Ubuntu.
    NX> 700 Install log is: /usr/NX/var/log/nxinstall.log.
    NX> 700 Creating configuration in: /usr/NX/etc/node.cfg.
    NX> 700 ERROR: Cannot validate license file.
    NX> 700 Node install completed with warnings.
    NX> 700 Please review the install log for details.
    NX> 700 Installing: nxserver version: 7.9.2.
    NX> 700 Using installation profile: Ubuntu.
    NX> 700 Install log is: /usr/NX/var/log/nxinstall.log.
    NX> 700 Creating configuration in: /usr/NX/etc/server.cfg.
    NX> 700 ERROR: Cannot validate license file.
    NX> 700 Cannot validate node license file.
    NX> 700 Cannot add installation data to database.
    NX> 700 Failed to run ‘/usr/NX/bin/nxkeygen’.
    /usr/bin/sed: can’t read /var/NX/nx/.ssh/authorized_keys: No such file or directory
    /usr/bin/sed: can’t read /var/NX/nx/.ssh/authorized_keys: No such file or directory
    /usr/bin/sed: can’t read /var/NX/nx/.ssh/authorized_keys2: No such file or directory
    /usr/bin/sed: can’t read /var/NX/nx/.ssh/authorized_keys2: No such file or directory
    NX> 700 Server install completed with warnings.
    NX> 700 Please review the install log for details.
    NX> 700 Install completed with errors at: Fri Apr 22 11:49:08 2022.
    NX> 700 NoMachine was configured to run the following services:
    NX> 700 NX service on port: 4000

    but it doesn’t work on port 4000

    chchang@phicomm-n1:~/Downloads$ sudo netstat -antlp|grep 4000
    chchang@phicomm-n1:~/Downloads$

    and there are some error log in /var/log/syslog

    Apr 22 11:49:09 localhost nxserver[67201]: /etc/NX/nxserver: line 156: /usr/NX/bin/nxserver.bin: No such file or directory
    Apr 22 11:49:09 localhost systemd[1]: nxserver.service: Succeeded.
    Apr 22 11:49:09 localhost systemd[1]: nxserver.service: Scheduled restart job, restart counter is at 5.
    Apr 22 11:49:09 localhost systemd[1]: Stopped NoMachine Server daemon.
    Apr 22 11:49:09 localhost systemd[1]: nxserver.service: Start request repeated too quickly.
    Apr 22 11:49:09 localhost systemd[1]: nxserver.service: Failed with result ‘start-limit-hit’.
    Apr 22 11:49:09 localhost systemd[1]: Failed to start NoMachine Server daemon.

    but /usr/NX/bin/nxserver.bin is just there.

    chchang@phicomm-n1:~/Downloads$ ls -lart /usr/NX/bin/nxserver.bin
    -rwxr-xr-x 1 root root 77592 Mar 19 09:30 /usr/NX/bin/nxserver.bin
    chchang@phicomm-n1:~/Downloads$

    any suggestions to fix the problem ?

     

     

     

    #38384
    Britgirl
    Keymaster

    This looks like you might have installed the wrong package for your device.

    For Raspberry see the installation notes that we link from the download page here:  https://knowledgebase.nomachine.com/AR07N00896. For other ARM devices see here: https://knowledgebase.nomachine.com/AR03M00842

    The package you select depends on the architecture of your device. To check this, open a terminal on your device and run the uname -m command. Some examples:

    armv6l – means that you should useARMv6 packages
    armv7l – means that you should use ARMv7 packages
    aarch64 – means that you should use ARMv8 packages

    So in your case I would:

    1) uninstall with

    sudo /usr/NX/scripts/setup/nxserver --uninstall
    sudo rm -rf /usr/NX/ /etc/NX/ /var/NX .nx

    2) Check architecture using:
    uname -m

    3) Download and install the correct package.

    #38390
    chchang
    Participant

    Thanks for your help, after downloading the correct package, it works now!

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

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