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.
1,229
questions
1
vote
0
answers
585
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
1
answer
2k
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
0
answers
36
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
1
answer
245
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
1
answer
2k
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
2
answers
2k
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
1
answer
3k
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
2
answers
3k
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....
2
votes
0
answers
420
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
1
answer
347
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://...
2
votes
4
answers
3k
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 ...
1
vote
1
answer
810
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
1
answer
1k
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-...
1
vote
1
answer
473
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 ...
2
votes
1
answer
3k
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 ...
1
vote
0
answers
2k
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 apt ...
0
votes
1
answer
5k
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
1
answer
121
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
1
answer
128
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 ...
3
votes
4
answers
7k
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
0
answers
237
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
1
answer
548
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.
71
votes
2
answers
49k
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?
6
votes
2
answers
19k
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 ...
5
votes
1
answer
25k
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 ...
2
votes
0
answers
2k
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 ...
-1
votes
0
answers
74
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
2
answers
4k
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'...
5
votes
0
answers
3k
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 (...
0
votes
1
answer
66
views
Kubuntu not bootable anymore
I am using Kubuntu 20.04 and I getting stucked on a normal Boot operation with/after the disk manager
So I guess the problem is the disk manager or the service which should came next (would be nice to ...
0
votes
2
answers
838
views
Newbie question on service, python and console
I am new to both ubuntu and python scripting. I have written a python script which, when launched from the shell, monitors some events and writes those events to the shell. All that is working fine.
...
0
votes
0
answers
5k
views
Ubuntu 20.10 System Security services are failing
Good morning,
$ systemctl --failed:
UNIT LOAD ACTIVE SUB DESCRIPTION
● fwupd-refresh.service loaded failed ...
0
votes
0
answers
1k
views
Run python script return exit code =1 as service Ubuntu
I create a file job_tracking.py
#!/home/thao/venv/bin/python
while True:
print("hello")
# job_tracking_stats()
log_app('Stats tracking Sleeping...')
time.sleep(5)
log_app(...
5
votes
3
answers
8k
views
How to list user services of another user under ubuntu
There is the usual command for listing the systemd services:
systemctl list-units --type=service
Then there is the --user parameter for enabling and starting a user service, executing the command ...
0
votes
0
answers
5k
views
Freeradius Status: Activating, Failure to Start
I am new to freeradius.
Ubuntu 18.04.3 LTS
When I try to restart freeradius service as 'service freeradius restart', I get
'Job for freeradius.service failed because the control process exited with ...
1
vote
2
answers
403
views
Very Slow Boot with Ubuntu 20.04.1
After upgrading to Ubuntu 20.04.1 LTS from 18.04, the boot time, which wasn't great, is now even worse and takes typically two and a half minutes. I've stopped the NetworkManager-wait-online service, ...
0
votes
1
answer
435
views
How do I configure a script file to manage services on Ubuntu without using bash?
Using Ubuntu 20.04 (focal) on WSL2 (Windows Subsystem for Linux) as a LAMP-stack/WordPress dev environment.
Since the required services do not automatically run when Windows 10 (main/parent OS) boots ...
1
vote
0
answers
169
views
Custom script works flawlessy when using terminal, but custom service doesn't work on startup, but if i systemctl start it it executes fine
I have a custom service in /etc/systemd/system/microphone_disable_startup.service
[Unit]
Description=Disable microphone on startup
After=alsa-restore.service
[Service]
ExecStart=/opt/bin/...
0
votes
1
answer
865
views
Ubuntu Services
I am sorry if there's already a thread about this. I tried my best looking for the same ubuntu version but I only saw this:
After modifying /etc/hosts which service needs to be restarted?
We're using ...
0
votes
0
answers
228
views
Unable to install apache2
I am trying to reinstall (through apt) apache2 service on Ubuntu server, after it was removed it, but without any success. To be more specific the installation process finishes without any errors but
...
0
votes
0
answers
61
views
File time stamp and time(NULL) returning incorrect time during service boot
I'm having a service enabled during Ubuntu 20.04 LTS boot.
However, when the service starts up the time is wrong from time(NULL) API. Also files created when service starts has wrong timestamp.
I've ...
0
votes
1
answer
1k
views
How to restrict bandwidth at system service level? Can each service be routed via a different network interface?
So. Here is what I am trying to do. I have a Ubuntu server (20.04) with the below three systemd services that I created. Each run its own application that keep uploading and downloading data from the ...
1
vote
1
answer
1k
views
Stop systemd service from running at boot
I don't want my systemd service to run at boot and I can't stop it.
I created my own script, service and timer files for automatic back ups to Backblaze. I've found 3 or 4 forum posts on the matter, ...
1
vote
0
answers
1k
views
No bluetooth found in Ubuntu 20.04
After the latest update I did (19/11/2020), I put my computer to sleep for a couple of hours, and when I tried to re-connect my bluetooth headset, I realized that bluetooth was suddenly OFF, and I ...
5
votes
1
answer
6k
views
Why is the fingerprint daemon started when there is no fingerprint reader?
Whenever I sign onto (or unlock the passworded screen of) a recently installed 20.04 system, /var/log/syslog reports that it is starting the fingerprint authentication daemon:
…
Nov 15 13:29:28 ray-...
1
vote
1
answer
2k
views
Refresh of udev rules directory does not work
I try to edit, remove and create rules in udev. For some reason, those rules are not activated, even when I try the known solutions-
Udevadm control --reload-rules
Udevadm trigger
Just reset the the ...
0
votes
1
answer
653
views
init.d bind9 aborting: "loading configuration: address not available"
Issue:
You're running some Debian distribution, say, Ubuntu Server 18.04 or 20.04. You've specified an IP address parameter in a /etc/bind/named.conf:
query-source address 192.168.30.2;
listen-on ...
0
votes
2
answers
1k
views
Why did systemd decide to start adb
I have an Ubuntu 20.04.1 LTS system.
This system, has NEVER had an Android device connected to it, via USB.
Still, to my surprise, I see that adb is running:
# ps -efa | grep adb
bram 72062 ...
2
votes
1
answer
468
views
Ubuntu 20.10 is booting too slow
systemd-analyze critical-chain output :
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" ...
0
votes
1
answer
2k
views
Unable to run SNMPD as service (18.04)
It seems that from Ubuntu 18.04 service will ignore the file /etc/default/snmpd file.
I need to run snmpd with the following options (as I have them in /etc/default/snmpd):
SNMPDOPTS='-Lsd -Lf /dev/...