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".
157 questions
0
votes
0
answers
52
views
How to kill a process "daemon" in Linux so that it doesn’t restart?
I have a Plesk Linux VPS, there is a process "daemon" in the process list take 40% CPU usage!!
I do kill -9 PID but it regenerates itself after 30 min!
For the server everything is okay. ...
0
votes
1
answer
62
views
How to add a Mac user account to the deamon group — in order to install FileMaker Server in order to r&w my own data with a shell script in FMS?
I need to run shell scripts from within FileMaker server.
The default installation creates a "fmserver" user account and user group. With that user, sudo is not possible (even after adding ...
1
vote
1
answer
2k
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
1
answer
911
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
1k
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 ...
1
vote
2
answers
4k
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
110
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/...
0
votes
1
answer
886
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 ...
36
votes
4
answers
19k
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, ...
0
votes
0
answers
349
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; ...
3
votes
1
answer
2k
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 ...
1
vote
1
answer
118
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
106
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 ...
1
vote
1
answer
4k
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?
0
votes
1
answer
1k
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 ...
7
votes
1
answer
921
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
70
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
1
answer
2k
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
279
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
143
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
1
answer
250
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
0
answers
53
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
7k
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
324
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, ...
1
vote
2
answers
7k
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/...
0
votes
1
answer
60
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
770
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 ...
0
votes
0
answers
52
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
169
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 ...
2
votes
1
answer
2k
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
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 ...
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 ...
0
votes
1
answer
184
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)?
2
votes
2
answers
442
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 ...
1
vote
0
answers
196
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-...
0
votes
0
answers
531
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 --...
0
votes
1
answer
126
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.
-1
votes
1
answer
238
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, ...
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 ...
1
vote
1
answer
5k
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 ...
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
0
answers
275
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 ...
1
vote
1
answer
2k
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 ...
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 ...
0
votes
0
answers
150
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 ...
0
votes
1
answer
108
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, ...
2
votes
1
answer
304
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 ...