How to checkpoint using CRIU on ubuntu 14?
I tried to install CRIU in ubuntu 14.04 Desktop.
When I used
$ sudo ./criu check
, it showed
Error (cr-check.c:268): fdinfo doesn't contain the mnt_id field
And when I tried to checkpoint joomla or xampp using
$sudo ./criu dump -D checkpoint -t 4761
, it shows
Error (proc_parse.c:502): Can't open 4761/stat on procfs: No such file or directory
CRIU:
Verison: criu-1.3-rc1
Location: /home/criu-1.3-rc1/
How should I do to solve the problems?
linux ubuntu backup
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I tried to install CRIU in ubuntu 14.04 Desktop.
When I used
$ sudo ./criu check
, it showed
Error (cr-check.c:268): fdinfo doesn't contain the mnt_id field
And when I tried to checkpoint joomla or xampp using
$sudo ./criu dump -D checkpoint -t 4761
, it shows
Error (proc_parse.c:502): Can't open 4761/stat on procfs: No such file or directory
CRIU:
Verison: criu-1.3-rc1
Location: /home/criu-1.3-rc1/
How should I do to solve the problems?
linux ubuntu backup
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Do you have the needed kernel options enabled? CRIU depends on several non-standard options likeCONFIG_CHECKPOINT_RESTOREorCONFIG_MEM_SOFT_DIRTY. Try running without arguments (IIRC), this should tell you whether your kernel supports the needed features.
– Andreas Wiese
May 14 '14 at 23:20
add a comment |
I tried to install CRIU in ubuntu 14.04 Desktop.
When I used
$ sudo ./criu check
, it showed
Error (cr-check.c:268): fdinfo doesn't contain the mnt_id field
And when I tried to checkpoint joomla or xampp using
$sudo ./criu dump -D checkpoint -t 4761
, it shows
Error (proc_parse.c:502): Can't open 4761/stat on procfs: No such file or directory
CRIU:
Verison: criu-1.3-rc1
Location: /home/criu-1.3-rc1/
How should I do to solve the problems?
linux ubuntu backup
I tried to install CRIU in ubuntu 14.04 Desktop.
When I used
$ sudo ./criu check
, it showed
Error (cr-check.c:268): fdinfo doesn't contain the mnt_id field
And when I tried to checkpoint joomla or xampp using
$sudo ./criu dump -D checkpoint -t 4761
, it shows
Error (proc_parse.c:502): Can't open 4761/stat on procfs: No such file or directory
CRIU:
Verison: criu-1.3-rc1
Location: /home/criu-1.3-rc1/
How should I do to solve the problems?
linux ubuntu backup
linux ubuntu backup
asked May 14 '14 at 22:28
Sundevil LeeSundevil Lee
12
12
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Do you have the needed kernel options enabled? CRIU depends on several non-standard options likeCONFIG_CHECKPOINT_RESTOREorCONFIG_MEM_SOFT_DIRTY. Try running without arguments (IIRC), this should tell you whether your kernel supports the needed features.
– Andreas Wiese
May 14 '14 at 23:20
add a comment |
Do you have the needed kernel options enabled? CRIU depends on several non-standard options likeCONFIG_CHECKPOINT_RESTOREorCONFIG_MEM_SOFT_DIRTY. Try running without arguments (IIRC), this should tell you whether your kernel supports the needed features.
– Andreas Wiese
May 14 '14 at 23:20
Do you have the needed kernel options enabled? CRIU depends on several non-standard options like
CONFIG_CHECKPOINT_RESTORE or CONFIG_MEM_SOFT_DIRTY. Try running without arguments (IIRC), this should tell you whether your kernel supports the needed features.– Andreas Wiese
May 14 '14 at 23:20
Do you have the needed kernel options enabled? CRIU depends on several non-standard options like
CONFIG_CHECKPOINT_RESTORE or CONFIG_MEM_SOFT_DIRTY. Try running without arguments (IIRC), this should tell you whether your kernel supports the needed features.– Andreas Wiese
May 14 '14 at 23:20
add a comment |
2 Answers
2
active
oldest
votes
you should use following line in non-custom kernels:
$ sudo ./criu check --ms
Are you sure that you have a thread with pid 4761? Also, you should have a checkpoint directory in your criu directory.
Hi @Hadi, thanks for your answer and welcome to unix.SE. You don't need to sign your name at the bottom of your posts (your own banner is placed automatically). Also, I've edited the response to add some nice formatting. Check it out to see how it works.
– drs
May 20 '14 at 22:39
add a comment |
Recompile your kernel with required for CRIU options http://criu.org/Installation
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f129419%2fhow-to-checkpoint-using-criu-on-ubuntu-14%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
you should use following line in non-custom kernels:
$ sudo ./criu check --ms
Are you sure that you have a thread with pid 4761? Also, you should have a checkpoint directory in your criu directory.
Hi @Hadi, thanks for your answer and welcome to unix.SE. You don't need to sign your name at the bottom of your posts (your own banner is placed automatically). Also, I've edited the response to add some nice formatting. Check it out to see how it works.
– drs
May 20 '14 at 22:39
add a comment |
you should use following line in non-custom kernels:
$ sudo ./criu check --ms
Are you sure that you have a thread with pid 4761? Also, you should have a checkpoint directory in your criu directory.
Hi @Hadi, thanks for your answer and welcome to unix.SE. You don't need to sign your name at the bottom of your posts (your own banner is placed automatically). Also, I've edited the response to add some nice formatting. Check it out to see how it works.
– drs
May 20 '14 at 22:39
add a comment |
you should use following line in non-custom kernels:
$ sudo ./criu check --ms
Are you sure that you have a thread with pid 4761? Also, you should have a checkpoint directory in your criu directory.
you should use following line in non-custom kernels:
$ sudo ./criu check --ms
Are you sure that you have a thread with pid 4761? Also, you should have a checkpoint directory in your criu directory.
edited May 21 '14 at 0:01
drs
3,31352859
3,31352859
answered May 20 '14 at 22:16
HadiHadi
1
1
Hi @Hadi, thanks for your answer and welcome to unix.SE. You don't need to sign your name at the bottom of your posts (your own banner is placed automatically). Also, I've edited the response to add some nice formatting. Check it out to see how it works.
– drs
May 20 '14 at 22:39
add a comment |
Hi @Hadi, thanks for your answer and welcome to unix.SE. You don't need to sign your name at the bottom of your posts (your own banner is placed automatically). Also, I've edited the response to add some nice formatting. Check it out to see how it works.
– drs
May 20 '14 at 22:39
Hi @Hadi, thanks for your answer and welcome to unix.SE. You don't need to sign your name at the bottom of your posts (your own banner is placed automatically). Also, I've edited the response to add some nice formatting. Check it out to see how it works.
– drs
May 20 '14 at 22:39
Hi @Hadi, thanks for your answer and welcome to unix.SE. You don't need to sign your name at the bottom of your posts (your own banner is placed automatically). Also, I've edited the response to add some nice formatting. Check it out to see how it works.
– drs
May 20 '14 at 22:39
add a comment |
Recompile your kernel with required for CRIU options http://criu.org/Installation
add a comment |
Recompile your kernel with required for CRIU options http://criu.org/Installation
add a comment |
Recompile your kernel with required for CRIU options http://criu.org/Installation
Recompile your kernel with required for CRIU options http://criu.org/Installation
answered Jul 24 '14 at 11:20
Alex HoppusAlex Hoppus
1359
1359
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f129419%2fhow-to-checkpoint-using-criu-on-ubuntu-14%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Do you have the needed kernel options enabled? CRIU depends on several non-standard options like
CONFIG_CHECKPOINT_RESTOREorCONFIG_MEM_SOFT_DIRTY. Try running without arguments (IIRC), this should tell you whether your kernel supports the needed features.– Andreas Wiese
May 14 '14 at 23:20