How to checkpoint using CRIU on ubuntu 14?












0















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?










share|improve this question














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 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
















0















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?










share|improve this question














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 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














0












0








0








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?










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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 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

















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










2 Answers
2






active

oldest

votes


















0














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.






share|improve this answer


























  • 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





















0














Recompile your kernel with required for CRIU options http://criu.org/Installation






share|improve this answer























    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
    });


    }
    });














    draft saved

    draft discarded


















    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









    0














    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.






    share|improve this answer


























    • 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


















    0














    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.






    share|improve this answer


























    • 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
















    0












    0








    0







    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.






    share|improve this answer















    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.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    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





















    • 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















    0














    Recompile your kernel with required for CRIU options http://criu.org/Installation






    share|improve this answer




























      0














      Recompile your kernel with required for CRIU options http://criu.org/Installation






      share|improve this answer


























        0












        0








        0







        Recompile your kernel with required for CRIU options http://criu.org/Installation






        share|improve this answer













        Recompile your kernel with required for CRIU options http://criu.org/Installation







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jul 24 '14 at 11:20









        Alex HoppusAlex Hoppus

        1359




        1359






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            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





















































            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







            Popular posts from this blog

            Histoire des bourses de valeurs

            Why is there Russian traffic in my log files?

            Rename multiple files to decrement number in file name?