Forum / NoMachine for Linux / Can’t connect to SLES 11 SP4 machine
- This topic has 7 replies, 3 voices, and was last updated 7 years, 10 months ago by Gega.
-
AuthorPosts
-
September 15, 2016 at 09:25 #12363maleksParticipant
Hello,
Testing NoMachine on a Suse 11 SP4 machine.
/usr/NX/bin/nxserver –version
NoMachine – Version 5.1.44Client is running Windows 7. Protocol is set to NX. (nomachine_5.1.44_1)
I see this in the /usr/NX/var/log/nxserver.log when trying to connect:
2016-09-14 23:05:12 140.956 10590 NXSERVER User ‘maleks’ logged in from ‘xxx.xxx.xxx.xxx’ using authentication method password.
2016-09-14 23:05:12 929.020 10607 NXSERVER ERROR! Failed to determine the client IP
2016-09-14 23:05:12 929.129 10607 NXSERVER ERROR! Variables NX_CONNECTION,SSH_CONNECTION,SSH_CLIENT,SSH2_CLIENT not provided.
2016-09-14 23:05:12 929.189 10607 NXSERVER ERROR! Please set SSHDCheckIP=1 if you want to refuse the connection.
2016-09-14 23:05:12 929.249 10607 NXSERVER ERROR! Failed to get remote port. Environment NX_CONNECTION,SSH_CONNECTION,SSH_CLIENT,SSH2_CLIENT not set
2016-09-14 23:05:12 929.315 10607 NXSERVER ERROR! Failed to get local IP. Remote IP is 0.
2016-09-14 23:05:12 933.803 10607 NXSERVER ERROR! Wrong process id, received pid 0.
2016-09-14 23:05:12 934.016 10607 NXSERVER WARNING! Could not get SSHD PID: Process 0 does not have expected name.
2016-09-14 23:05:12 936.417 10607 NXSERVER ERROR! Cannot save forward server pid. ‘value’ for key sshdPid cannot be null
2016-09-14 23:09:18 780.108 10607 NXSERVER WARNING! Node did not ping since 120 seconds.
2016-09-14 23:11:38 876.536 10607 NXSERVER ERROR! Node did not ping since 120 seconds. Terminating session.
2016-09-14 23:11:38 906.256 10607 NXSERVER ERROR! Sending error message ‘NX> 598 ERROR: node does not respond.’
2016-09-14 23:11:38 906.440 10607 NXSERVER ERROR! <CEF18A8C> Exception:
2016-09-14 23:11:38 906.501 10607 NXSERVER ERROR! <CEF18A8C> node does not respond at /usr/NX/lib/perl/nxserver/NXPingManager.pm line 36.\n
2016-09-14 23:11:38 921.868 7947 NXSERVER WARNING! Process ‘/usr/NX/bin/nxexec –node –user maleks –priority realtime –mode 0 –pid 21’ with pid ‘10619/10619’ finished with exit code 9 after 385,972 seconds.Another attempt:
2016-09-14 23:21:45 061.137 11163 NXSERVER User ‘maleks’ logged in from ‘xxx.xxx.xxx.xxx’ using authentication method password.
2016-09-14 23:21:45 787.554 11181 NXSERVER ERROR! Failed to determine the client IP
2016-09-14 23:21:45 787.654 11181 NXSERVER ERROR! Variables NX_CONNECTION,SSH_CONNECTION,SSH_CLIENT,SSH2_CLIENT not provided.
2016-09-14 23:21:45 787.727 11181 NXSERVER ERROR! Please set SSHDCheckIP=1 if you want to refuse the connection.
2016-09-14 23:21:45 787.795 11181 NXSERVER ERROR! Failed to get remote port. Environment NX_CONNECTION,SSH_CONNECTION,SSH_CLIENT,SSH2_CLIENT not set
2016-09-14 23:21:45 787.859 11181 NXSERVER ERROR! Failed to get local IP. Remote IP is 0.
2016-09-14 23:21:45 793.133 11181 NXSERVER ERROR! Wrong process id, received pid 0.
2016-09-14 23:21:45 793.261 11181 NXSERVER WARNING! Could not get SSHD PID: Process 0 does not have expected name.
2016-09-14 23:21:45 796.690 11181 NXSERVER ERROR! Cannot save forward server pid. ‘value’ for key sshdPid cannot be null
2016-09-14 23:22:16 703.538 11198 NXNODE WARNING! libnxh::NXConnectLocal cannot connect to localhost:12001: Connection timed out from NXSessionMonitor::__send_to_the_agent.
2016-09-14 23:27:21 952.251 11181 NXSERVER WARNING! Node did not ping since 120 seconds.September 15, 2016 at 11:22 #12365GegaParticipantHello,
In order to understand the cause of these problems we need debug logs from the server side. Please uncomment and set the ‘SessionLogLevel 7’ configuration key in the ‘/usr/NX/etc/server.cfg’ and ‘/usr/NX/etc/node.cfg’ files. Here you can find detailed info on how to gather logs: https://www.nomachine.com/DT07M00098.
Then restart server, reproduce the issue and send the collected logs to forum[at]nomachine[dot]com.
If it’s not possible to collect debug logs, than sending ‘/usr/NX/var/log/nxerror.log’ might help.
September 16, 2016 at 07:39 #12370maleksParticipantHello
Logs are sent.
Thanks.
December 2, 2016 at 08:51 #13059BritgirlKeymasterThe logs show that nxnode hangs for some reason and the and this triggers a series of events: In short, nxserver detects that nxnode finished unexpectedly and sets session status as failed, but the session is not moved to the table of failed sessions. Upon the second attempt to connect, the session is considered already running (not failed), so your request to connect is aborted.
We’ve tried to reproduce but without success. What I suggest is you update to 5.1.62 and let us know if the problem continues. We’ll then ask you for further information.
December 9, 2016 at 08:45 #13113maleksParticipantHello
I have upgraded the server (SLES11SP4) and the client (Windows 7) to 5.1.62
When connecting now I get this error:
Parameter ‘agentm_display’ has bad value: . Null or wrong parameter ‘display’.
December 9, 2016 at 09:08 #13134GegaParticipantHello
It seems as a different problem so we need new logs, could you collect logs and send them to us the same way as earlier?
December 14, 2016 at 15:27 #13187maleksParticipantHello
I have sent new logs.
Thanks
January 25, 2017 at 11:06 #13597GegaParticipantHello,
Seems like problem is related to some kind of thread/process limits, two of our components nxclient and nxagent can’t create threads because of some limits which leads to your problem. Are there any limits set by you? If yes than raising this limits and restartingNoMachine should help. If you haven’t set any limit yourself than we need to indentify which limits do we reach exactly, limits could be checked by: 1)ulimit -a 2)cat /proc/sys/kernel/threads-max. command: ps -elfT | wc -l will show number of threads running on system at that moment.
-
AuthorPosts
Closed because the user did not provide further feedback. Please notify us if you confirm that it is resolved or open a new topic if you have the same problem.