logo       

Re: screen refusing to reattach: msg#00027

gnu.screen.user

Subject: Re: screen refusing to reattach

On Apr 15, 05 11:46:00 +0200, Joakim Ahlén wrote:
> > > * Run screen -d -r, which hangs. Leave it hanging.
> > > * Start up another SSH session, and su to root
> > > * Find the PID of the SCREEN-process (with capitals), and
> > run "strace
> > > -p [pid of SCREEN] 2>/dev/null"
> >
> > what would strace print when not redirecting to /dev/null?
> > I could imagine it hangs in a write() or read(), right?
> >
>
> No, the strace doesn't hang. Directly when starting strace, the hanged
> "screen -d -r" gets unlocked and works fine. This makes strace print what
> usually is printed if you strace a normal screen-process. Lots of system
> calls.

Okay. So I am perhaps on the wrong track.
Please show us how the strace output starts, when it happens again.

cheers,
Jw.

--
o \ Juergen Weigert unix-software __/ _=======.=======_
<V> | jw-n+aIp8eCc/CzQB+pC5nmwQ@xxxxxxxxxxxxxxxx creator __/
_---|____________\/
\ | 0179/2069677 __/ (____/ /\
(/) | ____________________________/ _/ \_ vim:set sw=2 wm=8


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise