[FreeNX-kNX] Login impossible: 105 /usr/bin/nxserver: line 1371: 5521 Terminated sleep $AGENT_STARTUP_TIMEOUT

chris at ccburton.com chris at ccburton.com
Wed Jul 3 10:39:02 UTC 2013


freenx-knx-bounces at kde.org wrote on 03/07/2013 11:19:56:

> Hi!
> 
> I'm using FreeNX Server since 3 years now on my terminalserver, it 
> was working 
> fine.
> 
> But since last night users are not able to log in. My own running 
session and 
> the running session of another user (running since two or three weeks 
now) is 
> still running, I can use it. Only log in new sessions is not able.
> 
> The message in the nomachine client is:
> 
> ...
> NX> 707 ssl tunneling: 1
> NX> 105 /usr/bin/nxserver: line 1371: 5521 Terminated sleep 
> $AGENT_STARTUP_TIMEOUT
> NX> 596 Session startup failed.

This just means that agent didn't start quickly enough
        ( with no reason given )


> NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set 

Another message obout the same occurance . . . . 


> SESSION_LOG_CLEAN=0 in node.conf and investigate 
"/home/username/.nx/F-C-
> serv-1017-....../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{.......}: No such file 
or 
> directory.
> mv: cannot stat `/var/lib/nxserver/db/running/sessionId{........}': No 
such 
> file or directory
> NX> 1006 Session status: closed
> NX> 1001 Bye.
> NX> 280 Exiting on signal: 15
> 
> 
> I'm searchin on google, found threads with users with the same messages, 
but 

yup

> no solutions.
> It would be great if someone can help me.


There are any number of ways to get this to happen, including
        ( bearing in mind that it was working before )

1/ The machine is heavily loaded 
        cpu maxed out
        memory swapping
        disk io slow

Check all the loadings . . . including the running NX jobs, "top" "iostat" 

        web browsers, acroread, flash, indexers, akonadi, nepomuk etc etc



2/ Something got moved / deleted / corrupted / unmounted

Check if nxagent is still there etc ( and not just the wrapper script )

You can delete running programs from the disk
         without killing the running instance

AND

the age old questions . . . . ( well 60 years ) . . . .

a/ what was the last thing you changed on the machine ???

b/ how long has the machine been running since a boot-up

ALSO

How many sessions could you get running simultaneously before this 
happened ???

> 
> Bye,
> Olaf

Quite annoying Olaf  isn't it ???


Good luck anyway !!  Let us know how you get on . . . 







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20130703/0b43e9f2/attachment.html>


More information about the FreeNX-kNX mailing list