[CRIU] criu "Can't stat piggie"

Pavel Emelyanov xemul at parallels.com
Sat May 4 06:04:35 EDT 2013


On 05/04/2013 01:59 PM, Валентин Росавицкий wrote:
> Hello,
> just compiled criu and can't run, getting error
> 
> # ./criu dump -D checkpoint -t 534
> (00.000119) Error (kerndat.c:37): Can't stat piggie: No such file or 
> directory

You're probably using misconfigured kernel (in particular the
CONFIG_CHECKPOINT_RESTORE option is the first suspect). What does

# crtools check --ms

say?

> (00.000172) Error (cr-dump.c:1640): Dumping FAILED.
> 
> Fresh installion, source code from git.criu.org
> 
> ALT Linux Sisyphus x86_64
> Linux ua132 2.6.32-ovz-el-alt84 #1 SMP Wed Mar 13 03:07:59 UTC 2013 
> x86_64 GNU/Linux
> 
> In kerndat.c - sprintf(maps, "/proc/self/map_files/%lx-%lx",
> /proc/self/map_files/%lx-%lx - is this right?

Yes. Why do you think it can be not?

> Command running from HN

Thanks,
Pavel

> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
> 




More information about the CRIU mailing list