Failed to run ‘/usr/NX/bin/nxkeygen’. on RHEL 8.10

Forum / NoMachine for Linux / Failed to run ‘/usr/NX/bin/nxkeygen’. on RHEL 8.10

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #50246
    dahicke
    Participant

    I downloaded nomachine_8.14.2_1_i686.rpm for a RHEL 8.10 install on a HP workstation. Following the instructions I ran:

    sudo rpm -iv –replacepkgs nomachine_8.14.2_1_i686.rpm

    with the following output:

    Verifying packages...
    Preparing packages...
    /etc/NX/nxserver: line 167: /usr/NX/bin/nxserver.bin: No such file or directory
    nomachine-8.14.2-1.i686
    NX> 701 Starting updating at: Tue, 15 Oct 2024 13:27:14.
    NX> 701 Using installation profile: Red Hat.
    NX> 701 Updating log is: /usr/NX/var/log/nxupdate.log.
    NX> 701 Updating nxrunner version: 8.14.2.
    NX> 701 Updating nxplayer version: 8.14.2.
    NX> 701 Updating nxnode version: 8.14.2.
    NX> 701 Updating nxserver version: 8.14.2.
    /etc/NX/nxserver: line 167: /usr/NX/bin/nxserver.bin: No such file or directory
    NX> 701 ERROR: Cannot shutdown nxserver.
    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.

    Tried to uninstall using:  sudo rpm -e nomachine_8.14.2_1_i686.rpm

    output:

    error: package nomachine_8.14.2_1_i686.rpm is not installed

    Then tried run install again: sudo rpm -i nomachine_8.14.2_1_i686.rpm

    output:

    package nomachine-8.14.2-1.i686 is already installed

    reinstall didn’t work, either. Tried the tar.gz package install that worked just same as the rpm.
    I found recommendation to run:  ‘sudo rpm -e nomachine_8.14.2_1_i686.rpm’ and ‘sudo rm -rf /usr/NX /etc/NX’

    The erase did nothing, as rpm was confused on the state. Running: ‘rpm -qa | grep nomachine”

    output:

    nomachine-8.14.2-1.i686

    I was able to clean up rpm with dnf using:  ‘sudo dnf remove nomachine-8.14.2-1.i686’
    Then tried dnf install:  ‘sudo dnf install nomachine_8.14.2_1_i686.rpm’

    output:

    
    Updating Subscription Management repositories.
    Last metadata expiration check: 2:34:23 ago on Tue 15 Oct 2024 12:47:16 PM MDT.
    Dependencies resolved.
    ==================================================================================================================================================================================================================================================
    
    Package                                                    Architecture                                          Version                                                     Repository                                                     Size
    
    ==================================================================================================================================================================================================================================================
    
    Installing:
    
    nomachine                                                  i686                                                  8.14.2-1                                                    @commandline                                                   52 M
    
     
    
    Transaction Summary
    
    ==================================================================================================================================================================================================================================================
    
    Install  1 Package
    
    Total size: 52 M
    Installed size: 54 M
    Is this ok [y/N]: y
    Downloading Packages:
    Running transaction check
    Transaction check succeeded.
    Running transaction test
    Transaction test succeeded.
    Running transaction
    Preparing        :
    Running scriptlet: nomachine-8.14.2-1.i686
    Installing       : nomachine-8.14.2-1.i686
    Running scriptlet: nomachine-8.14.2-1.i686
    NX> 700 Starting installation at: Tue, 15 Oct 2024 15:21:50.
    NX> 700 Using installation profile: Red Hat.
    NX> 700 Installation log is: /usr/NX/var/log/nxinstall.log.
    NX> 700 Installing nxrunner version: 8.14.2.
    NX> 700 Installing nxplayer version: 8.14.2.
    NX> 700 Installing nxnode version: 8.14.2.
    NX> 700 Installing nxserver version: 8.14.2.
    NX> 700 ERROR: Cannot validate 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 Cannot set egl capture..
    NX> 700 Server install completed with warnings.
    NX> 700 Please review the install log for details.
    NX> 700 Installation completed with errors at: Tue, 15 Oct 2024 15:22:11.
    NX> 700 NoMachine was configured to run the following services:
    NX> 700 NX service on port: 4000
    Verifying        : nomachine-8.14.2-1.i686
    Installed  products updated.
    Installed:nomachine-8.14.2-1.i686
    Complete!

    Still getting the same errors. Checking /var/NX/nx/.ssh  reveals:

    drwx------. 3 nx   root  92 Oct 15 13:15 ./
    
    drwxr-xr-x. 3 root root  16 Oct 15 13:15 ../
    
    -rwxr-xr-x. 1 nx   root  24 Oct 15 15:22 .bash_logout*
    
    -rwxr-xr-x. 1 nx   root 191 Oct 15 15:22 .bash_profile*
    
    -rwxr-xr-x. 1 nx   root 124 Oct 15 15:22 .bashrc*
    
    -rwxr-xr-x. 1 nx   root   0 Oct 15 15:22 .hushlogin*
    
    drwx------. 2 nx   root  58 Oct 15 15:22 .ssh/

    The files that trying to be read are not there.
    Is there some missing dependencies or do these files need to be created manually?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic. Please login .