[FreeNX-kNX] Server crashed due to nxagent missing

Henning Heinold h.heinold at tarent.de
Wed Nov 26 08:52:14 UTC 2008


On Mon, Nov 24, 2008 at 10:15:28PM +0200, Hai Zaar wrote:
> Today strange issue happened - when resuming a session, it crashed
> complaining that nxagent is missing. Here is the log:
> ===============================================================
> -- NX SERVER START: -c /usr/lib/nxserver - ORIG_COMMAND=
> -- NX SERVER START:  - ORIG_COMMAND=
> Info: Using fds #4 and #3 for communication with nxnode.
> HELLO NXSERVER - Version 3.2.0-74-SVN OS (GPL, using backend: 3.2.0)
> NX> 105 hello NXCLIENT - Version 3.2.0
> NX> 134 Accepted protocol: 3.2.0
> NX> 105 SET SHELL_MODE SHELL
> NX> 105 SET AUTH_MODE PASSWORD
> NX> 105 login
> NX> 101 User: diemacht
> NX> 102 Password:
> Info: Auth method: ssh diemacht at 127.0.0.1's password:
> NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.2.0)
> NX> 716 Slave mode started successfully.
> nxnode_reader: NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using
> backend: 3.2.0)
> nxnode_reader: NX> 716 finished
> nxnode_reader: NX> 1001 Bye.
> 
> NX> 103 Welcome to: fornovia user: diemacht
> NX> 105 listsession --user="diemacht" --status="suspended,running"
> --geometry="1280x1024x32+render" --type="unix-kde"
> NX> 127 Sessions list of user 'diemacht' for reconnect:
> 
> Display Type             Session ID                       Options
> Depth Screen         Status      Session Name
> ------- ---------------- -------------------------------- --------
> ----- -------------- ----------- ------------------------------
> 1005    unix-kde         2B1D4DF29014F06DD70AD732FF28CA68 -RD--PSA
> 24 1280x971       Suspended   Stronghold
> 
> 
> NX> 148 Server capacity: not reached for user: diemacht
> NX> 105 restoresession  --link="adsl" --backingstore="1"
> --encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1"
> --strict="0" --composite="1" --media="0" --session="Stronghold"
> --type="unix-kde" --geometry="1280x971" --client="winnt"
> --keyboard="pc102/en_US" --id="2B1D4DF29014F06DD70AD732FF28CA68"
> --resize="1"
> 
> Info: Using /etc/nxserver/nxacl to change session parameters or deny session.
> nxnode_reader: NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using
> backend: 3.2.0)
> NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.2.0)
> server_nxnode_echo: NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL,
> using backend: 3.2.0)
> nxnode_reader: NX> 1004 Error: Could not resume session. nxagent
> process could not be found.
> NX> 1004 Error: Could not resume session. nxagent process could not be found.
> nxnode_reader: /usr/lib/nx/nxnode: line 189: kill: (5768) - No such process
> /usr/lib/nx/nxnode: line 189: kill: (5768) - No such process
> NX> 105 nxnode_reader: NX 1004> kill 18893
> NX 1004> kill 18893
> nxnode_reader: NX> 1001 Bye.
> NX> 1001 Bye.
> server_nxnode_echo: NX> 1001 Bye.
> Info: Closing connection to slave with pid 18180.
> server_nxnode_echo: NX> 596 Session startup failed.
> NX> 596 Session startup failed.
> Info: Closing connection to slave with pid 19500.
> ===============================================================
> It looks like nxagent died during session resume, since just before
> logging through NX, the user connected through PuTTY and verified that
> his session is still alive.
> 
> Where does nxagent store its logs (nx log level set to 6)?
> 
> --
> Zaar

loglevel 6 is only for nxserver and it is stored normaly under
 /var/log/nxserver.log

nxagent output is only found in the

~/.nx/C- and  ~/.nx/S- dirs

for the the freenx server you have to set 

SESSION_LOG_CLEAN=0

in /ect/nxserver/node.conf

to see the files in the ~/.nx/C- dir after the session terminated.


Bye Henning




More information about the FreeNX-kNX mailing list