[CRIU] CRIU LXC error

Urgen Sherpa urgen.sherpa at nepallink.net
Mon Feb 10 23:43:28 PST 2014


heres the output,
root at ktmnp:/home/nplink# lsof -p 2298
COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF    NODE NAME
init    2298 root  cwd    DIR  252,0     4096  933550 /
init    2298 root  rtd    DIR  252,0     4096  933550 /
init    2298 root  txt    REG  252,0   257608 1185140 /sbin/init
init    2298 root  mem    REG  252,0          1184815 /lib/x86_64-linux-gnu/
libnss_files-2.17.so (path inode=1704158)
init    2298 root  mem    REG  252,0          1184817 /lib/x86_64-linux-gnu/
libnss_nis-2.17.so (path inode=1704162)
init    2298 root  mem    REG  252,0          1184812 /lib/x86_64-linux-gnu/
libnsl-2.17.so (path inode=1704152)
init    2298 root  mem    REG  252,0          1184813 /lib/x86_64-linux-gnu/
libnss_compat-2.17.so (path inode=1704154)
init    2298 root  mem    REG  252,0          1184831 /lib/x86_64-linux-gnu/
libpthread-2.17.so (path inode=1704189)
init    2298 root  mem    REG  252,0          1184784 /lib/x86_64-linux-gnu/
libc-2.17.so (path inode=1704101)
init    2298 root  mem    REG  252,0          1184834 /lib/x86_64-linux-gnu/
librt-2.17.so (path inode=1704195)
init    2298 root  mem    REG  252,0          1184800
/lib/x86_64-linux-gnu/libjson-c.so.2.0.1 (path inode=1704131)
init    2298 root  mem    REG  252,0          1184790
/lib/x86_64-linux-gnu/libdbus-1.so.3.7.4 (path inode=1704113)
init    2298 root  mem    REG  252,0          1184810
/lib/x86_64-linux-gnu/libnih-dbus.so.1.0.0 (path inode=1704149)
init    2298 root  mem    REG  252,0          1184811
/lib/x86_64-linux-gnu/libnih.so.1.0.0 (path inode=1704151)
init    2298 root  mem    REG  252,0          1184774 /lib/x86_64-linux-gnu/
ld-2.17.so (path inode=1704081)
init    2298 root    0u   CHR    1,3      0t0  933624 /dev/null
init    2298 root    1u   CHR    1,3      0t0  933624 /dev/null
init    2298 root    2u   CHR    1,3      0t0  933624 /dev/null
init    2298 root    3r  FIFO    0,8      0t0   14691 pipe
init    2298 root    4w  FIFO    0,8      0t0   14691 pipe
init    2298 root    5r  0000    0,9        0    5825 anon_inode
init    2298 root    6r  0000    0,9        0    5825 anon_inode
init    2298 root    7u  sock    0,7      0t0   14694 can't identify
protocol
init    2298 root   10u  sock    0,7      0t0   15084 can't identify
protocol
init    2298 root   11u  sock    0,7      0t0   15095 can't identify
protocol
init    2298 root   12u  sock    0,7      0t0   15208 can't identify
protocol
init    2298 root   13u   CHR    5,2      0t0       2 /dev/ptmx
init    2298 root   14u   CHR    5,2      0t0       2 /dev/ptmx
init    2298 root   15u   CHR    5,2      0t0       2 /dev/ptmx
init    2298 root   16u   CHR    5,2      0t0       2 /dev/ptmx




On Tue, Feb 11, 2014 at 1:22 PM, Andrew Vagin <avagin at parallels.com> wrote:

> Hi Urgen,
>
> On Tue, Feb 11, 2014 at 11:42:51AM +0545, Urgen Sherpa wrote:
> >
> > root at ktmnp:/home/nplink/criu-1.1# ./criu dump -D /dumps/ -o dump.log -t
> 2298
> > --tcp-established --file-locks --ext-unix-sk -L
> /home/nplink/criu-1.1/test/
> > mounts/ext
> > root at ktmnp:/home/nplink/criu-1.1# cat /dumps/dump.log
> > Error (parasite-syscall.c:387): si_code=4 si_pid=2538 si_status=5
> > Error (parasite-syscall.c:387): si_code=4 si_pid=2545 si_status=5
> > Error (parasite-syscall.c:387): si_code=4 si_pid=2546 si_status=5
> > Error (tty.c:203): tty: Can't obtain ptmx index: Inappropriate ioctl for
> device
> > Error (cr-dump.c:1493): Dump files (pid: 2700) failed with -1
> > Error (cr-dump.c:1828): Dumping FAILED.
> > root at ktmnp:/home/nplink/criu-1.1#
> >
> > Note: I have put lxc.console=none , lxc.tty=0 in container config
> > thanks!
>
> Could you show lsof -p 2298?
>
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140211/a22b81c9/attachment.html>


More information about the CRIU mailing list