[CRIU] Error (tty.c:193)

Pavel Emelyanov xemul at parallels.com
Tue Sep 29 06:07:39 PDT 2015


On 09/29/2015 01:39 PM, Prashant Chillabatte wrote:
> Hi Cyrill, Pavel
> 
> Thank you for the replies.
> Yes you got it right, i missed "--shell-job" option during restore.
> After adding the option, during restore i further have this issues.
> 
> *Error (files-reg.c:1024): Can't open file home/prashanth/a.out on restore: No such file or directory

You don't have file home/prashanth/a.out on the node where you restore 
your images.

> *Error (files-reg.c:967): Can't open file home/prashanth/a.out: No such file or directory*
> *Error (cr-restore.c:238): Can't fixup VMA's fd*
> *Error (cr-restore.c:1838): Restoring FAILED.*
> 
> *Note*: I tried resolving it using option*"--inherit-fd*", but was surprised
> with the response "*criu: unrecognized option '--inherit-fd*' ".

This option accepts an argument.

> I am running my two Ubuntu-15.04-64bit nodes on VMware workstation.
> CRIU version is the one available in the Ubuntu-15.04 distribution.
> 
> Any solutions or suggestions are appreciated.
> 
> Thanks & Regards,
> Prashanth Chillabatte
> +91-9742046818
> 
> On Tue, Sep 29, 2015 at 3:10 PM, Cyrill Gorcunov <gorcunov at gmail.com <mailto:gorcunov at gmail.com>> wrote:
> 
>     On Tue, Sep 29, 2015 at 12:31:21PM +0300, Pavel Emelyanov wrote:
>     > On 09/29/2015 10:02 AM, Prashant Chillabatte wrote:
>     > > Hi,
>     > >
>     > > I just started using CRIU utility for migration. I am trying to migrate a c program run
>     > > from a terminal with option "--shell-job" included in the dump and restore commands.
>     > > I have this below mentioned error on restoring the process on another node after successful dump.
>     > >
>     > > Error:
>     > > *Error (tty.c:193): tty: Found slave peer index 1 without correspond master peer*
>     >
>     > This message appears under the if (!opts.shell_job) check :) Are you sure you
>     > used the option restore time?
> 
>     Yes, at dump time we've grabbed slave peer and @opts.shell_job must have been
>     passed (otherwise we would have failed on dump) but on restore with lack of
>     this option we meet slave without master peer and report the problem, so
>     try to run restore with --shell-job option.
> 
> 



More information about the CRIU mailing list