internal error: cannot load AppArmor profile 'libvirt-
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
add a comment |
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
Is your system fully updated? Have you runsudo apt-get update
followed bysudo 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 viavirsh dominfo
and then check for/etc/apparmor.d/libvirt/libvirt-<UUID>.files
if that looks sane.
– Christian Ehrhardt
May 7 '18 at 14:07
add a comment |
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
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
virtualization
asked May 7 '18 at 1:35
Balwant ChandelBalwant Chandel
113
113
Is your system fully updated? Have you runsudo apt-get update
followed bysudo 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 viavirsh dominfo
and then check for/etc/apparmor.d/libvirt/libvirt-<UUID>.files
if that looks sane.
– Christian Ehrhardt
May 7 '18 at 14:07
add a comment |
Is your system fully updated? Have you runsudo apt-get update
followed bysudo 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 viavirsh 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
add a comment |
2 Answers
2
active
oldest
votes
I had to uninstall apparmor competely followed by a reinstall of apparmor to make it work.
add a comment |
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.
add a comment |
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
});
}
});
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%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
I had to uninstall apparmor competely followed by a reinstall of apparmor to make it work.
add a comment |
I had to uninstall apparmor competely followed by a reinstall of apparmor to make it work.
add a comment |
I had to uninstall apparmor competely followed by a reinstall of apparmor to make it work.
I had to uninstall apparmor competely followed by a reinstall of apparmor to make it work.
answered Sep 28 '18 at 19:13
Charlie CandergartCharlie Candergart
111
111
add a comment |
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
edited Dec 25 '18 at 7:20
Mr Shunz
2,25521922
2,25521922
answered Dec 25 '18 at 3:39
perryperry
1
1
add a comment |
add a comment |
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.
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%2faskubuntu.com%2fquestions%2f1032939%2finternal-error-cannot-load-apparmor-profile-libvirt%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
Is your system fully updated? Have you run
sudo apt-get update
followed bysudo 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