internal error: cannot load AppArmor profile 'libvirt-












1















I am receiving an error while starting up a newly created virtual machine in ubuntu 17.10 using Virtual machine Manager. It worked fine once but I shut it down and now can't get it to start, I get - Error starting domain: internal error: cannot load AppArmor profile 'libvirt-










share|improve this question























  • Is your system fully updated? Have you run sudo apt-get update followed by sudo apt-get dist-upgrade? Did both complete without warnings or error messages? And please edit your question to include the full error. It seems incomplete.

    – DK Bose
    May 7 '18 at 3:47













  • This could indicate a wrong apparmor profile being generated. You can check the UUID via virsh dominfo and then check for /etc/apparmor.d/libvirt/libvirt-<UUID>.files if that looks sane.

    – Christian Ehrhardt
    May 7 '18 at 14:07
















1















I am receiving an error while starting up a newly created virtual machine in ubuntu 17.10 using Virtual machine Manager. It worked fine once but I shut it down and now can't get it to start, I get - Error starting domain: internal error: cannot load AppArmor profile 'libvirt-










share|improve this question























  • Is your system fully updated? Have you run sudo apt-get update followed by sudo apt-get dist-upgrade? Did both complete without warnings or error messages? And please edit your question to include the full error. It seems incomplete.

    – DK Bose
    May 7 '18 at 3:47













  • This could indicate a wrong apparmor profile being generated. You can check the UUID via virsh dominfo and then check for /etc/apparmor.d/libvirt/libvirt-<UUID>.files if that looks sane.

    – Christian Ehrhardt
    May 7 '18 at 14:07














1












1








1








I am receiving an error while starting up a newly created virtual machine in ubuntu 17.10 using Virtual machine Manager. It worked fine once but I shut it down and now can't get it to start, I get - Error starting domain: internal error: cannot load AppArmor profile 'libvirt-










share|improve this question














I am receiving an error while starting up a newly created virtual machine in ubuntu 17.10 using Virtual machine Manager. It worked fine once but I shut it down and now can't get it to start, I get - Error starting domain: internal error: cannot load AppArmor profile 'libvirt-







virtualization






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked May 7 '18 at 1:35









Balwant ChandelBalwant Chandel

113




113













  • Is your system fully updated? Have you run sudo apt-get update followed by sudo apt-get dist-upgrade? Did both complete without warnings or error messages? And please edit your question to include the full error. It seems incomplete.

    – DK Bose
    May 7 '18 at 3:47













  • This could indicate a wrong apparmor profile being generated. You can check the UUID via virsh dominfo and then check for /etc/apparmor.d/libvirt/libvirt-<UUID>.files if that looks sane.

    – Christian Ehrhardt
    May 7 '18 at 14:07



















  • Is your system fully updated? Have you run sudo apt-get update followed by sudo apt-get dist-upgrade? Did both complete without warnings or error messages? And please edit your question to include the full error. It seems incomplete.

    – DK Bose
    May 7 '18 at 3:47













  • This could indicate a wrong apparmor profile being generated. You can check the UUID via virsh dominfo and then check for /etc/apparmor.d/libvirt/libvirt-<UUID>.files if that looks sane.

    – Christian Ehrhardt
    May 7 '18 at 14:07

















Is your system fully updated? Have you run sudo apt-get update followed by sudo apt-get dist-upgrade? Did both complete without warnings or error messages? And please edit your question to include the full error. It seems incomplete.

– DK Bose
May 7 '18 at 3:47







Is your system fully updated? Have you run sudo apt-get update followed by sudo apt-get dist-upgrade? Did both complete without warnings or error messages? And please edit your question to include the full error. It seems incomplete.

– DK Bose
May 7 '18 at 3:47















This could indicate a wrong apparmor profile being generated. You can check the UUID via virsh dominfo and then check for /etc/apparmor.d/libvirt/libvirt-<UUID>.files if that looks sane.

– Christian Ehrhardt
May 7 '18 at 14:07





This could indicate a wrong apparmor profile being generated. You can check the UUID via virsh dominfo and then check for /etc/apparmor.d/libvirt/libvirt-<UUID>.files if that looks sane.

– Christian Ehrhardt
May 7 '18 at 14:07










2 Answers
2






active

oldest

votes


















1














I had to uninstall apparmor competely followed by a reinstall of apparmor to make it work.






share|improve this answer































    0














    I got the exact same error message on Ubuntu Server 18.04.1 x64 when moving kvm virtual machines from an older 14.04.5 Ubuntu Server install. Reinstalling apparmor didn't do it for me.



    It turned out that I was missing the package libvirt-daemon-system. After installing this package, the virtual machines booted with no errors.






    share|improve this answer

























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      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: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      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%2faskubuntu.com%2fquestions%2f1032939%2finternal-error-cannot-load-apparmor-profile-libvirt%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









      1














      I had to uninstall apparmor competely followed by a reinstall of apparmor to make it work.






      share|improve this answer




























        1














        I had to uninstall apparmor competely followed by a reinstall of apparmor to make it work.






        share|improve this answer


























          1












          1








          1







          I had to uninstall apparmor competely followed by a reinstall of apparmor to make it work.






          share|improve this answer













          I had to uninstall apparmor competely followed by a reinstall of apparmor to make it work.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Sep 28 '18 at 19:13









          Charlie CandergartCharlie Candergart

          111




          111

























              0














              I got the exact same error message on Ubuntu Server 18.04.1 x64 when moving kvm virtual machines from an older 14.04.5 Ubuntu Server install. Reinstalling apparmor didn't do it for me.



              It turned out that I was missing the package libvirt-daemon-system. After installing this package, the virtual machines booted with no errors.






              share|improve this answer






























                0














                I got the exact same error message on Ubuntu Server 18.04.1 x64 when moving kvm virtual machines from an older 14.04.5 Ubuntu Server install. Reinstalling apparmor didn't do it for me.



                It turned out that I was missing the package libvirt-daemon-system. After installing this package, the virtual machines booted with no errors.






                share|improve this answer




























                  0












                  0








                  0







                  I got the exact same error message on Ubuntu Server 18.04.1 x64 when moving kvm virtual machines from an older 14.04.5 Ubuntu Server install. Reinstalling apparmor didn't do it for me.



                  It turned out that I was missing the package libvirt-daemon-system. After installing this package, the virtual machines booted with no errors.






                  share|improve this answer















                  I got the exact same error message on Ubuntu Server 18.04.1 x64 when moving kvm virtual machines from an older 14.04.5 Ubuntu Server install. Reinstalling apparmor didn't do it for me.



                  It turned out that I was missing the package libvirt-daemon-system. After installing this package, the virtual machines booted with no errors.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Dec 25 '18 at 7:20









                  Mr Shunz

                  2,25521922




                  2,25521922










                  answered Dec 25 '18 at 3:39









                  perryperry

                  1




                  1






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • 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%2faskubuntu.com%2fquestions%2f1032939%2finternal-error-cannot-load-apparmor-profile-libvirt%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

                      Ellipse (mathématiques)

                      Quarter-circle Tiles

                      Mont Emei