Questions tagged [systemd]

systemd is a collection of daemons, libraries and tools for system management. Ubuntu's Upstart system was replaced with systemd starting with Ubuntu 15.04.

Filter by
Sorted by
Tagged with
1 vote
0 answers
83 views

"Failed to start systemd script to load sep5 driver at boot time" on boot

I am currently working on my Master thesis and used Ubuntu on Hyper V for my thesis. But this morning, it suddenly stopped working with this error: Failed to start systemd script to load sep5 driver ...
Farid's user avatar
  • 11
0 votes
0 answers
57 views

Handle service start after unclean reboot

Facing this weird issue after a unclean shutdown/reboot of the host: Found left-over process NNNN (<daemon>) in control group while starting unit. Ignoring. This usually indicates unclean ...
Ani's user avatar
  • 39
1 vote
0 answers
90 views

systemd PATH not working consistently

I have a very simple systemd service: [Unit] Description=throttle service [Service] ExecStart=%h/.local/bin/throttle --server Type=simple Restart=always RestartSec=3 [Install] WantedBy=default....
fbence's user avatar
  • 234
0 votes
0 answers
32 views

Errors on my huawei matebok x pro 2020

I am having problems with my Huawei matebook x pro version 2020 device using Ubuntu 22.04. Since I installed it, my screen has frozen several times, I get a white Windows BSOD style saying "...
Víctor Álvarez's user avatar
2 votes
0 answers
50 views

System goes unresponsive for minutes, I suspect journalctl

We have an server application running on Ubuntu 22.04. The application logs are pretty spammy. journalctl -S -1hour | wc --lines 121349 journalctl -S -1hour | wc --bytes 32382836 Once in a while a ...
Brandon Cuff's user avatar
0 votes
0 answers
76 views

Why the nginx docker container stopped by Systemd?

I encountered an issue today with the Nginx service running as a container on our Ubuntu 20.04.6 LTS server. The service was in a stopped state, and I had to restart it manually. I've attached a ...
Alakananda S's user avatar
0 votes
0 answers
910 views

"System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down" not WSL

When I install docker and try to run it, sudo systemctl start docker, it says it can't run as the title says.(Not WSL) So when I run it with the sudo service docker start command, it turns off again ...
pepperonipizza97's user avatar
0 votes
1 answer
137 views

Accessing Minecraft Terminal when it's ran through systemmd

New to Linux but have been messing around with a Linode server. I am running a Paper Minecraft server as a systemd unit file. This way my server can be 24/7 without me having to keep my terminal ...
uncle moose's user avatar
0 votes
1 answer
203 views

Shutdown hangs for one minute while umounting NFS shares on kubuntu 22.04

I am running kubuntu 22.04 on two desktop machines. I have parts of the users' home directories mounted via NFS 3 (fstab with defaults). A few months ago I started encountering problems during ...
ordo's user avatar
  • 1
0 votes
1 answer
125 views

need help creating a non-root systemd service

I'm using ubuntu 22 and currently have a user and group named "steam" When I want to run my cs2 server , I first switch to steam user : su steam Then I run the following command : cs2-...
lostsoul6's user avatar
8 votes
1 answer
430 views

Systemd: DISPLAY, XAUTHORITY variables are not enough to start Graphical dialogue in Wayland

I use the following in systemd .conf file to run a graphical zenity dialog every time specific device with SMART capability is inserted to the USB port. This works fine in Xubuntu which uses X display ...
rusty's user avatar
  • 16.3k
0 votes
0 answers
74 views

how to install apache flink on wsl2 ubuntu of windows 11

Below is my Apache Flink Installation process on wsl2 ubuntu of Windows 11. First, openjdk-11 installation $ sudo apt update $ sudo apt upgrade $ sudo apt install openjdk-11-jdk systemd installation, ...
Joseph Hwang's user avatar
4 votes
4 answers
660 views

Systemd does not see external drive partition when running ExecStart command

I am trying to run calibre-server at startup. Here is an example of the service content [Unit] Description=calibre Content server After=network.target [Service] Type=simple User=root Group=root ...
kkris1983's user avatar
  • 143
0 votes
0 answers
154 views

How to *enable* systemd-oomd on a service in system.slice? OOM-kill for non-user .service

So, Jammy 22.04 brought us new goodies, systemd-oomd. Long overdue, IMO... but asking this in 2024 I'm somewhat late to the party, too. Everyone has asked already how to disable it — yet, I'm failing ...
ulidtko's user avatar
  • 5,772
0 votes
0 answers
50 views

Gitea snap service file replaced

I installed gitea with snap on Ubuntu some weeks ago. Yesterday the service stopped to work and after digging into to logs I found that systemd service file had beed changed. The file is: /etc/systemd/...
dash1e's user avatar
  • 101
1 vote
1 answer
76 views

create a dependencies for services with systemd

im trying to create a ServiceB that start after ServiceA starts. This is what i tried to do : ServiceA file: [Unit] Description=ServiceA After=network.target [Service] ExecStartPre=running some ...
Noa Tzur's user avatar
0 votes
1 answer
35 views

rsyslog and dbus (and others) failing to start after custom-partition install

After installing Ubuntu 22.04.3 with the option to manually choose the partitions (for dual boot reasons; I chose /boot on an 2 GB ext2 partition and / on an encrypted ext4 partition), systemd-...
hsivonen's user avatar
  • 2,617
0 votes
0 answers
49 views

Start my service only after docker container is up

[Unit] After=syslog.target network.target remote-fs.target nss-lookup.target [Service] Type=simple Restart=on-failure LimitNOFILE=10000 RestartSec=5s WorkingDirectory=... ExecStart=... [Install] ...
bilogic's user avatar
  • 233
2 votes
2 answers
478 views

What is a good way to run my Docker containerized application as a systemd service?

More and more applications have manuals telling you to preferrably run it within a docker container. But if you want an application to follow the system runlevels of the linux operating system that ...
Maarten's user avatar
  • 692
0 votes
0 answers
61 views

Displays different messages at boot time

I see different messages while the system is booting. Some of them have been added recently. Why are these messages displayed? MDS CPU bug present and SMT on, data leak possible. See https://www....
fsgdfgdfgd's user avatar
0 votes
0 answers
28 views

Assertion 's' failed at src/basic/cgroup-util.c:1852, function cg_mask_to_string(). Aborting 22.04 LTS

systemd version the issue has been seen with 249.11-0ubuntu3.11 Used distribution Ubuntu 22.04.3 Linux kernel version used 6.2.0-39-generic CPU architectures issue was seen on x86_64 Expected ...
iugo's user avatar
  • 101
0 votes
0 answers
297 views

polkit.service running, but getting authorization protocol specified

I need to run sudo balena-etcher and I keep getting "Error: No polkit authentication agent found", it seems I need something like polkit-gnome-1 running, but whenever I try to run it I get ...
Nikola-Milovic's user avatar
0 votes
0 answers
148 views

bad-setting error, bad unit file setting (ubuntu server 22.04.3)

I have made a terraria server and I want it to launch on startup in a new screen session. It also runs a minecraft server, for which I use mcrcon to send commands, but I dont think terraria supports ...
Penrosian's user avatar
0 votes
0 answers
29 views

Is "ppimaintserver:~$ sudo nano 00-installer-config.yaml" the same as "ppimaintserver:/etc/netplan$ sudo nano 00-installer-config.yaml" [duplicate]

Sorry for the stupid question Is ppimaintserver:~$ sudo nano 00-installer-config.yaml the same as ppimaintserver:/etc/netplan$ sudo nano 00-installer-config.yaml My spider sense tells me this is a ...
Rob's user avatar
  • 1
2 votes
1 answer
453 views

How to run emacs daemon as a systemd service with Wayland on Ubuntu 22.04+?

The stock systemd user service file for emacs 29.1 looks something like this: [Unit] Description=Emacs text editor Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/ [Service] Type=...
donatello's user avatar
  • 860
1 vote
0 answers
90 views

Need to manually activate bluetooth at every boot/wake-up

Since upgrading to Ubuntu 23.10, bluetooth starts turned off on Gnome shell whenever I reboot or wake up from suspend. I need to go there and turn on the Bluetooth pill in the menu, while I believe ...
kindaichi's user avatar
0 votes
1 answer
97 views

systemctl --user vs .config/autostart/*.desktop - when to use which?

I'm developing something similar to ActivityWatch, a daemon that keeps log of what I'm doing and when I was active at my desktop. I would like that to start when I log on and be killed when I log out ...
Peter V. Mørch's user avatar
0 votes
1 answer
166 views

Run a command using system.service ./start start

I'm trying to get my system.service file to run a command that is inside my start script. I've tried adding StandardInput= which did not work, so I believe I misunderstood how that operates. I've also ...
Lex King's user avatar
0 votes
0 answers
238 views

netplan/udevadm broken in Ubuntu 22 LXC containers

The physical host is running 18.04.6 LTS and LXD/LXC 3.0.3. I have two unprivileged containers, one Ubuntu 18.04 container and a new Ubuntu 22.04 container. (Using the default images that lxc launch ...
Curtis's user avatar
  • 101
0 votes
1 answer
34 views

why does zed exit after resume?

I use ZFS on my desktop. I want zed(8) (ZFS event daemon) running constantly so I'm logging stuff like scrubs, trims, and problems. For some reason, zed exits after I resume my desktop from suspend. ...
Adam Monsen's user avatar
  • 2,215
1 vote
1 answer
943 views

How to find cgroup memory limit in Ubuntu 22.04?

Using VERSION="22.04 LTS" and trying to find the memory limit which memory.limit_in_bytes or memory.max' gives. However, it looks there is no '/sys/fs/cgroup/memory/memory.limit_in_bytes' ...
mon's user avatar
  • 289
0 votes
0 answers
467 views

Can't power off, irqs disabled, daemon service

First of all I m sorry if my problem has been solved somewhere else I didn't notice, please know I tried. So I recently bought the Erazer Crawler E30e, and I want to have Ubuntu 22.04 as my main OS (I ...
zazam7's user avatar
  • 1
4 votes
1 answer
382 views

How can I disable the program unclutter without remove its package?

On my lubuntu 22.04 I have installed the package unclutter by the command: sudo apt-get install unclutter A description of this package is the following: unclutter hides your X mouse cursor when you ...
User051209's user avatar
0 votes
0 answers
160 views

rc.local runs at wrong time

I recently installed and set up Ubuntu Server 22.04.03 onto a machine at home. I can SSH into it from my desktop perfectly fine, but I still have a keyboard and monitor attached for the time being. ...
ch4rl1e97's user avatar
  • 101
1 vote
1 answer
3k views

How to solve "Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 142" error when trying to start ejabberd service?

I have tried to start ejabberd service with systemctl in Ubuntu 22.04, but I keep getting: Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 142
Kisembo Desire's user avatar
0 votes
0 answers
122 views

screen rotation fix with ACCEL_MOUNT_MATRIX on TrekStor SurfTab W1

Hi askUbuntu community I recently managed to install Ubuntu 22.04 on a TrekStor Surftab W1 10.1, and I have problems with the screen rotation. With research, I figured out that I need to adapt the ...
JoniG59's user avatar
0 votes
0 answers
571 views

Networking.service fails with Ubuntu 22.04

Under Ubuntu 22.04 my networking.service is failing. Apparently because [email protected] is failing. But all networks are up. I use /etc/network/interfaces to set up the networks. When I try to bring ...
TouroLouco's user avatar
0 votes
0 answers
92 views

systemd path unit files - how do I get the filename that triggered the path unit file

I want to use systemd path unit files to run a script when a file gets copied into a particular folder. Where I'm failing is that I don't know how to get the filename that triggered the systemd path ...
w_tbt's user avatar
  • 51
0 votes
1 answer
136 views

Background services on startup [closed]

My question is ideological, I want my system to be lightweight but over time I accumulate services that I need from time to time but not always. I was reading this. Why would services like postgres, ...
ataha322's user avatar
1 vote
1 answer
315 views

Ubuntu Server 22.04 without systemd networking on startup

I sometimes want to start my little server device without networking --- in particular if I don't have a network currently connected. (the device is moved around.) is there a systemctl to disable the ...
user1539216's user avatar
0 votes
0 answers
43 views

Ubuntu 22:04 won't start after deleting Windows partition

This is what it's showing. There was no use for Windows and I needed more free space for the Linux partition, so I decided to delete the Windows partition from Ubuntu Disks utility. After I restarted ...
qwwert's user avatar
  • 1
0 votes
0 answers
362 views

/etc/systemd/logind.conf ignored, no "power button behavior" in settings, how to disable the key?

I am trying to disable this popup menu of Ubuntu which shows up when you press the physical power button of your PC. I also don't want the power button to turn off my PC, I want it to be ignored by ...
smsware's user avatar
  • 101
0 votes
1 answer
581 views

User systemd unit cannot find system docker.service

I am trying to launch some docker containers under ubuntu 22.04 using a systemd user service. Since the docker containers need the docker daemon running, I include the Requires=docker.service in the ...
John Canning's user avatar
0 votes
1 answer
46 views

Audio feedback loop on login screen

I use Lightdm and Cinnamon on Ubuntu 20.04 LTS. Every time the computer boots to the login screen, its microphone input is audible on its loudspeakers, so any noise I make (such as typing my password) ...
Zoltan's user avatar
  • 657
1 vote
0 answers
110 views

Services not starting after upgrade 18.04 -> 20.04

need some help. After upgrading the following services wont start again: UNIT LOAD ACTIVE SUB DESCRIPTION ● networkd-dispatcher.service loaded ...
Alex Sebastian's user avatar
2 votes
1 answer
3k views

How to answer "Which services should be restarted?" after running `apt dist-upgrade` in console?

After running apt dist-upgrade in a root shell in Ubuntu Server 22.04.3, sometimes the question Which services should be restarted? is shown. Example: Restarting services... Daemons using outdated ...
x-ray's user avatar
  • 131
3 votes
2 answers
765 views

display a dialog box before shutting down

When you shut down you get the "Are you sure..." dialog. Occasionally I want to send myself a reminder e.g. to run an overnight job instead of shutting down. Then I'd need to display ...
adrianhb's user avatar
2 votes
2 answers
2k views

How to allow a user to start/stop a specific system service?

I am building a server on which my students will be able to upload their projects, which are Python+Flask web-applications. When I add a new user, I add a new service in /etc/systemd/system/[username]....
Erel Segal-Halevi's user avatar
0 votes
0 answers
103 views

Can disabling `NetworkManager-wait-online.service` be considered harmful? What are alternatives?

My computer spends ~5s of startup time waiting for the wifi[1]. This answer promotes disabling NetworkManager-wait-online.service, and this works indeed. However, I was wondering if this may introduce ...
red_trumpet's user avatar
  • 1,849
0 votes
0 answers
110 views

Boot is very slow

Boot is very slow. systemd-analyze blame: 32.737s plymouth-quit-wait.service 15.396s e2scrub_reap.service 11.650s ModemManager.service 11.355s systemd-journal-flush.service 8.191s dev-sda2.device 6....
UnitedKingdom's user avatar

1
2 3 4 5
33