[CRIU] Problem with CRIU

Krishan Berwal krishanberwal1988 at gmail.com
Sun Apr 27 23:01:38 PDT 2014


root at 90389a99b1c3:/# sudo criu check
prctl: One needs CAP_SYS_RESOURCE capability to perform testing
Error (sk-tcp.c:66): Can't turn TCP repair mode ON: Operation not permitted
Error (tun.c:61): Can't check tun support: No such file or directory
Error (cr-check.c:262): fdinfo doesn't contain the mnt_id field


i am missing something ,,,

or its installed properly

root at 90389a99b1c3:/# criu

Usage:
  criu dump|pre-dump -t PID [<options>]
  criu restore [<options>]
  criu show (-D DIR)|(-f FILE) [<options>]
  criu check [--ms]
  criu exec -p PID <syscall-string>
  criu page-server
  criu service [<options>]
  criu dedup

Commands:
  dump           checkpoint a process/tree identified by pid
  pre-dump       pre-dump task(s) minimizing their frozen time
  restore        restore a process/tree
  show           show dump file(s) contents
  check          checks whether the kernel support is up-to-date
  exec           execute a system call by other task
  page-server    launch page server
  service        launch service
  dedup          remove duplicates in memory dump

Try -h|--help for more info


*Thanks & Regards*:
Krishan Berwal
krishanberwal1988 at gmail.com


On Mon, Apr 28, 2014 at 11:29 AM, Cyrill Gorcunov <gorcunov at gmail.com>wrote:

> On Mon, Apr 28, 2014 at 11:27:34AM +0530, Krishan Berwal wrote:
> >    I am getting such error
> >
> >    A 1.A A  root at dc:/# criu check
> >    A A A A A A  Error (tun.c:67): No proper support for tun dump/restore:
> >    File descriptor in bad state
> >
> >    2.A A  root at 90389a99b1c3:/# criu check
> >    A A A A A  prctl: One needs CAP_SYS_RESOURCE capability to perform
> testing
> >    A A A A A  Error (sk-tcp.c:66): Can't turn TCP repair mode ON:
> Operation
> >    not permitted
> >    A A A A A  Error (tun.c:61): Can't check tun support: No such file or
> >    directory
> >    A A A A A  Error (cr-check.c:262): fdinfo doesn't contain the mnt_id
> field
> >
> >    is this environment problem or something else?A  Thanks in advance.
>
> You need to run criu as "sudo criu".
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20140428/a53f62ee/attachment.html>


More information about the CRIU mailing list