[CRIU] Error (tty.c:193)
Prashant Chillabatte
catchchills at gmail.com
Tue Sep 29 03:39:36 PDT 2015
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*
*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*' ".
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> 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/b473813e/attachment.html>
More information about the CRIU
mailing list