<div dir="ltr"><div>heres the output,<br>root@ktmnp:/home/nplink# lsof -p 2298<br>COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME<br>init 2298 root cwd DIR 252,0 4096 933550 /<br>init 2298 root rtd DIR 252,0 4096 933550 /<br>
init 2298 root txt REG 252,0 257608 1185140 /sbin/init<br>init 2298 root mem REG 252,0 1184815 /lib/x86_64-linux-gnu/<a href="http://libnss_files-2.17.so">libnss_files-2.17.so</a> (path inode=1704158)<br>
init 2298 root mem REG 252,0 1184817 /lib/x86_64-linux-gnu/<a href="http://libnss_nis-2.17.so">libnss_nis-2.17.so</a> (path inode=1704162)<br>init 2298 root mem REG 252,0 1184812 /lib/x86_64-linux-gnu/<a href="http://libnsl-2.17.so">libnsl-2.17.so</a> (path inode=1704152)<br>
init 2298 root mem REG 252,0 1184813 /lib/x86_64-linux-gnu/<a href="http://libnss_compat-2.17.so">libnss_compat-2.17.so</a> (path inode=1704154)<br>init 2298 root mem REG 252,0 1184831 /lib/x86_64-linux-gnu/<a href="http://libpthread-2.17.so">libpthread-2.17.so</a> (path inode=1704189)<br>
init 2298 root mem REG 252,0 1184784 /lib/x86_64-linux-gnu/<a href="http://libc-2.17.so">libc-2.17.so</a> (path inode=1704101)<br>init 2298 root mem REG 252,0 1184834 /lib/x86_64-linux-gnu/<a href="http://librt-2.17.so">librt-2.17.so</a> (path inode=1704195)<br>
init 2298 root mem REG 252,0 1184800 /lib/x86_64-linux-gnu/libjson-c.so.2.0.1 (path inode=1704131)<br>init 2298 root mem REG 252,0 1184790 /lib/x86_64-linux-gnu/libdbus-1.so.3.7.4 (path inode=1704113)<br>
init 2298 root mem REG 252,0 1184810 /lib/x86_64-linux-gnu/libnih-dbus.so.1.0.0 (path inode=1704149)<br>init 2298 root mem REG 252,0 1184811 /lib/x86_64-linux-gnu/libnih.so.1.0.0 (path inode=1704151)<br>
init 2298 root mem REG 252,0 1184774 /lib/x86_64-linux-gnu/<a href="http://ld-2.17.so">ld-2.17.so</a> (path inode=1704081)<br>init 2298 root 0u CHR 1,3 0t0 933624 /dev/null<br>init 2298 root 1u CHR 1,3 0t0 933624 /dev/null<br>
init 2298 root 2u CHR 1,3 0t0 933624 /dev/null<br>init 2298 root 3r FIFO 0,8 0t0 14691 pipe<br>init 2298 root 4w FIFO 0,8 0t0 14691 pipe<br>init 2298 root 5r 0000 0,9 0 5825 anon_inode<br>
init 2298 root 6r 0000 0,9 0 5825 anon_inode<br>init 2298 root 7u sock 0,7 0t0 14694 can't identify protocol<br>init 2298 root 10u sock 0,7 0t0 15084 can't identify protocol<br>
init 2298 root 11u sock 0,7 0t0 15095 can't identify protocol<br>init 2298 root 12u sock 0,7 0t0 15208 can't identify protocol<br>init 2298 root 13u CHR 5,2 0t0 2 /dev/ptmx<br>
init 2298 root 14u CHR 5,2 0t0 2 /dev/ptmx<br>init 2298 root 15u CHR 5,2 0t0 2 /dev/ptmx<br>init 2298 root 16u CHR 5,2 0t0 2 /dev/ptmx<br><br></div><br></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 11, 2014 at 1:22 PM, Andrew Vagin <span dir="ltr"><<a href="mailto:avagin@parallels.com" target="_blank">avagin@parallels.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Urgen,<br>
<div><div class="h5"><br>
On Tue, Feb 11, 2014 at 11:42:51AM +0545, Urgen Sherpa wrote:<br>
><br>
> root@ktmnp:/home/nplink/criu-1.1# ./criu dump -D /dumps/ -o dump.log -t 2298<br>
> --tcp-established --file-locks --ext-unix-sk -L /home/nplink/criu-1.1/test/<br>
> mounts/ext<br>
> root@ktmnp:/home/nplink/criu-1.1# cat /dumps/dump.log<br>
> Error (parasite-syscall.c:387): si_code=4 si_pid=2538 si_status=5<br>
> Error (parasite-syscall.c:387): si_code=4 si_pid=2545 si_status=5<br>
> Error (parasite-syscall.c:387): si_code=4 si_pid=2546 si_status=5<br>
> Error (tty.c:203): tty: Can't obtain ptmx index: Inappropriate ioctl for device<br>
> Error (cr-dump.c:1493): Dump files (pid: 2700) failed with -1<br>
> Error (cr-dump.c:1828): Dumping FAILED.<br>
> root@ktmnp:/home/nplink/criu-1.1#<br>
><br>
> Note: I have put lxc.console=none , lxc.tty=0 in container config<br>
> thanks!<br>
<br>
</div></div>Could you show lsof -p 2298?<br>
<br>
><br>
</blockquote></div><br></div>