Getting "The session negotiation failed. Error: Last operation failed"

Forum / NoMachine Cloud Server Products / Getting "The session negotiation failed. Error: Last operation failed"

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #14659
    ashutosh
    Participant

    I got the error when tried to connect to ubuntu amazon server from ubuntu client machine.  I downloaded the package nomachine_enterprise_server_evaluation_amd64.deb package and  nomachine_enterprise_server_evaluation_i386.deb.

    After entering all details I got error after I entered the username and there was option to create virtual desktop. When i clicked on create virtual desktop option. It throws me this error. “The session negotiation failed.Error: Last operation failed”.  When I tested the server status then I found that nxnode was disabled. When I tried to start nxnode separately it shows me no subscription error. When searched for this error found that this could be a license issue so checked license files, license files was node.lic.old and server.lic.old instead of node.lic and server.lic. I had attached the error logs files I got from NoMachine.

    I installed NoMachine free edition too on the amazon server but it shows error that ssh is disabled on the server.

     

    server log file /usr/NX/var/log/nxserver.log

    2017-05-05 10:38:18 557.618 3862 NXSERVER Starting NoMachine server 5.2.21 and services. 2017-05-05 10:49:52 043.470 4259 NXSERVER Shutting down NoMachine server and services. 2017-05-05 10:49:52 068.160 3862 NXSERVER WARNING! Process ‘/usr/NX/bin/nxd’ with pid ‘3$ 2017-05-05 10:49:52 719.400 4281 NXSERVER WARNING! Cannot open: /var/NX/nx/.ssh/authoriz$ 2017-05-05 10:49:52 719.489 4281 NXSERVER WARNING! Error is: 13, ‘Permission denied’. 2017-05-05 10:49:52 719.551 4281 NXSERVER ERROR! Cannot open file /var/NX/nx/.ssh/author$ 2017-05-05 10:49:52 754.263 4281 NXSERVER Starting NoMachine server 5.2.21 and services. 2017-05-05 10:49:52 844.833 4259 NXSERVER WARNING! Sending warning message ‘NX> 162 WARN$ 2017-05-05 10:49:52 844.990 4259 NXSERVER WARNING! Sending warning message ‘NX> 162 WARN$ 2017-05-05 10:50:27 837.618 4361 NXSERVER User ‘ubuntu’ logged in from ‘103.226.87.162’ $ 2017-05-05 10:50:35 182.569 4385 NXNODE ERROR! Cannot create directory: /home/ubuntu/.$ 2017-05-05 10:50:35 182.631 4385 NXNODE ERROR! Error is: 13, ‘Permission denied’. 2017-05-05 10:50:35 186.758 4385 NXNODE ERROR! session monitor: cleaning session files$ 2017-05-05 10:50:37 190.616 4361 NXSERVER WARNING! Connection to the AFBCD61CCF9B679B8AD$ 2017-05-05 10:50:37 521.002 4361 NXSERVER ERROR! Sending error message ‘NX> 500 ERROR: L$ 2017-05-05 10:50:37 809.830 4361 NXSERVER ERROR! Status ‘Failed’ for ‘started’ session w$ 2017-05-05 10:50:37 812.085 4361 NXSERVER User ‘ubuntu’ from ‘103.226.87.162’ logged out. 2017-05-05 10:50:48 187.538 4538 NXSERVER User ‘ubuntu’ logged in from ‘103.226.87.162’ $ 2017-05-05 11:25:52 300.111 5143 NXNODE ERROR! Cannot create directory: /home/ubuntu/.$ 2017-05-05 11:25:52 300.178 5143 NXNODE ERROR! Error is: 13, ‘Permission denied’. 2017-05-05 11:25:52 304.839 5143 NXNODE ERROR! session monitor: cleaning session files$ 2017-05-05 11:25:52 312.937 5119 NXSERVER WARNING! Connection to the 66C4AB177289A531311$ 2017-05-05 11:25:52 649.240 5119 NXSERVER ERROR! Sending error message ‘NX> 500 ERROR: L$ 2017-05-05 11:25:52 972.138 5119 NXSERVER ERROR! Status ‘Failed’ for ‘started’ session w$ 2017-05-05 11:25:52 974.084 5119 NXSERVER User ‘ubuntu’ from ‘103.226.87.162’ logged out. 2017-05-05 11:43:07 820.076 5347 NXSERVER User ‘ubuntu’ logged in from ‘103.226.87.162’ $ 2017-05-05 11:43:18 717.408 5371 NXNODE ERROR! Cannot create directory: /home/ubuntu/.$ 2017-05-05 11:43:18 717.475 5371 NXNODE ERROR! Error is: 13, ‘Permission denied’. 2017-05-05 11:43:18 721.612 5371 NXNODE ERROR! session monitor: cleaning session files$ 2017-05-05 11:43:18 847.388 4721 NXSERVER WARNING! Process ‘/usr/NX/bin/nxexec –node –$ 2017-05-05 11:43:20 728.501 5347 NXSERVER WARNING! Connection to the 5876C63D2AADBCE6CB0$ 2017-05-05 11:43:21 057.227 5347 NXSERVER ERROR! Sending error message ‘NX> 500 ERROR: L$ 2017-05-05 11:43:22 213.059 5347 NXSERVER ERROR! Status ‘Failed’ for ‘started’ session w$ 2017-05-05 11:43:22 216.122 5347 NXSERVER User ‘ubuntu’ from ‘103.226.87.162’ logged out.

    error log file

    Updated to 5.2.21 at: Fri May 05 10:38:18 2017 3862 3913 10:38:18 567.775 DaemonParser/Parser: WARNING! Creating directory ‘/var/NX/nx/.$ 3862 3914 10:38:23 326.347 ServerNetworkInfoHandler: WARNING! Obtaining network data fail$ 4259 4276 10:49:52 208.738 Encryptor/Encryptor: ERROR! Authentication failed. 4259 4276 10:49:52 208.778 Encryptor/Encryptor: ERROR! Authentication failed in context [$ Error: Authentication failed in context [A]. 4259 4276 10:49:52 208.796 Channel/Channel: WARNING! Runnable DaemonReader failed for FD#$ 4259 4276 10:49:52 208.804 Channel/Channel: WARNING! Error is 1, ‘Operation not permitted$ 4281 4308 10:49:57 521.883 ServerNetworkInfoHandler: WARNING! Obtaining network data fail$ nxexecExecNode: Info: Cant not restore saved resource limits. nxexecExecNode: Info: Cant not restore saved resource limits. nxexecExecNode: Info: Cant not restore saved resource limits. nxexecExecNode: Info: Cant not restore saved resource limits. 4721 4756 10:51:09 038.109 ServerNetworkInfoHandler: WARNING! Obtaining network data fail$ nxexecExecNode: Info: Cant not restore saved resource limits. nxexecExecNode: Info: Cant not restore saved resource limits. nxexecExecNode: Info: Cant not restore saved resource limits. nxexecExecNode: Info: Cant not restore saved resource limits. 5782 5818 12:32:20 536.606 ServerNetworkInfoHandler: WARNING! Obtaining network data fail$ nxexecExecNode: Info: Cant not restore saved resource limits. nxexecExecNode: Info: Cant not restore saved resource limits. nxexecExecNode: Info: Cant not restore saved resource limits. nxexecExecNode: Info: Cant not restore saved resource limits. nxexecExecNode: Info: Cant not restore saved resource limits. nxexecExecNode: Info: Cant not restore saved resource limits. nxexecExecNode: Info: Cant not restore saved resource limits. nxexecExecNode: Info: Cant not restore saved resource limits. nxexecExecNode: Info: Cant not restore saved resource limits. nxexecExecNode: Info: Cant not restore saved resource limits.

     

     

     

    • This topic was modified 7 years, 6 months ago by Britgirl.
    • This topic was modified 7 years, 6 months ago by Britgirl.
    • This topic was modified 7 years, 6 months ago by ashutosh.
    • This topic was modified 7 years, 4 months ago by Britgirl.
    #14687
    Britgirl
    Keymaster

    Hi, please avoid posting long excerpts of logs and use the attachment tool instead 🙂

    From what you’ve written, your installation seems broken, license files were removed and permissions changed.
    Please uninstall packages, remove /usr/NX directory and perform a clean installation.

    The NoMachine Free package doesn’t provide SSH support. SSH support is available in the NoMachine for the Enterprise range.

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

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