[CRIU] Error (tty.c:193)
Prashant Chillabatte
catchchills at gmail.com
Tue Sep 29 06:17:30 PDT 2015
Yes Pavel,
I dont have file *home/prashanth/a.ou*t on restoring node, it is present in
dumping node.
And yes i tried with arguments for "--inherit-fd".
Argument was 'fd[%d]:<%s old path>' %d><new path>
'fd[3]:/home/prashanth/a.out' 3>/home/prashanth1/a.out
Thanks & Regards
Prashanth Chillabatte
On Tue, Sep 29, 2015 at 6:37 PM, Pavel Emelyanov <xemul at parallels.com>
wrote:
> 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.
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20150929/0b66d834/attachment.html>
More information about the CRIU
mailing list