Forum / NoMachine for Linux / Connection refused 111
- This topic has 7 replies, 3 voices, and was last updated 6 years ago by Britgirl.
-
AuthorPosts
-
December 10, 2018 at 10:40 #20739gabrieleParticipant
I have a VPS with Linux ubuntu 16 and NoMachine has always worked for months. From this morning, when I connect to NoMachine gives me the error Connection Refused 111.
I’m not very experienced in Linux, but I did not make any changes except for system updates.
I send you the syslog file.
How can I solve?
December 10, 2018 at 11:03 #20741BritgirlKeymasterHi Gabriele,
we’ll use the logs file you submitted directly to us. Thanks!
December 10, 2018 at 14:35 #20742gabrieleParticipantDec 10 08:34:35 AnnaServer systemd[1]: Starting Fail2Ban Service…
Dec 10 08:34:35 AnnaServer systemd[1]: Started Unattended Upgrades Shutdown.
Dec 10 08:34:35 AnnaServer systemd[1]: Starting OpenBSD Secure Shell server…
Dec 10 08:34:35 AnnaServer systemd[1]: Started OpenBSD Secure Shell server.
Dec 10 08:34:35 AnnaServer systemd[1]: Started NoMachine Server daemon.
Dec 10 08:34:36 AnnaServer fail2ban-client[1343]: 2018-12-10 08:34:36,256 fail2ban.server [1384]: INFO Starting Fail2ban v0.9.3
Dec 10 08:34:36 AnnaServer fail2ban-client[1343]: 2018-12-10 08:34:36,259 fail2ban.server [1384]: INFO Starting in daemon mode
Dec 10 08:34:36 AnnaServer systemd[1]: Started Fail2Ban Service.
Dec 10 08:34:36 AnnaServer kernel: [ 10.366686] ip_tables: (C) 2000-2006 Netfilter Core Team
Dec 10 08:34:37 AnnaServer nxserver[1359]: NX> 595 Cannot set ownership for user nx
Dec 10 08:34:37 AnnaServer nxserver[1359]: NX> 595 Permission denied
Dec 10 08:34:37 AnnaServer nxserver[1359]: NX> 500 ERROR: Last operation failed.
Dec 10 08:34:37 AnnaServer systemd[1]: nxserver.service: Service hold-off time over, scheduling restart.
Dec 10 08:34:37 AnnaServer systemd[1]: Stopped NoMachine Server daemon.
Dec 10 08:34:37 AnnaServer systemd[1]: Started NoMachine Server daemon.
Dec 10 08:34:38 AnnaServer nxserver[1435]: NX> 595 Cannot set ownership for user nx
Dec 10 08:34:38 AnnaServer nxserver[1435]: NX> 595 Permission denied
Dec 10 08:34:38 AnnaServer nxserver[1435]: NX> 500 ERROR: Last operation failed.
Dec 10 08:34:38 AnnaServer systemd[1]: nxserver.service: Service hold-off time over, scheduling restart.
Dec 10 08:34:38 AnnaServer systemd[1]: Stopped NoMachine Server daemon.
Dec 10 08:34:38 AnnaServer systemd[1]: Started NoMachine Server daemon.
Dec 10 08:34:39 AnnaServer nxserver[1469]: NX> 595 Cannot set ownership for user nx
Dec 10 08:34:39 AnnaServer nxserver[1469]: NX> 595 Permission denied
Dec 10 08:34:39 AnnaServer nxserver[1469]: NX> 500 ERROR: Last operation failed.
Dec 10 08:34:40 AnnaServer systemd[1]: nxserver.service: Service hold-off time over, scheduling restart.
Dec 10 08:34:40 AnnaServer systemd[1]: Stopped NoMachine Server daemon.
Dec 10 08:34:40 AnnaServer systemd[1]: Started NoMachine Server daemon.
Dec 10 08:34:40 AnnaServer NetworkManager[877]: <info> [1544427280.6097] manager: startup complete
Dec 10 08:34:40 AnnaServer systemd[1]: Started Network Manager Wait Online.
Dec 10 08:34:40 AnnaServer systemd[1]: Reached target Network is Online.
Dec 10 08:34:40 AnnaServer systemd[1]: Starting /etc/rc.local Compatibility…
Dec 10 08:34:40 AnnaServer systemd[1]: Started crash report submission daemon.
Dec 10 08:34:40 AnnaServer systemd[1]: Starting iSCSI initiator daemon (iscsid)…
Dec 10 08:34:40 AnnaServer whoopsie[1525]: [08:34:40] Using lock path: /var/lock/whoopsie/lock
Dec 10 08:34:40 AnnaServer iscsid: iSCSI logger with pid=1559 started!
Dec 10 08:34:40 AnnaServer systemd[1]: iscsid.service: Failed to read PID from file /run/iscsid.pid: Invalid argument
Dec 10 08:34:40 AnnaServer iscsid: iSCSI daemon with pid=1560 started!
Dec 10 08:34:40 AnnaServer whoopsie[1525]: [08:34:40] offline
Dec 10 08:34:40 AnnaServer systemd[1]: Started iSCSI initiator daemon (iscsid).
Dec 10 08:34:40 AnnaServer systemd[1]: Starting Login to default iSCSI targets…
Dec 10 08:34:40 AnnaServer iscsiadm[1569]: iscsiadm: No records found
Dec 10 08:34:40 AnnaServer systemd[1]: Started Login to default iSCSI targets.
Dec 10 08:34:40 AnnaServer systemd[1]: Reached target Remote File Systems (Pre).
Dec 10 08:34:40 AnnaServer systemd[1]: Reached target Remote File Systems.
Dec 10 08:34:40 AnnaServer systemd[1]: Starting Permit User Sessions…
Dec 10 08:34:40 AnnaServer systemd[1]: Starting LSB: Start firebird superclassic server…
Dec 10 08:34:40 AnnaServer systemd[1]: Starting LSB: automatic crash report generation…
Dec 10 08:34:40 AnnaServer systemd[1]: Starting LSB: Set the CPU Frequency Scaling governor to “ondemand”…
Dec 10 08:34:40 AnnaServer systemd[1]: Starting LSB: Start/stop sysstat’s sadc…
Dec 10 08:34:40 AnnaServer systemd[1]: Starting LSB: daemon to balance interrupts for SMP systems…
Dec 10 08:34:40 AnnaServer systemd[1]: Started Permit User Sessions.
Dec 10 08:34:40 AnnaServer systemd[1]: Starting Light Display Manager…
Dec 10 08:34:40 AnnaServer sysstat[1578]: * Starting the system activity data collector sadc
Dec 10 08:34:40 AnnaServer systemd[1]: Started LSB: Set the CPU Frequency Scaling governor to “ondemand”.
Dec 10 08:34:40 AnnaServer apport[1576]: * Starting automatic crash report generation: apport
Dec 10 08:34:40 AnnaServer firebird2.5-superclassic[1574]: * Starting Firebird 2.5 superclassic server…
Dec 10 08:34:40 AnnaServer irqbalance[1580]: * Starting SMP IRQ Balancer: irqbalance
Dec 10 08:34:40 AnnaServer sysstat[1578]: …done.
Dec 10 08:34:40 AnnaServer systemd[1]: Started LSB: Start/stop sysstat’s sadc.
Dec 10 08:34:40 AnnaServer /usr/sbin/irqbalance: Balancing is ineffective on systems with a single cpu. Shutting down
Dec 10 08:34:40 AnnaServer irqbalance[1580]: …done.
Dec 10 08:34:40 AnnaServer systemd[1]: Started LSB: daemon to balance interrupts for SMP systems.
Dec 10 08:34:40 AnnaServer apport[1576]: …done.
Dec 10 08:34:40 AnnaServer systemd[1]: Started LSB: automatic crash report generation.
Dec 10 08:34:40 AnnaServer firebird2.5-superclassic[1574]: …done.
Dec 10 08:34:40 AnnaServer systemd[1]: Started LSB: Start firebird superclassic server.
Dec 10 08:34:40 AnnaServer systemd[1]: Started Light Display Manager.
Dec 10 08:34:41 AnnaServer nxserver[1503]: NX> 595 Cannot set ownership for user nx
Dec 10 08:34:41 AnnaServer nxserver[1503]: NX> 595 Permission denied
Dec 10 08:34:41 AnnaServer nxserver[1503]: NX> 500 ERROR: Last operation failed.December 11, 2018 at 09:03 #20745mlynContributorHello,
please send logs to: forum[at]nomachine[dot]com.
Full instructions about collecting logs: https://www.nomachine.com/DT07M00098.The most important is please send directory /usr/NX/var/log.
Call command
sudo /etc/NX/nxserver --startup
should solve this problem with permission and start NoMachine.If for some reason you still have the same error call:
in directory
/usr/NX/var/db
call:sudo ls -la running/ failed/ closed/
and provide output this command to us, and then in the same dir call:
sudo chown nx:nx running/.lock.special failed/.lock.special closed/.lock.special
December 11, 2018 at 16:10 #20753mlynContributorHello,
we just reproduced this issue. To solve it, open a terminal and make sure you are in directory
/usr/NX/var/db
. Then call:
sudo chown nx:nx unknown
December 11, 2018 at 18:25 #20760gabrieleParticipantIt works.
I’ve been a small programmer and I’ve been using NoMachine for years on my server and I’ve never had problems except this one.December 12, 2018 at 09:17 #20761gabrieleParticipantAnd assistance in case of problems is also excellent. They solved it.
December 12, 2018 at 17:26 #20789BritgirlKeymasterThere is a Trouble Report open for this particular issue. You can follow it here: https://www.nomachine.com/TR12P09040.
-
AuthorPosts
This topic was marked as closed, you can't post.