[CRIU] Unable to send/recv msg to/from CRIU: Connection reset by peer

Ruslan Kuprieiev kupruser at gmail.com
Wed Dec 10 09:11:32 PST 2014


On 12/10/2014 06:26 PM, Paschalis Mpeis wrote:
>
> I already sent this info, just right after my initial email.
> It is not shown in mailing list, so I re-attach:
>
> *cat wdir/s/cs.sk <http://cs.sk>:*
>
>     cat: wdir/s/cs.sk <http://cs.sk>: No such device or address
>
>
> *cat wdir/s/service.log:*
>
>     (00.000037) The service socket is bound to cs.sk <http://cs.sk>
>     (00.000187) Waiting for connection...
>     (00.058685) Connected.
>     (00.058745) Waiting for connection...
>     (00.058934) Restrict C/R with 0:0 uid:gid
>     (00.061206) Restrict C/R with 0:0 uid:gid
>     (00.064244) Worker(pid 6370) exited with 0

Hm ,looks like libcriu didn't even try to connect to criu on restore.

Did you "make install"? Could you show us what "which criu" shows?

Thanks.

>
>
>
> ​Cheers,
> Paschalis​
>
>
> On Wed Dec 10 2014 at 4:22:08 PM Ruslan Kuprieiev <kupruser at gmail.com
> <mailto:kupruser at gmail.com>> wrote:
>
>     Hi, Paschalis!
>
>     Could you also show us test/libcriu/s/service.log please?
>
>     Thanks.
>
>     On 12/10/2014 06:13 PM, Paschalis Mpeis wrote:
>      > There is no restore.log in wdir/i/<app-name/1 directory.
>      > And it is specified on the code using:
>      > `criu_set_log_file("restore.__log");`
>      >
>      > Also, is there an explanation of the directories created by criu?
>      > I can tell some things by the files, but I would feel more confident
>      > reading these from a documentation.
>      >
>      > Cheers,
>      > Paschalis
>      >
>      >
>      >
>      > On Wed Dec 10 2014 at 3:55:49 PM Pavel Emelyanov
>     <xemul at parallels.com <mailto:xemul at parallels.com>
>      > <mailto:xemul at parallels.com <mailto:xemul at parallels.com>>> wrote:
>      >
>      >     On 12/10/2014 04:02 PM, Paschalis Mpeis wrote:
>      >      > Hi all,
>      >      >
>      >      > I 've been struggling with this problem for some time.
>      >      >
>      >      >
>      >      > *This is what I get when I execute the test_iters.c test
>     (located
>      >     in tests/libcriu) with sudo:*
>      >      >
>      >      >     --- Start loop ---
>      >      >        `- loop: initializing
>      >      >     --- Dump loop ---
>      >      >        `- 1 iter over
>      >      >        `- Dump succeeded
>      >      >     --- Restore loop ---
>      >      >     Can't read response: Connection reset by peer
>      >      >     Can't receive response: Connection reset by peer
>      >      >     Unable to send/recv msg to/from CRIU: Connection reset
>     by peer
>      >      >     test_iters: FAIL
>      >      >     == Stopping service
>      >      >     FAIL
>      >      >
>      >      >
>      >      > *Here is the wdir/i/<app-name/dump.log:*
>      >
>      >     But what fails is the restore. Can you show the restore.log file
>      >     contents?
>      >
>      >     Thanks,
>      >     Pavel
>      >
>      >
>      >
>      > The University of Edinburgh is a charitable body, registered in
>      > Scotland, with registration number SC005336.
>      >
>      >
>      >
>      > _________________________________________________
>      > CRIU mailing list
>      > CRIU at openvz.org <mailto:CRIU at openvz.org>
>      > https://lists.openvz.org/__mailman/listinfo/criu
>     <https://lists.openvz.org/mailman/listinfo/criu>
>      >
>
>
>
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>



More information about the CRIU mailing list