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

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 ...
0
votes
2answers
288 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
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 ...
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 ...
2
votes
1answer
1k 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: ...
1
vote
1answer
28 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 ...
1
vote
1answer
2k views

linux: monitor logfile for a string and execute script

I want to monitor a logfile (syslog) on my linux debian box. So if there is a new entry with a secific string, i want to execute a script. The strings are "alarm start" and "alarm end" So it should ...
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
33 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)?
0
votes
1answer
212 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 ...
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, ...
0
votes
1answer
50 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
240 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
1answer
2k views

how can I run a java application as daemon?

I use to run an application in CentOS with the command nohup java -jar AnalyticsBackend.jar & Now I want to run this application as daemon i.e. on reboot, this application shoud start running ...
0
votes
1answer
1k views

OpenVPN server issues

I am unable to connect to my OpenVPN server running on latest ArchLinux version, the port seems open if I scan from the outside, so im pretty sure its correctly forwarded, however the client displays "...
0
votes
1answer
96 views

Debian: daemon program quits immediately when run as jenkins user

I'm trying to run an IRC bot as a daemon using daemon (also tried with the daemonize utility), I use the following command to run it, daemon --name=HsIRCb --chdir=/var/lib/jenkins/jobs/HsIRCb/...
0
votes
1answer
197 views

OpenOffice Daemon Problem

I'm using OpenOffice as a daemon. Sometimes, when the daemon is running a long time, CPU use spikes very high and then OpenOffice crashes. At this point, OpenOffice doesn't work and document ...
3
votes
0answers
69 views

Manage processes on an distributed windows computer system

I want to manage the startup / re-start and shutdown of a multi module software system running on a set of windows machines. For example: [some machines booted, some still doing so] run the whole ...
2
votes
0answers
31 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 ...
2
votes
0answers
334 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 ...
2
votes
0answers
114 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 ...
2
votes
0answers
196 views

How to create a virtual keyboard in userspace?

I'm trying to generate keypress/release events similar to those produced by typing on a physical keyboard, but from a process that isn't attached to any actual hardware.
1
vote
0answers
33 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-...
1
vote
0answers
93 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
0answers
115 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 ...
1
vote
0answers
328 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....
1
vote
0answers
539 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.
1
vote
0answers
262 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 ...
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 ...
1
vote
0answers
483 views

How to kill buffers when quitting a client frame in emacs daemon

I'm using emacs as a daemon on OSX ML. When I close an instance emacsclient -t, I'd like emacs to kill all the buffers I've opened within the instance of emacsclient. Doing C-x C-c or C-x 5 0 does ...
0
votes
0answers
9 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. ...
0
votes
0answers
53 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
0answers
55 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
0answers
62 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
0answers
252 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,...
0
votes
0answers
45 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
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 ...
0
votes
0answers
125 views

Customize mailer-daemon error messages in LAMP

I need to customize bounce and error messages sent from MAILER-DAEMON in a LAMP environment. Instead of the standard message From: Mailer-Daemon@xxxxxx.co.uk To: johndoe@hotmail.com ...
0
votes
0answers
33 views

How can I queue a script to run the next time a system is up and connected to the internet?

I'm using mailsend (on a Mac) to send mail from the command line. I'd like to set this up such that I can execute a send command, but if my system is disconnected from the internet, that command is ...
0
votes
0answers
57 views

PPPD Round Trip Time too long?

T-Mobile changed the RTT of my CDS service card to 1100ms. I can't connect using PPPD any longer. What configuration parameters do I have to change to get a connection again? MrB edit: my current ...