<div dir="ltr">Hi Cyrill, Pavel<div><br></div><div>Thank you for the replies.</div><div>Yes you got it right, i missed "--shell-job" option during restore.</div><div>After adding the option, during restore i further have this issues.</div><div><br></div><div><font size="4"><b>Error (files-reg.c:1024): Can't open file home/prashanth/a.out on restore: No such file or directory<br></b></font></div><div><div><font size="4"><b>Error (files-reg.c:967): Can't open file home/prashanth/a.out: No such file or directory</b></font></div><div><font size="4"><b>Error (cr-restore.c:238): Can't fixup VMA's fd</b></font></div><div><font size="4"><b>Error (cr-restore.c:1838): Restoring FAILED.</b></font></div></div><div><br></div><div><b>Note</b>: I tried resolving it using option<b> "--inherit-fd</b>", but was surprised with the response "<b>criu: unrecognized option '--inherit-fd</b>' ".</div><div>I am running my two Ubuntu-15.04-64bit nodes on VMware workstation.</div><div>CRIU version is the one available in the Ubuntu-15.04 distribution.</div><div><br></div><div>Any solutions or suggestions are appreciated.</div><div><br></div><div>Thanks & Regards,</div><div>Prashanth Chillabatte</div><div>+91-9742046818</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 29, 2015 at 3: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"><span class="">On Tue, Sep 29, 2015 at 12:31:21PM +0300, Pavel Emelyanov wrote:<br>
> On 09/29/2015 10:02 AM, Prashant Chillabatte wrote:<br>
> > Hi,<br>
> ><br>
> > I just started using CRIU utility for migration. I am trying to migrate a c program run<br>
> > from a terminal with option "--shell-job" included in the dump and restore commands.<br>
> > I have this below mentioned error on restoring the process on another node after successful dump.<br>
> ><br>
> > Error:<br>
> > *Error (tty.c:193): tty: Found slave peer index 1 without correspond master peer*<br>
><br>
> This message appears under the if (!opts.shell_job) check :) Are you sure you<br>
> used the option restore time?<br>
<br>
</span>Yes, at dump time we've grabbed slave peer and @opts.shell_job must have been<br>
passed (otherwise we would have failed on dump) but on restore with lack of<br>
this option we meet slave without master peer and report the problem, so<br>
try to run restore with --shell-job option.<br>
</blockquote></div><br></div>