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
0answers
4 views

launchctl plist daemon ProgramArguments wrapped in quotes

I have the following plist file at ~/Library/LaunchAgents/myserver.listen.to.port.plis(server/usernames changed to generics): <?xml version="1.0" encoding="UTF-8"?> <!...
0
votes
1answer
15 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 ...
0
votes
0answers
21 views

Daemon to automatically update a static directory tree

[ Linux and MacOS, using Bash ] I tend to reorganize my directory trees all the time, so I'd like to have a flexible way to organize my files without having to fix my scripts and configuration files ...
0
votes
1answer
21 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 ...
1
vote
0answers
57 views

How might i run console app via wine as daemon

I have this windows console app called "accServer.exe" which i am able to run on Ubuntu Server 18.10 by calling "wine ./accServer.exe" from terminal in the running folder. I do this via SSH. When the ...
0
votes
0answers
47 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'...
0
votes
0answers
77 views

How to prevent non-root load of a LaunchDaemon

I want to prevent a macOS LaunchDaemon (/Library/LaunchDaemons/com.mycorp.service.plist) from being loaded by a non-root user. Running sudo launchctl load /Library/LaunchDaemons/com.mycorp.service....
0
votes
0answers
62 views

debugging a running daemon with GDB

I want to debug a running daemon with the GDB. I have the process id of respective process. I typed : gdb attach process id info threads I am getting the list of threads. * one is the current one ...
0
votes
0answers
24 views

Killing a daemon with systemctl commands doesn’t show the service as stopped

I am trying to kill a daemon process that is multithreaded. After hitting the command: systemctl kill daemon.service Again when I am trying to get the status of that service it is getting stuck but ...
8
votes
4answers
674 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
0answers
148 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
0answers
12 views

Google Compute Engine + Express server goes down after exiting SSH shell

I must not be understanding how to use GCE. I thought I could spin up my VM, then spin up my nodejs server like >$ node index.js & Now, I've created a firewall rule to allow a certain port ...
0
votes
0answers
755 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
0answers
94 views

SQL Server 2016, 2017: Filter daemon times out

We have several SQL servers with full-text tables and get on all but one machine every time we rebuild the catalog this message comes up: Error '0x80043630: The filter daemon process MSFTEFD timed ...
0
votes
1answer
36 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 ...
1
vote
1answer
415 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 ...
1
vote
1answer
137 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
0answers
25 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
1answer
60 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
1answer
435 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
1answer
23 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
1answer
436 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
1answer
49 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)?
1
vote
2answers
198 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
0answers
64 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
0answers
139 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
1answer
63 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
1answer
94 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, ...
0
votes
1answer
516 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
1answer
2k 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 ...
0
votes
2answers
5k 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
0answers
103 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 ...
0
votes
0answers
86 views

script does not execute when running as startup daemon, works fine in command line

I've installed a python package which tracks file changes called when-changed (https://github.com/joh/when-changed). Now the command I want to run is: when-changed /var/www/html/php/logfile.csv /var/...
1
vote
1answer
936 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
1answer
1k 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
0answers
69 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
1answer
19 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
1answer
221 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 ...
0
votes
1answer
328 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 ...
10
votes
2answers
53k 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 ...
0
votes
2answers
464 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 ...
0
votes
1answer
33 views

Recompiling and restarting a daemon

I am developing a server daemon. I already have a functional version of this server running, but I've now compiled a new version of it. How do I replace the current process with the new one? Can I ...
1
vote
0answers
182 views

Restart a daemon without root in OSX

On OSX 10.10 I created a plist file in /Library/LaunchDaemons/ to start at launch an OpenVPN connection. However I encountered DNS problems when going from an internet interface to another (as WiFi to ...
0
votes
1answer
312 views

Systemd run daemon at boot like System V

I'm configuring a Java app to run at boot using jsvc, following this tutorial which uses systemv (init.d). I'm running Ubuntu 16.04, which uses systemd, and am having a hard time finding exactly what ...
0
votes
2answers
1k views

Why won't my init.d service start?

I bought a Raspberry Pi 3 a couple of weeks ago and have been playing with it for a long while. I'm running Raspbian Lite headless and one thing I want to do is run some stuff on boot. Nothing ...
2
votes
0answers
617 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 ...
1
vote
1answer
1k views

How to kill a daemon in Linux?

Note: Before you mark this question as duplicate, please note that I've tried all the solutions that I could get online, but still I'm unable to resolve the problem. I ran daemon through the ...
1
vote
0answers
420 views

Unable to load daemon and service exit with a return value of 3

Could someone help me with this problem? It seems like I can't execute the startDSEService.sh file. The permission allowing execution of the file is ticked and I tried chmod +x path/of/startDSEService....
2
votes
0answers
124 views

DSE Servers not found and unable to initialize hash chunk service

I'm following this opendedup guide from github (https://github.com/opendedup/sdfs). However, I'm stucked at the DSE server part whereby need to mount a volume. Anybody can guide me through solving the ...
0
votes
1answer
536 views

LaunchAgent has undesired root access

I am having a problem getting my LaunchAgent to run as a normal (not-root) user. Everything I've read implies this should be the default behavior. The expectation is that if you put the plist in /...