[FreeNX-kNX] NX load balancing fails on certain nodes

Simon Gao gao at schrodinger.com
Tue Apr 22 21:21:52 UTC 2008


Hi,

I am trying to set up NX load balancing on a FreenNX gateway machine. It 
seems working fine except when routing to some nodes failed with errors 
like:


NX> 1000 NXNODE - Version 2.1.0-72-SVN OS (GPL)
NX> 700 Session id: 
nxserver1.example.com-1000-13C3FD265620B8D80CA7FFF1EC6F3856
NX> 705 Session display: 1000
NX> 703 Session type: unix-kde
NX> 701 Proxy cookie: 58a7d86a5845fa299585d1bf219f9154
NX> 702 Proxy IP: 192.168.0.1
NX> 706 Agent cookie: 58a7d86a5845fa299585d1bf219f9154
NX> 704 Session cache: unix-kde
NX> 707 SSL tunneling: 1
/usr/bin/nxserver: line 1368: 30561 Terminated              sleep 
$AGENT_STARTUP_TIMEOUT
NX> 105 NX> 596 Session startup failed.
NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set 
SESSION_LOG_CLEAN=0 in node.conf and investigate 
"/home/gao/.nx/F-C-nxserver1.example.com-1000-13C3FD265620B8D80CA7FFF1EC6F3856/session". 
You might also want to try: ssh -X myserver; /usr/bin/nxnode --agent to 
test the basic functionality. Session log follows:
Can't open 
/var/lib/nxserver/db/running/sessionId{13C3FD265620B8D80CA7FFF1EC6F3856}: 
No such file or directory.
mv: cannot stat 
`/var/lib/nxserver/db/running/sessionId{13C3FD265620B8D80CA7FFF1EC6F3856}': 
No such file or directory
NX> 1006 Session status: closed
NX> 280 Exiting on signal: 15

The gateway machine runs nx-3.1.0-r1, nxserver-freenx-0.7.2-r2 with 
Gentoo. On the destination server, freenx-0.7.1.svn416-3.el5.centos, 
nx-3.0.0-4.el5.centos.

Also there are errors about /tmp/.X11-unix/X1000 permission. Is 
/tmp/.X11-unix locally on the gateway or the destination NX server machine?

Anyone see similar problem?

Simon





More information about the FreeNX-kNX mailing list