Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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".

2
votes
0answers
23 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
7 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
104 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
29 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
73 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
32 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
47 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
55 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
75 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
192 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
1k 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
2k 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
87 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
53 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/...
0
votes
1answer
504 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
527 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
61 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
18 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
198 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
259 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 ...
7
votes
2answers
31k 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
1answer
266 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
20 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
106 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
239 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
559 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
310 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
782 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
323 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
112 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
274 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 /...
1
vote
0answers
516 views

How to find on which port the TFTP server is running?

How to find remotely on which port the TFTP server is running on FreeBSD? The standard UDP port 69 is not listed amongst open ports when scan FreeBSD server with IP scanner.
5
votes
3answers
14k views

unix:///var/run/supervisor.sock no such file

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 ...
1
vote
1answer
521 views

daemon /etc/init.d/ error when run as daemon but script works fine from command line

It errors when run from /etc/init.d sudo /etc/init.d/openconnect start * Starting open connect xxx.somedomain.com openconnect start-stop-daemon: unable to start /usr/local/bin/op_connect.sh (Exec ...
0
votes
0answers
243 views

public key authentication not working with “ssh/sftp Daemon” on android

I can sftp to my android device using password. However i can not set up this using public key auth. $ ssh -vvv root@192.168.1.10 SSHD Server debug1: Authentications that can continue: publickey,...
-2
votes
1answer
110 views

How to run an SSH server on a laptop?

I want to create a program that allows a user to SSH into their laptop. But there is a serious problem: laptops sleep when they close. In particular, I believe this cannot be disabled on OS X. Does ...
0
votes
0answers
43 views

Perform Background Tasks in Low Power Mode - Possible?

Is there a way to schedule low power background activities to be performed while a computer is idle, sleeping, or even powered off? Until recently I would have thought the answer was unconditionally "...
0
votes
1answer
49 views

How can I enable arbitrary users to edit files in '/opt' sub-tree?

I am user 'somebody'. I have a typical "Web blob" website ecosystem ( essentially an FS sub-tree starting at Apache's typical "htdocs" directory ). Its files are owned by 'root', and grouped to '...
0
votes
1answer
238 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?
6
votes
1answer
9k 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 ...
1
vote
0answers
257 views

emacs --daemon doesn't successfully start the server

I am attempting to set up a systemd daemon for emacs in NixOS. When I added a systemd unit, I noticed that it was continually restarting over and over again. I discovered that this was because when I ...
3
votes
3answers
8k views

OS X - How to get simple launchd daemon working on Yosemite and El Capitan

I am no stranger to launchd on OS X. I've created several daemons in the past, last with Mountain Lion Mavericks. However, I seem to be struggling to get the most simplest of plists working on ...
2
votes
1answer
1k views

Docker - Error starting daemon

I have tried to install Docker to my RPI on Arch Linux and got the following error message, when try to start a new container. FATA[0000] Error starting daemon: Error initializing network ...
0
votes
0answers
27 views

Do Unix-based Systems retain Daemons or Hardware Information post-Reboot?

Background: I dual-boot Mac OSX Yosemite and Ubuntu 15.04 on a Macbook Pro Retina with rEFInd boot loader. I have a customized daemon for controlling the fans on Ubuntu, the reason being that I have ...
1
vote
1answer
217 views

What is the name of the daemon process of mysql in OS X?

I have just installed mysql in OS X and this code works fine: String url = "jdbc:mysql://localhost:3306/"; String dbName = "information_schema"; String driver = "com.mysql.jdbc.Driver"; String ...
4
votes
1answer
6k 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 ...
2
votes
1answer
518 views

How to daemonize a bash script only if --daemon flag is given?

I have my script.sh and want to run it with ./script.sh or ./script.sh --daemon, having it remain in the foreground unless the --daemon flag is given, in which case it should detach and go into the ...
0
votes
2answers
29 views

Service com.apple.quickook doesn't stop from restarting

Running Mac OS X 10.2.2 in MacBookPro model MacBookPro11,2. I'm having this issue that I could find using console application: A daemon named com.apple.quicklook deosn't stop from restarting after 0 ...
0
votes
2answers
308 views

Does anyone know what “discoverd” daemon is?

Saw this process running in Activity Monitor. Not sure what it does...anyone seen this before? Tried searching for list of "normal" mac os daemons but most lists are incomplete. Have not found any ...
1
vote
0answers
258 views

Can I use /etc/init/ on Debian Wheezy to manage a daemon process?

I want to run a PHP daemon process and found a solution at Stackoverflow but unfortunately its not working. Now I thought Upstart is not installed since Debian still uses System V. I have two ...