Questions tagged [daemon]

Daemons are programs which run in the background in multitasking operating systems. On Unix-like operating systems the names of many daemons end in the letter "d".

Filter by
Sorted by
Tagged with
1 vote
2 answers
8k views

deluge-console: Username does not exist

I've set up deluged as a service with systemd to run as user deluge. The daemon works, since I can use the web-ui and connect with deluge-console if I type in credentials manually. However, when I ...
1 vote
1 answer
510 views

How to keep two local hard drives in sync on Linux?

I have an old hard drive and basically clone it to a new hard drive using Grsync or Timeshift. Because the older hard drive is likelier to fail, I'd like to use the newer one as my in-use hard drive ...
0 votes
2 answers
3k views

Transmission on Ubuntu: daemon is running but transmission-remote says Unauthorized User?

I installed Transmission on Ubuntu 20.04 with sudo apt install transmission-daemon. After starting the service, when I try to get the status with transmission-remote -si I get: Unauthorized User I ...
0 votes
1 answer
239 views

Disable stdout buffering in systemd, how to make it print everything?

On Debian, when I ask for service status, it only prints out a few lines: sudo service tor status CPU: 3ms Dec 15 17:57:27 systemd[1]: Starting tor.service - Anonymizing overlay network for ...
0 votes
0 answers
539 views

Pulseaudio not working Debian 12

Pulseaudio 16.1 doesn't work on Debian 12 using no GUI and only the TTY terminal. Upon checking, the daemon is running. Tried apt-get purge pulseaudio and reinstalled it, same problem persists. No ...
31 votes
3 answers
51k views

Start a systemd user service at boot

I am trying to start a systemd service for a specific user (service name/goal is not relevant). I do that because I need to have a per user process of an application running at startup. Here is what I ...
50 votes
9 answers
137k views

How to automatically restart a linux background process if it fails?

I have a process which is executed by init.d script on the background. Eg: case "$1" in start) /bin/myprocess & stop) killall myprocess restart) killall ...
0 votes
0 answers
200 views

apcupsd incorrectly detects UPS power status

This is a brand new device (BGM1500B). It seems when it charges to 100% it starts to report STATUS : ONBATT. The device itself shows that it is hooked up to power on the display and I do not hear it ...
1 vote
2 answers
6k views

start-stop-daemon: command not found error in Debian

I'm a linux noob and I'm moving first steps on debian. I'm trying to execute a simple python script as a service, and I tried to execute this code (copied from the web) in order to do this. DIR=/usr/...
81 votes
6 answers
91k views

What's the difference between docker.io and docker?

Trying to learn docker here but I am a bit confused on what the difference is between docker.io and docker. Is docker.io the daemon server and docker the client? Why does the daemon need to run all ...
12 votes
8 answers
32k views

The '/var/run/supervisor.sock' file is not being created when I use Supervisord

I'm running Supervisord on my Ubuntu 14.04 server and everything works fine. I deploy using a git push and upon deployment I also need to restart my application server (gunicorn) which I can ...
31 votes
5 answers
105k views

How to monitor a service and restart if stopped in Linux

Actually I'm not so sure whether i should use Shell Scripts, or if there some ways already. But whatever approach we use, i would like to keep a Service running all the time. Let's say apache2 as an ...
37 votes
4 answers
17k views

How does WSL/WSL2/WSLg work without systemd?

As I've understood it, systemd is Linuxes' "master"-daemon, managing all other processes right after it has been started up and run its init-function. Since I had this (now resolved) issue, ...
4 votes
3 answers
5k views

need a bittorrent daemon

I'm building a Ubuntu server for the house. I want to centralize torrents. what I'm looking for is something that runs as a service (daemon) that has 3 folders to configure. Actively downloading ...
0 votes
1 answer
70 views

do service/system account used for running daemon (webservers, databases) need to have home

I created a system account on Fedora using following commands useradd -r -s /bin/false sysacct Then created a directory and gave permissions to sysacct mkdir /var/sysacct chown sysacct:sysacct /var/...
1 vote
0 answers
1k views

How do I start a daemon on startup with SysV init?

I use MX Linux, which uses SysV init. Some softwares (like mullvad-vpn in my case) made for SystemD have their daemons not launching on startup. I can launch it with sudo service mullvad-daemon start ...
2 votes
1 answer
2k views

Is it possible to run a launch agent as a user with sudo permissions?

I have an executable that needs to run every time a user logs in. It needs to run in the context of that user, but with root permissions, as if the user had run it with sudo. I have looked through ...
0 votes
1 answer
596 views

Could Git Bash run daemon process periodically?

I have this myscript.sh act as a performance monitor in Windows Server. To do so, I'm trying my best here to avoid using WSL and using Git Bash to run the script but the problem is the script just ...
13 votes
3 answers
11k views

What do the [..] mean in 'ps' and how do you create a process like it?

When running ps, you get something like: root 2 0.0 0.0 0 0 ? S< 00:00 0:00 [kthreadd] root 3 0.0 0.0 0 0 ? S< 00:00 0:00 [ksoftirqd/0]...
0 votes
0 answers
307 views

The ezstream service quits unexpectedly

I have Icecast started at boot, running in the background, thus: # systemctl status icecast2 ● icecast2.service - LSB: Icecast2 streaming media server Loaded: loaded (/etc/init.d/icecast2; ...
1 vote
1 answer
105 views

Build tool spawns a daemon that does not close its standard output. How can I prevent this from stalling my shell pipeline?

I am using a (closed-source) vendor-specific build tool (Microsemi Designer, an FPGA layout tool). I invoke it from a shell script (highly simplified): ... # Setup /opt/.../designer SCRIPT:my_script....
1 vote
1 answer
100 views

Something kills Explorer

On the PC of my customer (MS Windows 10 pro 21H1 fully updated) there is some process that temporarily kills Explorer (the file manager daemon). As well, Explorer restores itself in few seconds. How ...
13 votes
2 answers
26k views

Pulseaudio Daemon Startup Failed

When running startx on Arch Linux, the error: E: [pulseaudio] main.c: Daemon startup failed. is returned. Is there any way to fix this error?
1 vote
1 answer
3k views

What is the difference between transmission and transmission-daemon?

I have watched some tutorials on how to install torrent program on raspberry. I have seen somebody installs like this: sudo apt install transmission Someone installs it like this: sudo apt install ...
0 votes
1 answer
1k views

What's the difference between: a program, process, job, service, daemon, script, command? [closed]

Can someone clearly explain what's the difference between these terms? Helpful previous answers: What's the difference between an Application, a Process, and a Service?
5 votes
1 answer
12k views

start ddclient as daemon with systemd

I'm trying to start ddclient as daemon in my Ubuntu 15.04, which now uses systemd, but was unable to even following the Ubuntu wiki at https://help.ubuntu.com/community/DynamicDNS to words. I've ...
0 votes
1 answer
880 views

Avahi gtk style provider error/ avahi-daemon won't start

So, just got a Raspberry Pi, and I'm trying to connect to it via mDNS. However, when trying to start avahi-daemon on my WSL2 kali-linux distribution sudo service avahi-daemon start I get Starting ...
2 votes
2 answers
1k views

Cross-platform daemon/service stop and start

Is there a tool which can control daemons/services in a cross-platform manner? In programming there are different build tools that allow you to build software from source on different platforms; the ...
7 votes
1 answer
833 views

MacOS - "at" command is not working

I've started the atrun daemon using the following command. $ sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.atrun.plist Added my username to /var/at/at.allow file. $ cat /var/at/at....
0 votes
1 answer
59 views

How do I find which user sent a message (systemd) / mount encrypted zfs on login

Question How do I send a message from a user to a daemon where the daemon is guaranteed that the message came from the user? Assuming the user might be malicious. Original Problem I'm on linux (arch ...
1 vote
3 answers
9k views

Excessive resource usage from /usr/sbin/atd?

I've been getting excessive resource usage notification from ConfigServerFirewall about this. Is it safe to disable /usr/sbin/atd, or should I just let it be and ignore it?
0 votes
2 answers
1k views

Output of the "ps w" command

I am using customized OpenWRT, in which no option works for the ps command except w. When I enter ps w, it’s showing all the running processes, but if I type, for example, ps w | grep kkkk it’s ...
1 vote
1 answer
1k views

How to remove Bradford Persistent Agent in Catalina

How do you you remove the Bradford Persistent Agent from a Mac running macOS Catalina? The main issue is that the given /Library/Application Support/Bradford Networks/Persistent Agent/Uninstall.app ...
0 votes
1 answer
268 views

Daemon Process in Linux

I have read that daemon processes in Linux a result of double forking. Are all the daemon process a result of double forking or are there some exceptions?
0 votes
0 answers
134 views

problems with usernames in docker

Good afternoon, I am currently configuring the user name for my containers in the daemon.json file and following the tutorials that I post below: I am using the following documentation: https://docs....
0 votes
1 answer
2k views

Giving argument to systemd binary

I am trying to run a systemd service for my binary. The binary expects an argument for --public-ip field, which i supply through curl https://ipinfo.io/ip. I did in the following way but the ...
1 vote
4 answers
15k views

Can't start MySQL to reset root password

I've installed mysql-server on a Linux box and forgot (oops) the root password. Having looked around the internet, the general method is so: Stop MySQL (sudo service mysql stop) Start MySQL in ...
1 vote
1 answer
226 views

how to stop sites setting service-workers, without blocking cookies, in google chrome

I want to be able to block service-workers from being allowed by default, on google chrome. But I want to allow cookies by default. I dont see a way of blocking service-workers without blocking all ...
0 votes
1 answer
395 views

bash: show names of background jobs in the bash prompt

It would be cool if the bash prompt can be used a a mini task bar. Can the bash prompt (PS1) show the names of the jobs listed in the jobs command?
0 votes
0 answers
52 views

Run an ubuntu process only if a computer is online

I have a systemd process in Ubuntu that I only need running when a PC on the network is online (It's a status monitor app). I thought about using another service that pings the NetBIOS name, but I can'...
8 votes
4 answers
6k views

Bash-script as linux-service won't run, but executed from terminal works perfectly

I have custom script to mount google drives. Part of this script, is following code: if [ ! "$(which google-drive-ocamlfuse)" ] then echo "Install google-drive-ocamlfuse first!" exit 1 fi ...
1 vote
0 answers
299 views

Connect Intellij to Docker Daemon - TLS Settings Failed

I am trying to connect Intellij to Docker Daemon on Windows 10. I don't want to expose Daemon without TLS, so I have been looking for a way to setup TLS. I have looked through some documents, ...
0 votes
1 answer
55 views

make a docker container from daemon

I'm using a microservices architecture. I already developed my daemon services (shell script). Now I want to run each of them in a docker container. I am new in docker, so I need some recommendations ...
3 votes
1 answer
4k views

Starting and stopping systemd services with OnCalendar for a period of time, every day

I have a two services (a video player and an image recognition daemon) that I want to start at 9am and finish running at 23pm every day (as well as on boot, although the system is going to be running ...
2 votes
1 answer
622 views

Where does Solaris start sshd?

I'm working on a Solaris 11.3 i86pc machine. Solaris ships an ancient version of OpenSSH and SunSSH, and they can only use RSA. I am trying to update OpenSSH. I built and installed a modern version ...
2 votes
1 answer
1k views

/var, /var/log on separate partition fails to umount on shutdown, how to debug

As the title says, I have /var and /var/log on separate partitions. On shutdown, I get the error, that umount /var/log, and later umount /var failed. My question is: How to debug this issue? If ...
0 votes
0 answers
50 views

How does an irc daemon like Charybdis work?

I am pretty new to irc, and am poking around in it to try and understand it. I am running CentOS 7 on a VM, and have installed charybdis-4.1.1 and atheme-7.2.10-r2, using this marvellous guide. ...
1 vote
1 answer
134 views

Cronjob executed multiple times per minute

I have to maintain a pretty old Linux Server running on SLES 10, kernel 2.6.16 in a VMWare environment. Apart from the fact that it should be updated I have the following problem: I noticed that ...
0 votes
2 answers
609 views

Cannot Start Exim Daemon on Cygwin

I've been unable to start the Exim daemon after installing it in Cygwin on Windows 10. At the end of the exim-config setup, the daemon fails with this message: Do you want to start the exim daemon ...
2 votes
1 answer
2k views

using screen with start-stop-daemon, sysv

I'm trying to run a program with an ncurse interface as a daemon using screen. I want to use start-stop-daemon to manage the process, but I'm having trouble creating a SysV init script. Variables: ...