[CRIU] crtools error checkpoint/restore error ("Unable to open pstree.img")

Pavel Emelyanov xemul at parallels.com
Mon Mar 25 16:36:10 EDT 2013


On 03/26/2013 12:29 AM, Kevin Wilson wrote:
> Hi,
> I use crtools-0.4 on x86_64 machine.
> 
> I try this:
> 
> ./crtools dump -D checkpoint -t 478
> 
> This creates this file:  checkpoint/inventory.img
> 
> 
> ./crtools restore -d  -D checkpoint -t 478
> 00.000616) Error (image.c:274): Unable to open pstree.img: No such
> file or directory

Next time, please run with increased verbosity (-v 4) with output into
log file (-o dump.log) and provide the dump.log.

> 
> Any idea what this error can be?
> 
> I am using kernel  3.9.0-rc1+, with CONFIG_CHECKPOINT_RESTORE=y
> 
> [root at localhost crtools-0.4]# ./crtools check
> (00.004829) Error (libnetlink.c:36): ERROR -2 reported by netlink (No
> such file or directory)
> (00.008118) Error (libnetlink.c:36): ERROR -2 reported by netlink (No
> such file or directory)
> (00.011671) Error (libnetlink.c:36): ERROR -2 reported by netlink (No
> such file or directory)
> (00.014632) Error (libnetlink.c:36): ERROR -2 reported by netlink (No
> such file or directory)
> (00.018063) Error (libnetlink.c:53): ERROR 2 reported by netlink
> Looks good.

Oops :( It's a but in cr-check -- error from netlink diag engine isn't
propagated upwards. You're missing *_DIAG modules. Have you configured
the kernel according to http://criu.org/Installation? If yes, then you
must load all the *_diag.ko modules.

> 
> (Notice the bottom line: Looks good!)
> 
> 
> Best,
> Kevin
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
> 




More information about the CRIU mailing list