Problem with failing to start services
by peter7089 from LinuxQuestions.org on (#5KN4Y)
I have these three services that are failing to start:
Code:$ systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
snap-core-11187.mount loaded failed failed Mount unit for core, revision 11187
apparmor.service loaded failed failed Load AppArmor profiles
vboxweb.service loaded failed failed VirtualBox Web ServiceIf i try to start apparmor i get this:
Code:$ sudo systemctl start apparmor
Job for apparmor.service failed because the control process exited with error code.
See "systemctl status apparmor.service" and "journalctl -xe" for details.
If i view the status of apparmor service i get this:
Code:$ sudo systemctl status apparmor
apparmor.service - Load AppArmor profiles
Loaded: loaded (/lib/systemd/system/apparmor.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2021-06-28 23:32:50 EEST; 3min 23s ago
Docs: man:apparmor(7)
https://gitlab.com/apparmor/apparmor/wikis/home/
Process: 17376 ExecStart=/lib/apparmor/apparmor.systemd reload (code=exited, status=1/FAILURE)
Main PID: 17376 (code=exited, status=1/FAILURE)
Jun 28 23:32:50 mx apparmor.systemd[17376]: Restarting AppArmor
Jun 28 23:32:50 mx apparmor.systemd[17376]: Reloading AppArmor profiles
Jun 28 23:32:50 mx apparmor.systemd[17376]: Skipping profile in /etc/apparmor.d/disable: usr.bin.thu
Jun 28 23:32:50 mx apparmor.systemd[17376]: AppArmor parser error for /etc/apparmor.d in /etc/apparm
Jun 28 23:32:50 mx apparmor.systemd[17376]: Skipping profile in /etc/apparmor.d/disable: usr.bin.thu
Jun 28 23:32:50 mx apparmor.systemd[17376]: AppArmor parser error for /etc/apparmor.d/usr.lib.snapd.
Jun 28 23:32:50 mx apparmor.systemd[17376]: Error: At least one profile failed to load
Jun 28 23:32:50 mx systemd[1]: apparmor.service: Main process exited, code=exited, status=1/FAILURE
Jun 28 23:32:50 mx systemd[1]: apparmor.service: Failed with result 'exit-code'.
Jun 28 23:32:50 mx systemd[1]: Failed to start Load AppArmor profiles.For the snap-core-11187.mount service i don't know why is there. I had installed snapd, but i removed it. How to remove this service?
I don't know why vboxweb.service if failing to start and if it is important.
Code:$ systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
snap-core-11187.mount loaded failed failed Mount unit for core, revision 11187
apparmor.service loaded failed failed Load AppArmor profiles
vboxweb.service loaded failed failed VirtualBox Web ServiceIf i try to start apparmor i get this:
Code:$ sudo systemctl start apparmor
Job for apparmor.service failed because the control process exited with error code.
See "systemctl status apparmor.service" and "journalctl -xe" for details.
If i view the status of apparmor service i get this:
Code:$ sudo systemctl status apparmor
apparmor.service - Load AppArmor profiles
Loaded: loaded (/lib/systemd/system/apparmor.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2021-06-28 23:32:50 EEST; 3min 23s ago
Docs: man:apparmor(7)
https://gitlab.com/apparmor/apparmor/wikis/home/
Process: 17376 ExecStart=/lib/apparmor/apparmor.systemd reload (code=exited, status=1/FAILURE)
Main PID: 17376 (code=exited, status=1/FAILURE)
Jun 28 23:32:50 mx apparmor.systemd[17376]: Restarting AppArmor
Jun 28 23:32:50 mx apparmor.systemd[17376]: Reloading AppArmor profiles
Jun 28 23:32:50 mx apparmor.systemd[17376]: Skipping profile in /etc/apparmor.d/disable: usr.bin.thu
Jun 28 23:32:50 mx apparmor.systemd[17376]: AppArmor parser error for /etc/apparmor.d in /etc/apparm
Jun 28 23:32:50 mx apparmor.systemd[17376]: Skipping profile in /etc/apparmor.d/disable: usr.bin.thu
Jun 28 23:32:50 mx apparmor.systemd[17376]: AppArmor parser error for /etc/apparmor.d/usr.lib.snapd.
Jun 28 23:32:50 mx apparmor.systemd[17376]: Error: At least one profile failed to load
Jun 28 23:32:50 mx systemd[1]: apparmor.service: Main process exited, code=exited, status=1/FAILURE
Jun 28 23:32:50 mx systemd[1]: apparmor.service: Failed with result 'exit-code'.
Jun 28 23:32:50 mx systemd[1]: Failed to start Load AppArmor profiles.For the snap-core-11187.mount service i don't know why is there. I had installed snapd, but i removed it. How to remove this service?
I don't know why vboxweb.service if failing to start and if it is important.