<div dir="ltr"><div>Dear sir/mam,<br><br></div>i am showing what is actual output after follow the procedure:<br><br>root@3451eead64b2:~/kk# setsid ./abc.sh < /dev/null &> abc.log &<br>[2] 119<br>root@3451eead64b2:~/kk# ps -C abc.sh<br>
PID TTY TIME CMD<br> 42 pts/0 00:00:00 abc.sh<br>[2]- Done setsid ./abc.sh < /dev/null &>abc.log<br>root@3451eead64b2:~/kk# criu dump -vvvv -o dump.log -t 42 --shell-job && echo OK<br>
root@3451eead64b2:~/kk# criu restore -vvvv -o restore.log -t 42 --shell-job<br>root@3451eead64b2:~/kk# ls<br>abc.log abc.sh dump.log restore.log<br>root@3451eead64b2:~/kk# cat dump.log <br>(00.000090) ========================================<br>
(00.000150) Dumping processes (pid: 42)<br>(00.000157) ========================================<br>(00.000312) Error (kerndat.c:45): Can't stat self map_files: Operation not permitted<br>(00.000342) Unlock network<br>
(00.000355) Unfreezing tasks into 1<br>(00.000376) Error (cr-dump.c:1870): Dumping FAILED.<br>root@3451eead64b2:~/kk# cat restore.log <br>(00.000092) Warn (crtools.c:418): Using -t with criu restore is obsoleted<br>(00.000188) Error (image.c:202): Unable to open inventory.img: No such file or directory<br>
root@3451eead64b2:~/kk# <br> <br></div><div class="gmail_extra"><br clear="all"><div><b>Thanks & Regards</b>:<div>Krishan Berwal</div><div><a href="mailto:krishanberwal1988@gmail.com" target="_blank">krishanberwal1988@gmail.com</a></div>
</div>
<br><br><div class="gmail_quote">On Mon, Apr 28, 2014 at 12:10 PM, Cyrill Gorcunov <span dir="ltr"><<a href="mailto:gorcunov@gmail.com" target="_blank">gorcunov@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On Mon, Apr 28, 2014 at 11:48:20AM +0530, Krishan Berwal wrote:<br>
> Dear sir/Mam<br>
><br>
> i am using 3.11.0-20<br>
> root@dc:/lx# uname -a<br>
> Linux dc 3.11.0-20-generic #34-Ubuntu SMP Tue Apr 1 20:40:25 UTC 2014<br>
> x86_64 x86_64 x86_64 GNU/Linux<br>
<br>
</div>ok, it's fresh enough<br>
<div class=""><br>
><br>
> any clue on this.<br>
> when i fire the command<br>
><br>
> criu dump -vvvv -o dump.log -t 2621 --shell-job && echo OK<br>
> even i am not getting the OK message as output.<br>
><br>
> i am getting only two files : dump.log test.log with test.sh<br>
><br>
> any suggestion please ?<br>
<br>
</div>show your dump.log<br>
</blockquote></div><br></div>