[lxc-users] lxc-checkpoint: command not found

Thouraya TH thouraya87 at gmail.com
Mon Dec 22 20:21:31 UTC 2014


* root at localhost:/home# add-apt-repository ppa:ubuntu-lxc/daily*
(without sudo it works well)
 Those are daily builds of the master branch of git://github.com/lxc/lxc
for all supported versions of Ubuntu.

Required or recommended dependencies are also backported from current
Ubuntu and included in this PPA to provide an identical LXC experience on
all supported Ubuntu releases.
 More info: https://launchpad.net/~ubuntu-lxc/+archive/ubuntu/daily
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmp0_ft7rar/secring.gpg' created
gpg: keyring `/tmp/tmp0_ft7rar/pubring.gpg' created
gpg: requesting key 7635B973 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp0_ft7rar/trustdb.gpg: trustdb created
gpg: key 7635B973: public key "Launchpad PPA for Ubuntu LXC team" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK

*Terminal 1:*
Container is running.

*Terminal 2: *
*root at localhost:/home# lxc-info -n u3*
Name:           u3
State:          RUNNING
PID:            9361
IP:             10.0.3.10
CPU use:        1.92 seconds
BlkIO use:      0 bytes
Memory use:     8.11 MiB
Link:           vethFN496X
 TX bytes:      3.50 KiB
 RX bytes:      2.25 KiB
 Total bytes:   5.75 KiB

root at localhost:/home#
*sudo lxc-checkpoint -s -D /tmp/checkpoint -n u3lxc_container:
lxccontainer.c: exec_criu: 3604 Couldn't find criu binary*

Checkpointing u3 failed.
root at localhost:/home# criu dump
Error: pid not specified
root at localhost:/home#

Have you an idea please ?
Bests.


2014-12-22 18:07 GMT+01:00 Thouraya TH <thouraya87 at gmail.com>:

> OK.
> i'm behind a proxy.
> i have done: *export http_proxy="http://<proxy_host>:<port>"*
> root at localhost:/home# sudo add-apt-repository ppa:ubuntu-lxc/daily
> Cannot add PPA: 'ppa:ubuntu-lxc/daily'.
> Please check that the PPA name or format is correct.
>
> i'd like to do:
> root at localhost:/home# sudo add-apt-repository ppa:ubuntu-lxc/daily
> *http_proxy=True*
> Error: need a single repository as argument
>
> but it didn't work!
>
> Have you an idea  please ?
> Bests
>
>
>
> 2014-12-22 15:05 GMT+01:00 le-grex <post at grex.is-lost.org>:
>
>> Did you read that on the site you mentioned?
>>
>> Although this functionality is not in any released version of LXC yet,
>> you can check out the development version on Ubuntu.
>>
>> Am 22.12.2014 um 14:53 schrieb Thouraya TH:
>> > Hello,
>> >
>> > Please, i try to checkpoint a container using this tuto:
>> http://criu.org/LXC
>> > but i have this error:  *lxc-checkpoint: command not found*
>> > i have, already, done the checkpoint of a simple process with criu 1.4..
>> >
>> > First terminal:
>> >
>> > root at u1:~# ls
>> > root at u1:~# cd /home/
>> > root at u1:/home# ls
>> > test  ubuntu
>> > root at u1:/home# uname -m
>> > x86_64
>> > root at u1:/home# uname -a
>> > Linux u1 3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014
>> > x86_64 x86_64 x86_64 GNU/Linux
>> > root at u1:/home#
>> >
>> >
>> > Second terminal:
>> > root at localhost:/home# criu --version
>> > *Version: 1.4*
>> > root at localhost:/home# sudo lxc-checkpoint -s -D /home/lxcImg/ -n u1
>> > sudo: lxc-checkpoint: command not found
>> > root at localhost:/home# *criu dump
>> > Error: pid not specified*
>> > root at localhost:/home# lxc-checkpoint -s -D /home/lxcImg/ -n u1
>> > *lxc-checkpoint: command not found*
>> > root at localhost:/home#
>> >
>> >
>> > Have you an idea please ?
>> > Thanks a lot.
>> > Best Regards.
>> >
>> >
>> > _______________________________________________
>> > lxc-users mailing list
>> > lxc-users at lists.linuxcontainers.org
>> > http://lists.linuxcontainers.org/listinfo/lxc-users
>> >
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20141222/e70303ab/attachment.html>


More information about the lxc-users mailing list