Services "enabled at boot but, not running"

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
rambo919
Posts: 209
Joined: Sat Sep 24, 2022 1:32 pm

Services "enabled at boot but, not running"

#1 Post by rambo919 »

I first noticed this when suddenly I could not browse my PC from android devices, turns out after each boot I have to manually turn on smbd.

Then I noticed the same was true for more than 40 services (as seen in Service Manager).... what changed in the last few weeks or so? Kernel related? Only thing I changed on the hardware side was changing my GPU from nvidia to AMD. Had a hell of a time getting X11 to actually work again and removed all nvidia drivers etc.

Is there an efficient fix or do I have to manually add them as is necessary to startup?

Code: Select all

System:
  Kernel: 6.12.12-2-liquorix-amd64 [6.12-16~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 clocksource: tsc
    avail: hpet,acpi_pm parameters: audit=0 intel_pstate=disable amd_pstate=disable
    BOOT_IMAGE=/boot/vmlinuz-6.12.12-2-liquorix-amd64 root=UUID=<filter> ro quiet splash
  Desktop: KDE Plasma v: 5.27.5 tk: Qt v: N/A info: frameworks v: 5.103.0 wm: kwin_x11 vt: 7
    dm: SDDM Distro: MX-23.5_KDE_x64 Libretto July 31 2023 base: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Desktop Mobo: Gigabyte model: Q370M D3H GSM PLUS serial: <superuser required>
    uuid: <superuser required> UEFI-[Legacy]: American Megatrends v: F15 date: 11/11/2021
CPU:
  Info: model: Intel Core i7-8700 bits: 64 type: MT MCP arch: Coffee Lake gen: core 8 level: v3
    note: check built: 2018 process: Intel 14nm family: 6 model-id: 0x9E (158) stepping: 0xA (10)
    microcode: 0xF8
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache: L1: 384 KiB
    desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 2815 high: 4305 min/max: 800/3201 boost: enabled scaling:
    driver: acpi-cpufreq governor: ondemand cores: 1: 4300 2: 4297 3: 4301 4: 4293 5: 4303 6: 4305
    7: 800 8: 800 9: 2458 10: 800 11: 1557 12: 1574 bogomips: 76799
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: IBRS
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: IBRS; IBPB: conditional; STIBP: conditional; RSB filling;
    PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
Graphics:
  Device-1: Intel CoffeeLake-S GT2 [UHD Graphics 630] vendor: Gigabyte driver: i915 v: kernel
    arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports: active: HDMI-A-2,HDMI-A-3
    empty: DP-1,DP-2,HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:3e92 class-ID: 0380
  Device-2: AMD vendor: XFX driver: amdgpu v: kernel arch: RDNA-3 code: Navi-3x
    process: TSMC n5 (5nm) built: 2022+ pcie: gen: 4 speed: 16 GT/s lanes: 16 ports: active: HDMI-A-4
    empty: DP-3, DP-4, DP-5, Writeback-1 bus-ID: 03:00.0 chip-ID: 1002:747e class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: kwin_x11 driver: X:
    loaded: amdgpu,modesetting unloaded: fbdev,radeon,vesa dri: radeonsi gpu: amdgpu,i915
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 5760x1080 s-dpi: 96 s-size: 1520x285mm (59.84x11.22")
    s-diag: 1546mm (60.89")
  Monitor-1: HDMI-A-2 mapped: HDMI-1-2 pos: left model: BenQ G2410HD serial: <filter> built: 2009
    res: 1920x1080 hz: 60 dpi: 102 gamma: 1.2 size: 477x268mm (18.78x10.55") diag: 595mm (23.4")
    ratio: 16:9 modes: max: 1920x1080 min: 720x400
  Monitor-2: HDMI-A-3 mapped: HDMI-1-3 pos: right model: A/G2356 serial: <filter> built: 2015
    res: 1920x1080 hz: 60 dpi: 102 gamma: 1.2 size: 476x268mm (18.74x10.55") diag: 583mm (23")
    ratio: 15:9, 16:10 modes: max: 1920x1080 min: 640x480
  Monitor-3: HDMI-A-4 mapped: HDMI-A-3 pos: primary,center model: Philips PHL 241V8
    serial: <filter> built: 2022 res: 1920x1080 dpi: 93 gamma: 1.2 size: 527x296mm (20.75x11.65")
    diag: 604mm (23.8") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: EGL v: 1.5 hw: drv: intel iris drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: iris device: 2 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi x11:
    drv: radeonsi inactive: wayland
  API: OpenGL v: 4.6 vendor: amd mesa v: 24.2.2-1~mx23ahs glx-v: 1.4 es-v: 3.2 direct-render: yes
    renderer: AMD Radeon RX 7700 XT (radeonsi navi32 LLVM 15.0.6 DRM 3.59 6.12.12-2-liquorix-amd64)
    device-ID: 1002:747e memory: 11.72 GiB unified: no
  API: Vulkan v: 1.3.250 layers: 11 device: 0 type: discrete-gpu name: AMD Radeon RX 7700 XT
    (RADV NAVI32) driver: mesa radv v: 24.2.2-1~mx23ahs device-ID: 1002:747e surfaces: xcb,xlib
    device: 1 type: integrated-gpu name: Intel UHD Graphics 630 (CFL GT2) driver: mesa intel
    v: 24.2.2-1~mx23ahs device-ID: 8086:3e92 surfaces: xcb,xlib device: 2 type: cpu name: llvmpipe
    (LLVM 15.0.6 256 bits) driver: mesa llvmpipe v: 24.2.2-1~mx23ahs (LLVM 15.0.6)
    device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: Gigabyte driver: snd_hda_intel v: kernel
    alternate: snd_soc_avs,snd_sof_pci_intel_cnl bus-ID: 00:1f.3 chip-ID: 8086:a348 class-ID: 0403
  Device-2: AMD driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 03:00.1 chip-ID: 1002:ab30 class-ID: 0403
  API: ALSA v: k6.12.12-2-liquorix-amd64 status: kernel-api tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.21 status: off tools: jack_control
  Server-2: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Ethernet I219-LM vendor: Gigabyte driver: e1000e v: kernel port: N/A
    bus-ID: 00:1f.6 chip-ID: 8086:15bb class-ID: 0200
  IF: eth1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Intel I211 Gigabit Network vendor: Gigabyte driver: igb v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 06:00.0 chip-ID: 8086:1539 class-ID: 0200
  IF: eth0 state: down mac: <filter>
  Info: services: NetworkManager,proftpd,smbd
Drives:
  Local Storage: total: 9.55 TiB used: 4.92 TiB (51.5%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 1TB size: 931.51 GiB
    block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 3B4QFXO7 temp: 34.9 C scheme: MBR
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD5000LPCX-24VHAT0 size: 465.76 GiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 5400 serial: <filter>
    fw-rev: 1A01 scheme: MBR
  ID-3: /dev/sdb maj-min: 8:16 vendor: Seagate model: ST2000DM001-9YN164 size: 1.82 TiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: <filter>
    fw-rev: CC4B scheme: MBR
  ID-4: /dev/sdc maj-min: 8:32 vendor: Western Digital model: WD Blue SA510 2.5 1000GB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s tech: SSD
    serial: <filter> fw-rev: 6100 scheme: MBR
  ID-5: /dev/sdd maj-min: 8:48 vendor: Seagate model: ST2000DM001-1ER164 size: 1.82 TiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: <filter>
    fw-rev: CC25 scheme: MBR
  ID-6: /dev/sde maj-min: 8:64 vendor: Toshiba model: HDWE140 size: 3.64 TiB block-size:
    physical: 4096 B logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: <filter> fw-rev: FP2A
    scheme: GPT
Partition:
  ID-1: / raw-size: 97.66 GiB size: 95.56 GiB (97.86%) used: 80.74 GiB (84.5%) fs: ext4
    dev: /dev/sdc1 maj-min: 8:33
  ID-2: /home raw-size: 720.86 GiB size: 708.98 GiB (98.35%) used: 311.76 GiB (44.0%) fs: ext4
    dev: /dev/sdc2 maj-min: 8:34
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: partition size: 12 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sdc3
    maj-min: 8:35
Sensors:
  System Temperatures: cpu: 38.0 C pch: 51.0 C mobo: 33.0 C gpu: amdgpu temp: 37.0 C mem: 48.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Repos:
  Packages: 5001 pm: dpkg pkgs: 4941 libs: 2497 tools: apt, apt-get, aptitude, nala, synaptic
    pm: rpm pkgs: 0 pm: flatpak pkgs: 60
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/adoptium.list
    1: deb https://packages.adoptium.net/artifactory/deb/ bookworm main
  No active apt repos in: /etc/apt/sources.list.d/atom.list
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
    1: deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ bullseye main
  No active apt repos in: /etc/apt/sources.list.d/deb-multimedia.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/element-io.list
    1: deb [signed-by=/usr/share/keyrings/element-io-archive-keyring.gpg] https://packages.element.io/debian/ default main
  No active apt repos in: /etc/apt/sources.list.d/freedownloadmanager.list
  Active apt repos in: /etc/apt/sources.list.d/google-earth-pro.list
    1: deb [arch=amd64] http://dl.google.com/linux/earth/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/lutris.list
    1: deb [signed-by=/etc/apt/keyrings/lutris.gpg] https://download.opensuse.org/repositories/home:/strycore/Debian_12/ ./
  Active apt repos in: /etc/apt/sources.list.d/makedeb.list
    1: deb [signed-by=/usr/share/keyrings/makedeb-archive-keyring.gpg arch=all] https://proget.makedeb.org/ makedeb main
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://mxlinux.mirrors.uk2.net/packages/mx/repo/ bookworm main non-free
    2: deb http://mxlinux.mirrors.uk2.net/packages/mx/testrepo/ bookworm test
    3: deb http://mxlinux.mirrors.uk2.net/packages/mx/repo/ bookworm ahs
  No active apt repos in: /etc/apt/sources.list.d/nvidia-drivers.list
  Active apt repos in: /etc/apt/sources.list.d/onlyoffice.list
    1: deb https://download.onlyoffice.com/repo/debian/ squeeze main
  Active apt repos in: /etc/apt/sources.list.d/signal-xenial-added-by-mxpi.list
    1: deb [arch=amd64] https://updates.signal.org/desktop/apt/ xenial main
  Active apt repos in: /etc/apt/sources.list.d/vscode.list
    1: deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/repos/code stable main
  Active apt repos in: /etc/apt/sources.list.d/webmin.list
    1: deb [signed-by=/usr/share/keyrings/debian-webmin-developers.gpg] https://download.webmin.com/download/newkey/repository/ stable contrib
  Active apt repos in: /etc/apt/sources.list.d/extrepo_librewolf.sources
    1: deb [arch=amd64 arm64] https://repo.librewolf.net librewolf main
  Active apt repos in: /etc/apt/sources.list.d/winehq-bookworm.sources
    1: deb [arch=amd64 i386] https://dl.winehq.org/wine-builds/debian bookworm main
Info:
  Memory: total: N/A available: 31.17 GiB used: 6.14 GiB (19.7%)
  Processes: 426 Power: uptime: 4h 3m states: freeze,mem,disk suspend: deep avail: s2idle
    wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume image: 12.41 GiB
    services: org_kde_powerdevil,upowerd Init: SysVinit v: 3.08 runlevel: 5 default: graphical
    tool: systemctl
  Compilers: gcc: 12.2.0 Client: shell wrapper v: 5.2.15-release inxi: 3.3.34
Boot Mode: BIOS (legacy, CSM, MBR)

User avatar
dreamer
Posts: 906
Joined: Sun Oct 15, 2017 11:34 am

Re: Services "enabled at boot but, not running"

#2 Post by dreamer »

Have you tried booting with systemd and see if that makes a difference?
Note to self and others: SysVinit is a good option. However if you run into problems try with systemd first. This applies to AppImages, Flatpaks, GitHub packages and even some Debian packages.

rambo919
Posts: 209
Joined: Sat Sep 24, 2022 1:32 pm

Re: Services "enabled at boot but, not running"

#3 Post by rambo919 »

dreamer wrote: Mon Feb 10, 2025 8:02 am Have you tried booting with systemd and see if that makes a difference?
Did that now and the results are strange.

Under a sytemd boot smbd is running and Service Manager reports

Code: Select all

 204 total services, 48 currently running | 111 enabled at boot, but not running
Under sysvinit smbd is not running and Service Manager reports

Code: Select all

80 total services, 25 currently running | 45 enabled at boot, but not running
I don't know how much the disparity actually means, I also noticed that anydesk (which I rarely use so did not notice sooner) also is not running at boot anymore. What would cause a service to stop running at boot this way?

rambo919
Posts: 209
Joined: Sat Sep 24, 2022 1:32 pm

Re: Services "enabled at boot but, not running"

#4 Post by rambo919 »

A thought, is there something making these services "going to sleep" or is there something preventing them from starting up? A power saving issue perhaps?

Also I have noticed now that I look anydesk not running at startup but after a while popping up (don't know what the delay is) in the system tray.... probably unrelated since it actually DOES start up eventually.

User avatar
CharlesV
Global Moderator
Posts: 7333
Joined: Sun Jul 07, 2019 5:11 pm

Re: Services "enabled at boot but, not running"

#5 Post by CharlesV »

I have not seen this be an issue, but your root partition is getting full and you might want to clean it out a bit.

And is that Toshiba HD from 2021? (Any HD that is older than 4 years is suspect in my mind and yours may very well be there.)
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
dolphin_oracle
Developer
Posts: 22248
Joined: Sun Dec 16, 2007 12:17 pm

Re: Services "enabled at boot but, not running"

#6 Post by dolphin_oracle »

does service manager say smbd is enabled at boot time?

it is possible to be enabled under systemd and not under sysVinit, and vice versa.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

BitterTruth
Posts: 620
Joined: Tue Sep 22, 2020 7:36 pm

Re: Services "enabled at boot but, not running"

#7 Post by BitterTruth »

Could it be some kind of safe mode, like a lower runlevel with limited processes? Another thing I can think of is you deleted a lot of the binaries when you removed nvidia related stuff so systemd or sysv init can't find the services to run

rambo919
Posts: 209
Joined: Sat Sep 24, 2022 1:32 pm

Re: Services "enabled at boot but, not running"

#8 Post by rambo919 »

CharlesV wrote: Sun Feb 16, 2025 11:11 am I have not seen this be an issue, but your root partition is getting full and you might want to clean it out a bit.
Yeah I noticed that.... I rate 10GB is about enough for now.... I could always resize it but don't wanna deal with potential booting issues from moving /home up right now.... will do either that or a complete re-install when the the DB13 base MX arrives.
And is that Toshiba HD from 2021? (Any HD that is older than 4 years is suspect in my mind and yours may very well be there.)
hahahah two of my other HDD's (seagate) are at least 10 years old and still trucking, never had one's as reliable as this before.... I think the large fans in my chassis directly cooling them helps a lot. I use HDD sentinel to check up on their health now and then. I also weekly backup everything important on one to a second HDD because I have had as many just fail on me as other have.... they back each other up that way.
Last edited by rambo919 on Sun Feb 16, 2025 1:50 pm, edited 1 time in total.

rambo919
Posts: 209
Joined: Sat Sep 24, 2022 1:32 pm

Re: Services "enabled at boot but, not running"

#9 Post by rambo919 »

dolphin_oracle wrote: Sun Feb 16, 2025 11:18 am does service manager say smbd is enabled at boot time?
yep
it is possible to be enabled under systemd and not under sysVinit, and vice versa.
Odd though because it never used to not be enabled.

rambo919
Posts: 209
Joined: Sat Sep 24, 2022 1:32 pm

Re: Services "enabled at boot but, not running"

#10 Post by rambo919 »

BitterTruth wrote: Sun Feb 16, 2025 11:21 am Could it be some kind of safe mode, like a lower runlevel with limited processes?
If that is so.... how would I rectify it?
Another thing I can think of is you deleted a lot of the binaries when you removed nvidia related stuff so systemd or sysv init can't find the services to run
Would that not prevent it from running at all though? And why would nvidia packages affect something like samba?

Post Reply

Return to “MX Help”