Snap Service Issue

Job for snapd.service failed because the control process exited with error code. See “systemctl status snapd.service” and “journalctl -xeu snapd.service” for details.

I am having an issue in ubunto with the above error message. Please help

When you run that command is there any relevant error messages displayed?

Only message I receive is: Job for snapd.service failed because the control process exited with error code. See “systemctl status snapd.service” and “journalctl -xeu snapd.service” for details.

Well, that message asks you to run two commands, it would be helpful if you do that and provide the output of them here.

First run systemctl status snapd.service, copy/paste the output here (make sure to add three backticks ``` above and below the pasted text so the formatting stays intact).

Second run the journalctl line it gave you and paste it here the same way, that should hopefully give some information about what went wrong…

The first command gave me the following output:

syystemctl status snapd.service

hamsi@ilhan-Latitude-5290:/$ systemctl status snapd.service × snapd.service - Snap Daemon Loaded: loaded (/lib/systemd/system/snapd.service; enabled; preset: enabled) Active: failed (Result: exit-code) since Wed 2023-09-13 17:36:31 BST; 53min left TriggeredBy: × snapd.socket Main PID: 1319 (code=exited, status=1/FAILURE) CPU: 273ms

The Second output is:

journalctl

Hint: You are currently not seeing messages from other users and the system. Users in groups ‘adm’, ‘systemd-journal’ can see all messages. Pass -q to turn off this notice. Jul 31 14:44:11 ilhan-Latitude-5290 kernel: microcode: microcode updated early to revision 0xf0, date = 2021-11-12 Jul 31 14:44:11 ilhan-Latitude-5290 kernel: Linux version 6.2.0-20-generic (buildd@lcy02-amd64-035) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.2.0-17ubuntu1) 12.2.0, GNU ld (> Jul 31 14:44:11 ilhan-Latitude-5290 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.0-20-generic root=UUID=a5dec396-a422-494b-9107-010043845d27 ro quiet splash vt.h> Jul 31 14:44:11 ilhan-Latitude-5290 kernel: KERNEL supported cpus: Jul 31 14:44:11 ilhan-Latitude-5290 kernel: Intel GenuineIntel Jul 31 14:44:11 ilhan-Latitude-5290 kernel: AMD AuthenticAMD Jul 31 14:44:11 ilhan-Latitude-5290 kernel: Hygon HygonGenuine Jul 31 14:44:11 ilhan-Latitude-5290 kernel: Centaur CentaurHauls Jul 31 14:44:11 ilhan-Latitude-5290 kernel: zhaoxin Shanghai
Jul 31 14:44:11 ilhan-Latitude-5290 kernel: x86/fpu: Supporting XSAVE feature 0x001: ‘x87 floating point registers’ Jul 31 14:44:11 ilhan-Latitude-5290 kernel: x86/fpu: Supporting XSAVE feature 0x002: ‘SSE registers’ Jul 31 14:44:11 ilhan-Latitude-5290 kernel: x86/fpu: Supporting XSAVE feature 0x004: ‘AVX registers’ Jul 31 14:44:11 ilhan-Latitude-5290 kernel: x86/fpu: Supporting XSAVE feature 0x008: ‘MPX bounds registers’ Jul 31 14:44:11 ilhan-Latitude-5290 kernel: x86/fpu: Supporting XSAVE feature 0x010: ‘MPX CSR’ Jul 31 14:44:11 ilhan-Latitude-5290 kernel: x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 Jul 31 14:44:11 ilhan-Latitude-5290 kernel: x86/fpu: xstate_offset[3]: 832, xstate_sizes[3]: 64 Jul 31 14:44:11 ilhan-Latitude-5290 kernel: x86/fpu: xstate_offset[4]: 896, xstate_sizes[4]: 64 Jul 31 14:44:11 ilhan-Latitude-5290 kernel: x86/fpu: Enabled xstate features 0x1f, context size is 960 bytes, using ‘compacted’ format. lines 1-18…skipping… Jul 31 14:44:11 ilhan-Latitude-5290 kernel: microcode: microcode updated early to revision 0xf0, date = 2021-11-12 Jul 31 14:44:11 ilhan-Latitude-5290 kernel: Linux version 6.2.0-20-generic (buildd@lcy02-amd64-035) (x86_64-linux-gnu-gcc-12 (Ubuntu 12.2.0-17ubuntu1) 12.2.0, GNU ld (> Jul 31 14:44:11 ilhan-Latitude-5290 kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.2.0-20-generic root=UUID=a5dec396-a422-494b-9107-010043845d27 ro quiet splash vt.h> Jul 31 14:44:11 ilhan-Latitude-5290 kernel: KERNEL supported cpus: Jul 31 14:44:11 ilhan-Latitude-5290 kernel: Intel GenuineIntel Jul 31 14:44:11 ilhan-Latitude-5290 kernel: AMD AuthenticAMD Jul 31 14:44:11 ilhan-Latitude-5290 kernel: Hygon HygonGenuine Jul 31 14:44:11 ilhan-Latitude-5290 kernel: Centaur CentaurHauls Jul 31 14:44:11 ilhan-Latitude-5290 kernel: zhaoxin Shanghai
Jul 31 14:44:11 ilhan-Latitude-5290 kernel: x86/fpu: Supporting XSAVE feature 0x001: ‘x87 floating point registers’ Jul 31 14:44:11 ilhan-Latitude-5290 kernel: x86/fpu: Supporting XSAVE feature 0x002: ‘SSE registers’ Jul 31 14:44:11 ilhan-Latitude-5290 kernel: x86/fpu: Supporting XSAVE feature 0x004: ‘AVX registers’ Jul 31 14:44:11 ilhan-Latitude-5290 kernel: x86/fpu: Supporting XSAVE feature 0x008: ‘MPX bounds registers’ Jul 31 14:44:11 ilhan-Latitude-5290 kernel: x86/fpu: Supporting XSAVE feature 0x010: ‘MPX CSR’ Jul 31 14:44:11 ilhan-Latitude-5290 kernel: x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 Jul 31 14:44:11 ilhan-Latitude-5290 kernel: x86/fpu: xstate_offset[3]: 832, xstate_sizes[3]: 64 Jul 31 14:44:11 ilhan-Latitude-5290 kernel: x86/fpu: xstate_offset[4]: 896, xstate_sizes[4]: 64 Jul 31 14:44:11 ilhan-Latitude-5290 kernel: x86/fpu: Enabled xstate features 0x1f, context size is 960 bytes, using ‘compacted’ format. Jul 31 14:44:11 ilhan-Latitude-5290 kernel: signal: max sigframe size: 2032 Jul 31 14:44:11 ilhan-Latitude-5290 kernel: BIOS-provided physical RAM map: Jul 31 14:44:11 ilhan-Latitude-5290 kernel: BIOS-e820: [mem 0x0000000000000000-0x0000000000057fff] usable Jul 31 14:44:11 ilhan-Latitude-5290 kernel: BIOS-e820: [mem 0x0000000000058000-0x0000000000058fff] reserved Jul 31 14:44:11 ilhan-Latitude-5290 kernel: BIOS-e820: [mem 0x0000000000059000-0x000000000009efff] usable Jul 31 14:44:11 ilhan-Latitude-5290 kernel: BIOS-e820: [mem 0x000000000009f000-0x00000000000fffff] reserved Jul 31 14:44:11 ilhan-Latitude-5290 kernel: BIOS-e820: [mem 0x0000000000100000-0x00000000b91d3fff] usable Jul 31 14:44:11 ilhan-Latitude-5290 kernel: BIOS-e820: [mem 0x00000000b91d4000-0x00000000b91d4fff] ACPI NVS Jul 31 14:44:11 ilhan-Latitude-5290 kernel: BIOS-e820: [mem 0x00000000b91d5000-0x00000000b91d5fff] reserved Jul 31 14:44:11 ilhan-Latitude-5290 kernel: BIOS-e820: [mem 0x00000000b91d6000-0x00000000c8d59fff] usable Jul 31 14:44:11 ilhan-Latitude-5290 kernel: BIOS-e820: [mem 0x00000000c8d5a000-0x00000000ca4d6fff] reserved Jul 31 14:44:11 ilhan-Latitude-5290 kernel: BIOS-e820: [mem 0x00000000ca4d7000-0x00000000ca51ffff] ACPI data Jul 31 14:44:11 ilhan-Latitude-5290 kernel: BIOS-e820: [mem 0x00000000ca520000-0x00000000cae94fff] ACPI NVS Jul 31 14:44:11 ilhan-Latitude-5290 kernel: BIOS-e820: [mem 0x00000000cae95000-0x00000000cb5fefff] reserved Jul 31 14:44:11 ilhan-Latitude-5290 kernel: BIOS-e820: [mem 0x00000000cb5ff000-0x00000000cb5fffff] usable Jul 31 14:44:11 ilhan-Latitude-5290 kernel: BIOS-e820: [mem 0x00000000cb600000-0x00000000cf7fffff] reserved Jul 31 14:44:11 ilhan-Latitude-5290 kernel: BIOS-e820: [mem 0x00000000f0000000-0x00000000f7ffffff] reserved Jul 31 14:44:11 ilhan-Latitude-5290 kernel: BIOS-e820: [mem 0x00000000fe000000-0x00000000fe010fff] reserved Jul 31 14:44:11 ilhan-Latitude-5290 kernel: BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved Jul 31 14:44:11 ilhan-Latitude-5290 kernel: BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved lines 1-38

1 Like

Also the same issue with snapd not working. Details are the same. Everything happened after kernel update / chmod 777 while trouble shooting. The outcome was identical. UBUNTU SERVER 24.04.3 (now with kernel 15.5.85

Hoping for assistance from the community.

anyone has an idea about the root cause of this issue.

Can you re-run the 2 commands but with 2 changes.

  1. Can you follow ogra’s guidelines on posting the output? He mentioned using the triple backticks. That makes the output formatting easier for us to read because it uses a monospaced font and the line breaks are preserved. I doube anyone wants to read through blocks of serif text with no line breaks.

  2. add sudo in front of those commands. You’re not seeing helpful debug messages because you’re not part of the admin (adm) group.

So, the commands would be

sudo systemctl status snapd.service

and

sudo journalctl -xeu snapd.service

Thanks