screen - problem z ponownym podpieciem.

Paweł Sikora pluto at agmk.net
Sun Jan 27 12:02:25 CET 2013


On Tuesday 22 of January 2013 14:43:14 Paweł Sikora wrote:
> witam,
> 
> ostatnio cos nie dziala mi 'screen -Urd'.
> 
> po normalnym odpieciu:
> (...)
> [detached from 17935.pts-29.hal]
> 
> ponownie przypiecie sie sypie:
> 
> $ screen -Urd
> There is a screen on:
>         17935.pts-29.hal        (Dead ???)
> Remove dead screens with 'screen -wipe'.
> There is no screen to be detached.
> 
> $ ps aux|grep -i screen
> pawels    3010  0.0  0.0 123652   936 pts/29   S<+  14:25   0:00 grep -i screen
> pawels   17935  0.0  0.0 144476  4148 ?        S<s  12:54   0:00 SCREEN -U
> 
> $ rpm -q screen
> screen-4.1.0-3.x86_64
> 
> $ ls -l ~/.screen 
> total 0
> prw------- 1 pawels users 0 Jan 22 14:24 17935.pts-29.hal


przebudowalem z debugiem i oto log:

*********************************************************

opendebug: done.
-- screen debug started screen (4.01.00devel (GNU516d8fe) 2-May-06)
POSIX
TERMIO
NAMEDPIPE
Window size changing enabled
SETREUID
USEBCOPY
UTMPOK
LOADAV
NETHACK
TERMINFO
SHADOWPW
NAME_MAX = 255
secopen(/dev/pts/5, 0x802, 0000)
attach_tty is /dev/pts/5, attach_fd is -1
SockPath: /ahome/pawels/.screen  SockMatch: NULL
screen -r: - is there anybody out there?
Attach: how=2, tty=/dev/pts/5
- ..
- 20816.pts-5.hal
stat /ahome/pawels/.screen/20816.pts-5.hal
uid = 1074, gid = 500
euid = 1074, egid = 500
S_ISFIFO?
st.st_uid = 1074, real_uid = 1074
  has mode 0600
  store it.
secopen(/ahome/pawels/.screen/20816.pts-5.hal, 0x801, 0000)
MakeClientSocket() open /ahome/pawels/.screen/20816.pts-5.hal failed (6)
  MakeClientSocket failed, unreachable? 0 0
- .
Msg('There is a screen on:') (0);
Msg('Remove dead screens with 'screen -wipe'.') (0);
Panic('There is no screen to be detached.'); display=0 displays=0
eexit

*********************************************************


More information about the pld-devel-pl mailing list