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
1 vote
0 answers
123 views

what does the power management applet do on a desktop?

ok, I understand what the power management daemon does on a laptop, conserving battery power by scaling down the cpu, and dimming the screen. On a desktop however, is the power management daemon ...
j0h's user avatar
  • 14.8k
0 votes
0 answers
129 views

Ubuntu: reading local user env variable in service

I have a Linux service running on my ubuntu machine. in this machine, I need to read proxy setting environment variables ( like https_proxy, http_proxy, no_proxy, etc) values for the currently logged-...
VikasPushkar's user avatar
0 votes
0 answers
101 views

Service takes a long time to shutdown

I recently started practicing kubernetes on my local machine which is ubuntu 21.04L in a virtual machine (VMWare). Whenever I shutdown it is stuck for few minutes for containerd-shim with the ...
Simple Fellow's user avatar
42 votes
9 answers
38k views

apt-get upgrade auto restart services

I have an unattended script for installing servers. At the beginning of the script there is a sudo apt-get dist-upgrade --yes. The dist upgrade has a nasty user input screen at its end asking to ...
julian bechtold's user avatar
1 vote
0 answers
976 views

Unable to shutdown redis-server even after uninstall

After uninstalling: > ps aux | grep redis-server root 147242 0.7 0.0 52968 7824 ? Ssl 16:58 0:00 /snap/redis/137/usr/bin/redis-server *:6379 stavalfi 147321 0.0 0.0 17672 ...
Stav Alfi's user avatar
  • 141
0 votes
1 answer
224 views

Start service after all http handling services have started

I have been puzzling over this one for a while now and I have managed to refine my issue to one problem. I have a service which is supposed to run a shell script to start daemon processes (using nohup)...
Bobcat33's user avatar
0 votes
0 answers
159 views

Published .Net Core website not working with Systemd

I'm deploying a ASP .Net core app to my webserver. When I run the systemd service it binds to port 5000 and I get a nginx 502 error. When I run the service manually using "dotnet Activecalls.dll&...
Traceout's user avatar
1 vote
0 answers
294 views

Use Docker on a systemd disabled VM

I am provided by a VM running Ubuntu 18.04.5 LTS which has systemd disabled. I have root access on it. I am trying to run docker on it which is installed but I get error Cannot connect to the Docker ...
Wilfred Almeida's user avatar
0 votes
0 answers
47 views

How do I stop Ubuntu 20.04 from asking me my password everytime I run the TOR service?

I'm trying to run a script that uses TOR which restarts every time it finishes, but Ubuntu keeps asking me for my password. Sorry, I'm very new to all of this. Thanks guys Screenshot
Donging Dongerino's user avatar
2 votes
2 answers
3k views

/usr/sbin/mysqld: error while loading shared libraries: liblz4.so.1: cannot open shared object file: No such file or directory

p2@P2:~$sudo systemctl restart mariadb Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe"...
psaniac's user avatar
  • 21
2 votes
1 answer
3k views

Ubuntu Server 18.04.5 upgrade to 20.04 fails

My server is driving me nuts, I'm trying to change the current hdd to a new ssd and after that setting up Raid and a valid backup system. But that's other question... I already made a copy of the ...
MckPT's user avatar
  • 33
1 vote
1 answer
8k views

Running systemctl in Python script

I'm trying to get the status of a few systemd services in Python, but I keep getting the error FileNotFoundError: [Errno 2] No such file or directory: 'systemctl show -p ActiveState --value abc' I'm ...
Rayne's user avatar
  • 121
-1 votes
1 answer
3k views

Tried unmasking systemd-timesyncd and got deleted

So lately I was trying to sync my system time with an NTP time server using timedatectl command but I got this error: Failed to set ntp : NTP is not supported I searched the web and i figured out ...
kingarthurthe5th's user avatar
0 votes
1 answer
567 views

Why am I getting "Failed to start redpanda.service: Unit redpanda.service not found." while trying to install Redpanda?

I am getting below error while trying to install Redpanda $ curl -1sLf 'https://packages.vectorized.io/nzc4ZYQK3WRGd9sy/redpanda/cfg/setup/bash.deb.sh' | sudo -E bash && sudo apt install ...
Issues's user avatar
  • 1
21 votes
2 answers
28k views

How to start a specific service when Ubuntu is started on WSL2

I need to run sudo service postgresql start every time when I start Ubuntu on WSL2. How can I make the service start automatically when I start Ubuntu? WSL doesn't use systemd, so sudo systemctl ...
ironsand's user avatar
  • 1,137
1 vote
1 answer
701 views

How to use transmission-show and other command line tools to find the status of torrents?

In going through the man pages for transmission I'm not seeing how to find the status of current downloads initiated through the GUI: nicholas@gondor:~$ nicholas@gondor:~$ transmission-show --...
Nicholas Saunders's user avatar
1 vote
2 answers
670 views

How is transmission monitored from the console?

Normally I add magnet links from firefox to transmission via the GUI, but also want it to continue the downloads even when the GUI isn't running. I've also installed: transmission-cli transmission-...
Nicholas Saunders's user avatar
0 votes
0 answers
17 views

tracing services to packages [duplicate]

Hello I want to programmatically trace a service back to its software package. Is there a command that would allow me to determine which package(s) support a service? Thanks!
jor4288's user avatar
3 votes
2 answers
636 views

How to disable redshift (service) on startup

I have redshift installed on a XUbuntu 21.04. Apparently it's a service systemd[4048]: redshift.service: Failed with result 'exit-code' and it runs at startup. I'd like to disable redshift on startup, ...
DarkTrick's user avatar
  • 467
2 votes
1 answer
1k views

How to fetch email in the background?

I use GNOME Evolution as my email and calendar client. It only sends email notifications and event reminders while Evolution is running. Is there a way to make the notifications component run in the ...
AlpaccaSnack's user avatar
1 vote
2 answers
6k views

How to perform a port-forward on microk8s and send that process to the background?

I am trying to run this command: microk8s kubectl port-forward -n kube-system service/kubernetes-dashboard 10443:443 But the output is the following: └─[$] <> microk8s kubectl port-forward -n ...
Rafael Moreira's user avatar
0 votes
1 answer
1k views

how to enable start/stop/restart for a newly added service in Ubuntu

I have created a service which does some database connection and does some query. I want to know if I want to enable "service xyzservice start" or "service xyzservice stop" or ...
DheerajK's user avatar
4 votes
2 answers
3k views

Proper way to disable Evolution services when it's purged already

Though I have gone through quite a few threads on AskUbuntu, I couldn't find a proper way to disable these Evolution services, especially when Evolution is purged from the system already, in Ubuntu ...
Jags's user avatar
  • 2,176
2 votes
0 answers
3k views

List services start with specific name

I have multiple services which start with a specific name. How can I list them in Linux. For example some thing like that, sudo systemctl --name='*NAME.' The main reason is that I am planning to write ...
M Fuat's user avatar
  • 121
1 vote
0 answers
610 views

What is dev-fuse.device and why does it extend boot time?

Trying to see if I could speed up my system boot I ran systemd-analyze plot > bootplot.svg . Everything seems normal except for dev-fuse.device that starts at 7.7 sec and then shows as activating ...
Richard Quint's user avatar
0 votes
0 answers
1k views

How to disable a service only for the next boot?

According to https://askubuntu.com/a/19324 systemctl disable SERVICE Turns the service off on the next reboot or on the next stop event. It persists after reboot. Is it possible to disable a service ...
Name's user avatar
  • 161
0 votes
0 answers
283 views

MySQL Cannot Connect Using Client

After removing, purging and reinstalling MySQL due to a mis-install which got it stuck in a state where it would neither uninstall nor install, it is no longer accessible from MySQL clients but runs ...
DonP's user avatar
  • 394
0 votes
2 answers
4k views

bitcoind.service: Can't open PID file /run/bitcoind/bitcoind.pid (yet?) after start: Operation not permitted

On Ubuntu 20.04 LTS, I made a service / systemd unit for bitcoind, but when I start it, I get this error: Can't open PID file /run/bitcoind/bitcoind.pid (yet?) after start: Operation not permitted ...
Grakulous's user avatar
0 votes
1 answer
2k views

How to create a custom systemctl command?

I created the mycommand.target [Unit] Description=Mycom Documentation=man:systemd.special(7) DefaultDependencies=no Requires=systemd-mycom.service After=systemd-mycom.service StopWhenUnneeded=yes ...
Jones G's user avatar
  • 101
0 votes
0 answers
399 views

"sfcb" service status is shown as "active(exited)"

I installed sfcb on Ubuntu 18.04 system. It got installed without any errors. I can start and stop the service without any errors. However When I check status of the sfcb service, as given below, it ...
RohithaSRR's user avatar
0 votes
1 answer
727 views

nginx: unrecognized service after upgrading Nginx on Ubuntu 18.04

I removed the default Nginx package from my server, and compiled it from source here. There is a script on the server that checks Nginx, and reports any problem: if ($result->num_rows > 0) { ...
DevOpsSauce's user avatar
1 vote
0 answers
28 views

How do you properly fix/prevent when Systemd Units fail when binding to none local IP host/port upon system startup?

Say you have a fresh and modern Ubuntu system (say 20.04 LTS Server) installed on real hardware, and you need to deploy one or more network bound services, such as: Nginx MySQL PostgreSQL In my ...
Mohamed Kamel's user avatar
0 votes
0 answers
66 views

Make Systemd attempt to restart once

I have an issue where every time I boot The RF Kill Switch service fails. I have looked around for a solution to this problem, but right now the solution is pretty much just deal with it. So to fix ...
nedrobme's user avatar
-3 votes
1 answer
936 views

How to mine Dogecoin on Ubuntu? [closed]

I have a question for the community. What is your best advice for mining dogecoin on Ubuntu? I have searched on youtube and found this video. Link below. What is your advice for mining! Link: https://...
Ronnie Marlow's user avatar
1 vote
0 answers
45 views

How to set two services as alternative to each other?

I'm using unbound instead of the normal resolver on a development server that I have unfortunately - it crashes many times and service do not start Ubuntu has it's own resolver as a service systemd-...
Abd-Elaziz Sharaf's user avatar
4 votes
1 answer
32k views

Failed to start systemd-resolved.service . systemd-resolved.service: Failed with result 'resources'. [1]: Failed to start Network Name Resolution

Main Issue is: # systemctl status systemd-resolved.service systemd-resolved.service - Network Name Resolution Loaded: loaded (/lib/systemd/system/systemd-resolved.service; enabled; vendor preset: ...
Kaustubh Shete's user avatar
0 votes
1 answer
131 views

NetworkManager is supossed to create a file everytime it connects to a wireless connection?

Here is the NetworkManager.conf NetworkManager.conf [main] plugins=ifupdown,keyfile [ifupdown] managed=false [device] wifi.scan-rand-mac-address=no My question is why the constant reconnection to ...
dudupreto1's user avatar
1 vote
0 answers
121 views

notification from c++ privilege daemon process to all users

I have a c++ privileged daemon process which is running as root. Want to send notification to all the desktop users programmatically using libnotify-dev package.How can it be done in cleaner way.
vkg's user avatar
  • 111
1 vote
2 answers
6k 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 ...
Tilman's user avatar
  • 3,614
4 votes
1 answer
32k 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 ...
teja_M19's user avatar
0 votes
1 answer
2k 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. ...
user1023102's user avatar
-1 votes
1 answer
697 views

unable to start the service in ubuntu - 16.04

I am tyring to start the service in ubuntu system inside /etc/systemd/system folder using this command: systemctl start xxx.service and I am getting the below error: Any leads will be appreciated.
Abhishek Anvekar's user avatar
2 votes
1 answer
886 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....
fatboycharles's user avatar
1 vote
0 answers
32 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 ...
Mike's user avatar
  • 111
1 vote
0 answers
1k 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 ...
TastyWheat's user avatar
0 votes
1 answer
642 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=...
Jan's user avatar
  • 153
3 votes
2 answers
5k 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 --...
Lord_JABA's user avatar
  • 103
1 vote
1 answer
933 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 [...
Owen_AR's user avatar
  • 361
1 vote
0 answers
603 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 ...
Micheal Bee's user avatar
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 ...
Luthing's user avatar

1 2 3
4
5
25