Questions tagged [services]

Daemons are programs that constantly run in the background. They usually service requests. If you are asking about online services, please use a different tag.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

Boot from nvme ssd in Jetson Nano periodically fails

I have followed instructions from this link in order to make my Jetson Nano custom board boot from nvme ssd disk. It is working most of the time. But, sometimes, after reboot the service responsible ...
Giorgos Betsos's user avatar
1 vote
0 answers
235 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
1 vote
0 answers
45 views

Only root can send notification

I'm aware of the two other posts describing the same problem, however none of the solutions proposed there have worked for me. I'm running Ubuntu 22.04.3 LTS and using GNOME 42.9 as my Desktop ...
Robin Olivier's user avatar
0 votes
1 answer
55 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
0 votes
0 answers
14 views

Installing MariaDB with different account

I would like to install MariaDB on Ubuntu with a different account. What I see ? If I simple apt install mariadb-server it deploys MariaDB with mysql user and mysql group. I tried first to reconfigure ...
supi007's user avatar
0 votes
0 answers
68 views

Run redis without interactive WSL shell

I'm moving my development environment to a new laptop and cannot get redis installed the same way as the old machine. To avoid XY, my goal is to have redis server run locally in WSL and I not need an ...
mlhDev's user avatar
  • 101
0 votes
0 answers
27 views

Cancel in-process hibernation from event service

I have the following custom service running at hibernation: [Unit] Description=Unmount shared DATA partition *BEFORE* hibernate and hybrid-sleep Before=hybrid-sleep.target Before=hibernate.target #...
Makaveli84's user avatar
3 votes
2 answers
475 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
0 votes
0 answers
34 views

Service can't start or connect to pulseaudio

I installed Ubuntu Server 23.04 and afterwards manually installed kodi and pulseaudio. I'm also using the kodi-standalone service to start kodi automatically on boot. The problem is, that the service ...
schumischumi's user avatar
0 votes
0 answers
50 views

bash install without restart popups

Bash script at bottom, on Ubuntu 22.04. It keeps getting popups to restart services on install, you can see I have tried quite a few approaches. sudo apt update -y and sudo apt install -y libgl1 ...
msj121's user avatar
  • 101
1 vote
2 answers
341 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
26 views

Is service necessary for grub

When I run, sudo service --status-all | grep + I can see all services, then for me is good remove all service and use most necessary only, then, what service I need not remove for don't modify grub ...
saravia's user avatar
0 votes
0 answers
48 views

Failed to start Snappy Daemon Errors

Please, how do I resolve the mentioned error. I tried to Ctrl+Alt+F2 but still experiencing the same. The prompt to input password does not come.
Moses Patson Phiri's user avatar
1 vote
1 answer
117 views

Can’t start IPFS daemon - ipfs.service: Failed with result ‘exit-code’

Even though I'm a noob, I decided to launch a new AWS Ubuntu instance for my IPFS node and encountering errors. I followed this tutorial - https://medium.com/textileio/tutorial-setting-up-an-ipfs-peer-...
bafew80778's user avatar
0 votes
0 answers
66 views

Custom Service on server 22.04LTS failing due to spawning multiple globalprotect instances

I have tested this on several ubuntu 22.04LTS servers (CLI only) and so far proving unstable. I created a new service which runs a shell script to start up Palo Alto Networks globalprotect VPN client ...
olivy's user avatar
  • 1
0 votes
0 answers
507 views

Accessing DISPLAY environment variable in systemd service file

I have a systemd service in user session. When the user logs in, this DISPLAY is set (by the Xserver) and I want to access the DISPLAY environment in the service file. This is my service unit. [...
Vipul Gupta's user avatar
1 vote
0 answers
60 views

Systemd not finding linked service after reboot (22.04)

A service file resides at /home/user/workspace/xyz.service. Using systemctl enable with the absolute path puts a link in /etc/systemd/system/ so I can run it as service xyz restart. However, I am ...
Matthew Foran's user avatar
0 votes
1 answer
88 views

GUI application fails to launch as a systemd service(daemon) in system session

I m trying to run a GUI application as a systemd service in system mode but it fails to launch with the error : GTKTest[236921]: Unable to init server: Could not connect: Connection refused unknown[...
Vipul Gupta's user avatar
0 votes
0 answers
174 views

GUI application fails to launch as a systemd service(daemon) in user mode

I have created a systemd service to run a Gui application in user mode. This is my .service file located at ~/.config/systemd/user. [Unit] Description=daemon service in user session created for ...
Vipul Gupta's user avatar
0 votes
0 answers
160 views

How to deploy two samba server instances on Ubuntu 22.04.2

I've searched for information about this topic, but it seems to be a strange thing that almost nobody cares about. I have found some old information, but either it is outdated or it is unanswered ...
Free's user avatar
  • 13
0 votes
1 answer
71 views

how to properly mask ssh server background service

I want to mask ssh so the ssh server is disabled till I need it myself. but still want to have ssh client capabilities. I use openssh and the service is ssh.service and its alias sshd.service I use ...
Usermaxn's user avatar
  • 197
0 votes
0 answers
29 views

Unrecognized COMMAND/service 'chipper,' how to find host package? [duplicate]

I'm trying to run a local apache server on a dedicated ubuntu 22.04.1 LTS server machine. However, I can't get apache2 to start. Every time I try sudo systemctl restart apache2 I'm told that it failed ...
officialrewind's user avatar
1 vote
0 answers
327 views

systemctl: Failed to connect to bus

On Ubuntu 22.04, I'm trying to set up xscreensaver as a daemon using systemctl. Following these instructions, I've created the following at ~/.config/systemd/user/xscreensaver.service: [Unit] ...
Daniel W.'s user avatar
  • 211
1 vote
0 answers
200 views

PvRecorder throws error when run in systemd service

I am trying to run PvRecorder on my Raspberry Pi 4 with Ubuntu 23.04 in a python script, and it works fine when run on its own, but when I run it using a systemd service, it throws errors. This is my ...
LordOfFrogs's user avatar
1 vote
0 answers
378 views

Slow boot time in ubuntu 22.04

I am new to Ubuntu.Just wanted to know if there is any way to reduce my boot time any further(I am using HDD).Currently it takes 1 min 31 seconds. systemd-analyze Startup finished in 8.061s (kernel) + ...
user1566092's user avatar
2 votes
1 answer
119 views

What is the difference between an Autostart App and a system service?

I'm working on creating an auto-start script that will launch & run my applications upon startup. I've created a .sh file that will run my applications but I've found 2 different ways I can run ...
Lostinubuntu's user avatar
0 votes
1 answer
319 views

Problem with docker daemon after installing (and unnistaling) docker desktop

I tried to install, docker desktop on my pc and after getting it, a project I had stopped working because of it I guess and docker. After supposedly uninstalling it with the following commands: dpkg -...
Pnemonic's user avatar
0 votes
0 answers
36 views

after ubuntu update, docker got this error: cannot connect to the docker daemon. is the docker daemon running?

before ubuntu update, docker runs automatically on boot. without needing me to log in and manually launch docker desktop. but it work fine if i manually launch docker desktop after i log in. anyway, ...
orangpelupa's user avatar
1 vote
1 answer
125 views

Disable Touchscreen Dell XT3 on Ubuntu 23.04

Laptop Make and Model Dell Latitude XT3 Memory : 4 GB Processor : Intel® Core™ i5-2520M CPU @ 2.50GHz × 4 Graphics : Mesa Intel® HD Graphics 3000 (SNB GT2) The Problem Touchscreen becomes glitchy ...
shankar's user avatar
  • 21
0 votes
0 answers
47 views

Run Mono Application on Startup with a Service

When the ubuntu system boots up, my service that starts test.exe fails (using systemctl status Testprog.service): at System.Windows.Forms.XplatUIX11..ctor () at System.Windows.Forms.XplatUIX11....
INTENSA's user avatar
0 votes
2 answers
171 views

Add system password while running the .sh file

My problem is when my pc start I want to disable mysql service with below command sudo service mysql stop || service mysql stop in both case system is asking for system password so I am entering the ...
Hardik Desai's user avatar
3 votes
1 answer
791 views

How to 'strace' a systemd service on startup?

I'm working on an embedded system running a stripped down version of Ubuntu 22.04. We've recently updated some hardware in the embedded system and I'm working on getting our Ubuntu image working on ...
Gogeta70's user avatar
  • 267
1 vote
0 answers
132 views

Keep getting " Failed to reload daemon: Failed to activate service ‘org.freedesktop.systemd1’ "

Ubuntu 20.04.6 About 3 weeks ago I started getting the message " Failed to reload daemon: Failed to activate service ‘org.freedesktop.systemd1’ " doing a system update. But the server seems ...
Nigel Aves's user avatar
2 votes
1 answer
392 views

Firebase private key file as environment variable

I'm very new to Ubuntu and developing a project based on firebase firestore database. Trying to run services on ubuntu server 22.04. I can connect firestore database (in windows I can do this by using ...
newbie's user avatar
  • 131
1 vote
1 answer
2k views

How to stop and disable CUPS service in Ubuntu 22.04

I have noticed with top that the cups-browsed process is taking all of my RAM and CPU. This is apparently an open issue as of today. I want to disable it to make my computer usable again. Previous ...
darmual's user avatar
  • 151
2 votes
1 answer
794 views

Launch Firefox as a system service on bootup

System -> Ubuntu 22.04 LTS Firefox -> Mozilla Firefox 110.0 (Not using snap firefox) Use Case -> Launch firefox as a system service on system bootup. Created a service as follows -> [Unit] ...
shaggy's user avatar
  • 35
1 vote
1 answer
736 views

Cannot use systemctl as a user after a "sudo su - media" : Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined

I'm trying to create a service as a user but it does not work : admin $ sudo su - media $ systemctl --user edit fmgr-copro.service --full --force Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS ...
SebMa's user avatar
  • 2,161
0 votes
0 answers
72 views

Make Ubuntu wait for service to stop before rebooting

I have a mini pc running Kubernetes (k3s) with homeassistant. The issue leading to the question When I do a sudo reboot (forgetting that the home assistant is running) the sqlite database becomes ...
JoSSte's user avatar
  • 188
0 votes
0 answers
399 views

systemd service fails to start script in home directory

I would like to start a python script (i.e. a Flask server) at boot of Ubuntu 22.04. I have created a file /lib/systemd/system/myService.service with following content: [Unit] Description=The service ...
BlackHawk's user avatar
  • 101
0 votes
0 answers
318 views

Error in Ubuntu Server for service bind9

Error in service bind9 when I'm starting root@ServerRedes:~# service binder status named.service - BIND Domain Name Server Loaded: loaded (/lib/systemd/system/named.service; enabled; vendor ...
test.netwokring's user avatar
0 votes
0 answers
37 views

Cant reach opened port on Oracle ubuntu

like i wrote in topic, i cant reach opened port 25565 but i can reach opened port 4000 like below. On port 4000 i have nomachine service and everything works fine. PS C:\Users\WONSZ> Test-...
wilkerek's user avatar
0 votes
0 answers
281 views

avahi daemon - how do I publish a local ip?

I have a local network which I want to use avahi daemon to publish and spread the ip of 10.0.0.XX and alike. I've written an XML: <service-group> <name>dev-10</name> <service&...
s_s123's user avatar
  • 1
3 votes
2 answers
4k views

How to run a docker-compose as a systemd service?

I found this question, but that one uses cron - I'd like to use a systemd service instead. My docker-compose.yml is in /home/me, and I run it with sudo docker compose up (and just keep it running in ...
cocomac's user avatar
  • 3,166
0 votes
0 answers
64 views

My Postgres always shutdown in a while (around 1 hour)

I have a problem about Postgres and Ubuntu VPS. My service always shutdown without no reason. Below is Postgres's log. Could anyone take a look at this situation please? (Click image to enlarge)
Tim Dang's user avatar
0 votes
1 answer
158 views

How to connect to pulseaudio server from service

I'm developing a simple app to duck audio automatically using the pulsectl-asyncio library. I've developed the application in Python with a virtual environment, and when I run the script from the ...
MemoNick's user avatar
  • 119
0 votes
0 answers
122 views

Ubuntu 20.0 server LTS, disabling HDMI port

I'm using a rock 4 SE board and have put an ubuntu 20 server linux image on it. It doesn't really have a gui but has a command line console. How would i go about disabling the hdmi port on this rock ...
Bad programmer 's user avatar
0 votes
1 answer
270 views

Systemctl cannot start service which uses ttyACM0 port after reboot

I need to start my own service (SignalR client) written in C# (.NET6) after ttyACM0 port is available. This service should be started after other service (SignalR server). The server service starts ...
Chebona's user avatar
-1 votes
1 answer
586 views

Problem ubuntu-advantage-desktop-daemon.service is a disabled or a static unit not running, not starting it

My O.S. is ubuntu 22.04. After punching in terminal, the following message is being displayed: ubuntu-advantage-desktop-daemon.service is a disabled or a static unit not running, not starting it. How ...
mfskanpur's user avatar
1 vote
0 answers
930 views

Dummy Output Ubuntu 22.10 + Intel Comet Lake PCH-LP cAVS + i5 10210U

Well guys, im new into Ubuntu, and i have this problem,i'm totally sure that my sound card is not broken, because at the beggining when i was with 22.04 LTS, it worked, until i paired a bluetooth ...
ulises chustek's user avatar
0 votes
0 answers
200 views

How to run docker container as service if docker installed using snap

I have faced with the issue that when I create the following service: Description=Start Service Code After=snap.docker.dockerd.service Wants=network-online.target Requires=snap.docker.dockerd.service ...
Denis Kotov's user avatar

1
2 3 4 5
25