As of May 31, 2023, we have updated our Code of Conduct.

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
0 votes
0 answers
24 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 ...
iwantmyhatback's user avatar
0 votes
1 answer
453 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 ...
RocketNuts's user avatar
  • 1,002
0 votes
1 answer
22 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/...
Kabira  K's user avatar
  • 155
0 votes
0 answers
88 views

Should an init.d script return immediately or can it run forever?

Let's say that I have a init.d script, /etc/init.d/start_daemon.sh that executes some configuration command and finally runs a daemon, /home/user/mydaemon. The daemon is a program that runs forever: ...
HAL9000's user avatar
  • 141
0 votes
1 answer
224 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 ...
Aiman Zaidi's user avatar
33 votes
4 answers
13k 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, ...
Caeleste's user avatar
  • 725
0 votes
0 answers
201 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; ...
ByteEater's user avatar
  • 145
1 vote
0 answers
717 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 ...
a_v's user avatar
  • 11
1 vote
1 answer
78 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....
Martin's user avatar
  • 125
1 vote
1 answer
78 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 ...
Dario Corrada's user avatar
0 votes
1 answer
1k 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 ...
John's user avatar
  • 1
0 votes
1 answer
524 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?
8c6b5df0d16ade6c's user avatar
0 votes
1 answer
638 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 ...
ZackT's user avatar
  • 53
7 votes
1 answer
613 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....
pkgajulapalli's user avatar
0 votes
1 answer
40 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 ...
FailureGod's user avatar
1 vote
1 answer
965 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 ...
owengall's user avatar
  • 183
0 votes
1 answer
173 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?
Raghav Roy's user avatar
0 votes
0 answers
116 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....
Cesar Justo's user avatar
0 votes
1 answer
795 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 ...
Dogus Ural's user avatar
1 vote
1 answer
172 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 ...
Hugh Perkins's user avatar
0 votes
0 answers
51 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'...
Javience's user avatar
8 votes
4 answers
4k 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 ...
rah606's user avatar
  • 93
1 vote
0 answers
266 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, ...
BigToe's user avatar
  • 11
1 vote
2 answers
4k 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/...
Ignus's user avatar
  • 11
0 votes
1 answer
51 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 ...
Latifa's user avatar
  • 1
3 votes
1 answer
3k 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 ...
alexm's user avatar
  • 1,041
2 votes
1 answer
474 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 ...
jww's user avatar
  • 11.8k
0 votes
0 answers
43 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. ...
cluelessguy's user avatar
1 vote
1 answer
83 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 ...
Till1234's user avatar
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 ...
Zoltan K.'s user avatar
  • 121
0 votes
1 answer
28 views

Unconfiguring constant relaunch of application

A long time ago I had configured on OSX that if a certain app crashes, it should be restarted directly again. Now, I don't know where I had configured that. And I'd like to unconfigure this. I've ...
ndrizza's user avatar
  • 101
0 votes
2 answers
999 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 ...
karra's user avatar
  • 11
0 votes
1 answer
145 views

How determine that app start as Linux daemon

I have console app that would start as console and as Linux daemon. How can I determine that app started as Linux daemon (not console)?
user avatar
1 vote
2 answers
300 views

How's responsible for displaying `Starting ... [ ok ]`

When I start a service such as: root@foo [~]# service foobar stop Stopping Foobar: [ OK ] I can see a status indicator: [ OK ] which is different from the ...
nowox's user avatar
  • 2,647
1 vote
0 answers
135 views

Run command on startup (Mac), don't understand much

So I'm trying to replicate this similar question but I am lost. I tried creating a launch agent or daemon but neither of them work and I get this error in terminal with this command: Vances-MacBook-...
vance's user avatar
  • 11
0 votes
0 answers
294 views

IPAddressDeny property does NOT block connection to server

I have set the property IPAddressDeny is set to any inside a systemd service unit: [Unit] Description=Sound Service Requires=pulseaudio.socket [Service] # Note that notify will only work if --...
Oliv's user avatar
  • 101
0 votes
1 answer
72 views

Connect remotely to Dropbox service from a server

I wonder how to authenticate a remote linux server with dropbox daemon installed without X server.
utopman's user avatar
  • 141
-1 votes
1 answer
119 views

Service, Daemon, Startup.... What's the right way?

I think I'm having part terminology problem, part just plain newb problem, part tired of reading problem. I've gotten so far on my home energy monitor project, from getting my SDR radio working, ...
poor_red_neck's user avatar
2 votes
1 answer
1k views

OS X: Agent/Daemon shows up in launchctl list, but cannot find its .plist

I've been having this issue for quite some time now. It doesn't really hurt my workflow, but every time I want to look for something in the console, it gets in the way, since there's the following ...
thanar's user avatar
  • 21
1 vote
1 answer
4k views

batch files (.bat)... what does set game=%1% mean? This batch file isn't working correctly

This batch file is supposed to assign a disc image file's path to the variable "game" then mount that image with a program call Daemon Tool's. Then a program called SSF is supposed to load the mounted ...
HellfireEternal's user avatar
1 vote
2 answers
7k 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 ...
Andreas's user avatar
  • 613
1 vote
0 answers
177 views

Constructing a service/daemon using runit

I need to make a time syncing service for some SysV-based Linux system, but I want to use Ubuntu as a development environment. For this and some other reasons I've decided to use runit as a universal ...
Dmitry Ilukhin's user avatar
1 vote
1 answer
1k views

No need for export when running functions in subshell

I have a msource.sh script that will be sourced: $ cat msource.sh #!/usr/bin/env sh echo "($BASHPID) - sourced ${BASH_SOURCE[0]}" &>> "$logfile" # logfile is defined by the sourcing ...
kaligne's user avatar
  • 259
0 votes
1 answer
4k views

Launch GUI programs from background service in Linux

I have written a java program to launch various programs in linux with an attached API. I want this java program to run in the background as my user and start automatically on system boot. I have ...
Jimmy's user avatar
  • 133
0 votes
0 answers
103 views

run daemon on start when scheduled time is missed

I have a daemon/script that runs daily, but I can't find a way to make it run if the computer was off at the scheduled time. Specifically, I'd like: run script/daemon once a day at a X:00 am if ...
anon01's user avatar
  • 123
0 votes
1 answer
40 views

Daemon and gui app accessing same data files

I have a daemon that needs access to (read/write) some files that a gui app also has access to (read/write). The daemon runs as root but the gui does not. Each time the daemon accesses the files, ...
Greenland Ron's user avatar
2 votes
1 answer
243 views

Launch of daemon for subversion server fails, but works in shell

I am trying to setup a subversion server on OS X (Sierra) using the subversion provided with Xcode Server. I followed these instructions for setting up a daemon to automatically start svnserve. My ...
not2savvy's user avatar
  • 511
0 votes
1 answer
376 views

Few questions about OpenWRT and CCMP/TKIP key management

I don't know if I should post this question on Information Security or Network Engineering or ServerFault but I think I'm doing well by posting it here (if I'm not doing well, correct me). I have ...
Bartosz Królak's user avatar
14 votes
2 answers
89k views

cant start systemd - Failed to get D-Bus connection

I am trying to setup a daemon width systemd on Debian. systemd was already a part of the distro.. Have just added a new unit file my-daemon.service under /etc/systemd/system/ but after reboot I get ...
clarkk's user avatar
  • 419
0 votes
2 answers
584 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 ...
ISOAnswers's user avatar