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
1answer
24 views

systemd: how to make sure a service is started only after another service is up and running

On a Ubuntu 20.04.2 TLS server, I have a need to start a service after another one has fully started up. Specifically, the openvpn-server service creates a tun0 interface with the IP address 10.87.0.1 ...
0
votes
0answers
15 views

minidlna not starting correctly

Been running Bubble UPnP with minidlna for several years but after a break I've recently gone back and am having trouble with minidlna not starting up correctly every time. More specifically minidlna ...
0
votes
0answers
24 views

Chrome Remote Desktop service unable to start because of “pam_unix(sudo:auth): auth could not identify password for…” [closed]

I was trying to install the Google Chrome Remote Desktop on Zorin OS 15.3 (Ubuntu 18.04 base), and the service won't start due to pam_unix(sudo:auth): auth could not identify password for... issue. I ...
0
votes
1answer
24 views

What is the difference betweem daemon-reload and reload?

daemon-reload - Load the unit configuration file of the running designated unit(s) to make unit file configuration changes without stopping the service. Note that this is different from the reload ...
0
votes
0answers
30 views

Using systemd services to launch programs at boot, can view topics/nodes but can't subscribe

I have a master(Ubuntu18.04+Melodic on Jetson Nano) and slave(Ubuntu 16.04+Kinetic on PC) conected properly. I am able to run ros nodes and have full duplex without any issues when these nodes are ...
0
votes
1answer
19 views

transmission-daemon configuration not working

I am trying to access transmission-daemon over HTTP. I have thus edited the rpc-whitelist option in /etc/transmission-daemon/settings.json. I did stop and restart the daemon while editing the config. ...
0
votes
0answers
31 views

how to run non root user command as a service?

I wrote a command to take sql server back in ubuntu 18.04 and put that command in the .sh file. It is working fine either i run the command directly in terminal or run by .sh file, in both cases ...
0
votes
0answers
12 views

nfs-server.service doesen't start if I share a directory in a mounted disk

on Ubuntu 18.04 the nfs-server.service service fails because it does not find the shared directory which is contained in a separate disk. The error (from /var/log/syslog) is as follows: Apr 22 13:27:...
0
votes
1answer
29 views

How to start service after resume from hibernate in Ubuntu 20.04?

Running Ubuntu 20.04. In order to conserve battery life, I have a service that runs at boot that will cap the charge level to 80%, see service below (/etc/systemd/system/battery-charge-threshold....
1
vote
0answers
21 views

Why the OS executes lz4?

I have no scheduled backups but I saw that lz4 was been executed, why is that? is it the same as the compressor software? I would like to understand what's going on and why it is been executed. I'm ...
0
votes
0answers
39 views

Systemd user service not starting automatically

This has been asked many times in some form or another but none of the advice seems to have helped. I want to run syndaemon after I login to the GUI, but I always have to start it manually $ systemctl ...
0
votes
1answer
29 views

Cannot stop screen started with systemctl start

On ubuntu server 20.04 I created a service definition for a Minecraft server within a screen session like that [Unit] Description=Minecraft Server After=network.target [Service] User=minecraft Nice=...
0
votes
0answers
18 views

ubuntu 20.04 booting time is very slow ( around 2 minutes)

processor : i7-7380qm disk : hdd 640 gb ram : 8gb i use dual boot win10(takes around 20 sec to open) and ubuntu20.04(takes around 2 mins to open) when i run systemd-analyze i get Startup finished ...
0
votes
2answers
78 views

How to disable onedrive service from autostarting

I installed "onedrive" from repo. Works great but I don't want it to start automatically. I'm tired of turning it off after each reboot - how to fix it? I'm turning it off using systemctl --...
0
votes
0answers
17 views

How to prevent (or at least automatically fix) `avahi-daemon: running [ubuntu_comp_hostname.local]` getting replaced with version with `-2` appended?

I have this problem where this: #=> avahi-daemon: running [ubuntu_comp_hostname.local] keeps getting itself replaced with a version with a -2 appended: #=> avahi-daemon: running [...
0
votes
0answers
53 views

Ubuntu 20.10 Very Slow boot

Please help me , What I can do improve the boot time. systemd-analyze command gives the output below: startup finished in 9.573s (kernel) + 1min 41.484s (userspace) = 1min 51.058s graphical.target ...
0
votes
0answers
31 views

no /etc/default/portmap file in ubuntu 20.04

My computer running Pop!_OS 20.04 (basically Ubuntu 20.04 with some additions) doesn't have a portmap file to resolve port numbers to service names. I did a sudo apt install portmap which installed a ...
0
votes
0answers
80 views

Snap not working properly after cloning ubuntu 20.04 to a new disk

I recently cloned my system to a new drive using dd. Everything seem fine. However, Snap is not working as expected. The programs actually work perfectly, but snap doesn't seem to detect them. Ubuntu ...
0
votes
1answer
63 views

How to print in current terminal new logs arriving in a logfile?

I can't find the answer to my question, and I don't know how to proceed... I would like to print in my current terminal (possibly only for a specific user) new logs added to a logfile, without running ...
0
votes
0answers
15 views

How do I enable a service in recovery mode using systemd?

I have this custom service and I need it to run in recovery mode as well as the multi-user mode of ubuntu. I've added a .service file for this in the /etc/systemd/system/ folder with the following ...
0
votes
0answers
14 views

Delay Showing GUI before python script has finished

I currently have a service using systemd that runs a pythonscript after the user is automatically logged in. The script opens a webrowser. Is there a way that a can run the script before the user ...
0
votes
0answers
27 views

How to unmask and start a dhcpd service? [duplicate]

I was about to start my dhcpd service but couldn't do it since it was masked. I tried systemctl unmask dhcpd.service but it does not work. Any suggestion?
1
vote
1answer
35 views

Installing GNOME desktop in Kubuntu: getting rid of KDE Wallet Service

I have Kubuntu 20.10. Now I wanted the GNOME desktop. So I installed the package ubuntu-desktop and removed all the packages kde* and plasma*. I also changed the plymouth theme. But now eveytime I ...
0
votes
1answer
33 views

Ubuntu 18.04 service not executing on startup even when its enabled

I have a service I want to run right after my computer start. The steps I've followed for it are as follows: Create cv Create cv-init.service in /usr/lib/systemd/system Format the file as shown below ...
0
votes
2answers
146 views

xfce4-notifyd doesn't start automatically, and I don't know how to start it

I'm using Xubuntu 20.10 and have noticed that no notifications come through, and when I check my notifications settings, it says "The notification service is not running. No notifications will be ...
0
votes
1answer
111 views

Can't disable netplan-ovs-cleanup.service [duplicate]

After installing all updates on Ubuntu 20.04 LTS, I got this issue on monitoring. One of the systemd services is still failing, and I can't disable it. ● netplan-ovs-cleanup.service - OpenVSwitch ...
1
vote
2answers
81 views

mongod vs systemctl start mongod

When I try to start mongod as a service, it fails: $ sudo service mongod start $ sudo service mongod status ● mongod.service - MongoDB Database Server Loaded: loaded (/lib/systemd/system/mongod....
0
votes
0answers
52 views

How to set up a systemd service to listen on a socket and copy the contents to the clipboard?

I am trying to follow this tutorial which will help me copy text from remote tmux sessions onto my local clipboard. The first there is to setup a systemd service which listens on a given port on the ...
0
votes
1answer
24 views

Find system service by conf file

Setup: The task is to remove all proxy settings. Now I came across a proxy.conf file at /root/http-proxy.conf that contains this (with different IP ): [Service] Environment="HTTPS_PROXY=https://...
0
votes
2answers
141 views

Ubuntu 20.04 LTS: Editing the user for a service run by a snap package

I installed Sonarr from the Ubuntu application center, and from what I can tell it is part of a snap package. The service cannot access a hard drive mount I am using. I set up the drive in order to be ...
0
votes
1answer
67 views

Have the display manager start synergy server before login in ubuntu 18.04 LTS

I am using Ubuntu 18.04 LTS and Windows 10 PC with Synergy Version: 1.11.1rc2-4a90760e. On Windows client, it is automatically started before login and works fine. My ubuntu server doesn't have ...
0
votes
1answer
37 views

Why is my service timing out when I can clearly see it started properly?

Here is my log : Feb 10 10:19:25 ip-172-31-47-29 systemd[1]: Starting TNR Photo Download Service... Feb 10 10:19:26 ip-172-31-47-29 tnr-photos[67938]: Server running on port 2200 Feb 10 10:20:56 ip-...
0
votes
1answer
105 views

Which Lubuntu services could I block, without breaking the OS ? Just for security reasons

sudo netstat -tulpn Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.53:53 ...
0
votes
0answers
260 views

20.04 LTS won't boot: systemd-logind.service failed to connect stdout to the journal socket and lots of failures during boot

Luckily, I have a snapshot of ny Ubuntu 20.04 server because when I reboot it, during bootI see many services failing and then in hangs on systemd-logind.service failed to connect stdout to the ...
0
votes
0answers
93 views

Plex service cannot start

I have tried to install Plex media server on my Ubuntu 18.04 server edition using this method: https://linuxize.com/post/how-to-install-plex-media-server-on-ubuntu-18-04/ But the command "sudo ...
0
votes
0answers
14 views

How to read the output of a daemon?

I installed hddtemp and ran it as a daemon. Finding its sport is not a problem. What I am curious is "how can I read the output of the daemon?" I was hoping it would be as easy as opening ...
0
votes
1answer
98 views

How to give a permission to create log file in systemd service?

Here is the line to start a process in systemd service and save log to /var/log/besu: ExecStart=/bin/sh -c "$HOME/bin/besu/bin/besu --config-file=$HOME/bin/besu_network/node1/config.toml >>...
0
votes
1answer
34 views

How work with conditionnal stdout/stdin

Initially, I want to check if a service is running or not in a bash script automaticly. Then I found a command I don't understand but which work well : /usr/sbin/service mysql status || /usr/sbin/...
1
vote
1answer
40 views

Gnome Help persists on launching even without opening the application

I initially asked this question in Information Security then it was migrated to Unix & Linux community. However, I think this question is also specific to Ubuntu. TL;DR The problem is that the ...
2
votes
4answers
455 views

How do I avoid timeouts and get Apache2 to start at system startup?

I'm using Ubuntu 18.04 with the default install of Apache, in which I configured a virtual directory. I would like to run Apache as a srevice, that automatically starts when the system reboots. I ...
0
votes
0answers
41 views

Boot and Login takes forever

My machine consists of a dual boot between Windows 10 (ssd) and Ubuntu 20.04 (hdd), 16gb ram, i7 and a GTX 1050. Booting and loging in on Ubuntu takes forever, please check the output of systemd-...
0
votes
1answer
32 views

I'm trying to start a .jar file with linux boot

Is there a command to make it. I'm trying to run a .jar file with linux boot and make it run all the time.
0
votes
0answers
12 views

How to get notified when sshuttle aborts?

I use sshuttle to have a secure connection when using public WiFi. Sometimes sshuttle aborts silently and all further traffic is then unsecured until I re-start it. I can use the pidfile and check the ...
4
votes
1answer
3k views

How to disable AnyDesk autostart in Ubuntu?

AnyDesk runs in Ubuntu startup and I couldn't find any setting in order to disable it in its settings. How can I disable AnyDesk autostart?
1
vote
2answers
681 views

After system repair, snapd service is not running/fails to restart

I have kubuntu 20.10 that was moved from a bad hard disk to a new one. After I managed to get the system running, I have the following problem: any reference to snap (eg. snap refresh) results in the ...
2
votes
1answer
1k views

systemctl status active: exited vs running

Sorry for this noob question, I searched for it and found no explanation. I'm unable to understand the different of systemctl status active (exited) for active (running). Here are 2 examples on my ...
1
vote
0answers
467 views

Docker contents: images, volumes containers are missing after Ubuntu 20.04 VM restart

I have Ubuntu 20.04 VM with installed latest docker_compose, after the last VM update and restart all the docker's data is missing. $ docker container ls CONTAINER ID IMAGE COMMAND CREATED ...
0
votes
0answers
71 views

Should we `enable` the Systemd User service `pulseaudio.service`? [duplicate]

Checking my pulseaudio config, I just realized there is a /usr/lib/systemd/user/pulseaudio.service provided by the pulseaudio package. It is disabled, but pulseaudio works completely fine without. ...
-3
votes
2answers
244 views

Should we `enable` the User Systemd service `pulseaudio.service`?

I just realized there is a /usr/lib/systemd/user/pulseaudio.service provided by the pulseaudio package. It is disabled but pulseaudio works completely fine without. Have been using it for a year. Don'...
1
vote
0answers
345 views

ConditionPathIsDirectory=/sys/class/bluetooth was not met

The output of systemctl status bluetooth is: ● bluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled) Active: inactive (...

1
2 3 4 5
22