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

learn more… | top users | synonyms

1
vote
1answer
33 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 ...
0
votes
0answers
12 views

OpenVPN Access Server will not Start on System Boot

I have installed OpenVPN Access Server on my computer running Fedora 23 using the instructions from this YouTube video. I have been able to install the server on the machine with no problem, and it ...
1
vote
0answers
35 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
31 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
35 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 /...
0
votes
2answers
318 views

Cross-platform daemon/service stop and start

Is there a tool which can control daemons/services in a cross-platform manner? In programming there are different build tools that allow you to build software from source on different platforms; the ...
0
votes
0answers
22 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
1answer
391 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 ...
3
votes
4answers
8k views

Remote deluge daemon connection

I'm trying to follow this guide to run a deluge daemon on a headless server. The client part seems to be working, but the server part doesn't seem to work at all. Deluge-console is supposed to allow ...
0
votes
0answers
12 views

daemon script on windows

I need to have a script that watches a certain ftp folder, and whenever it sees any files in it, perform some operations on it. I was thinking of using a simple script, like power shell and make sure ...
0
votes
1answer
35 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
20 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,...
7
votes
2answers
3k views

Teamviewer-like SSH daemon

I have a computer at home with SSH installed which I would like to be able to control remotely. However, I am not able to allow SSH port forwarding through my router, so the only way to get in would ...
-2
votes
1answer
28 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
16 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 "...
18
votes
4answers
26k views

How to automatically restart a linux background process if it fails?

I have a process which is executed by init.d script on the background. Eg: case "$1" in start) /bin/myprocess & stop) killall myprocess restart) killall ...
0
votes
1answer
19 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
35 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
399 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 ...
0
votes
0answers
139 views

How to stop mongodb version 2.4 and start version 3?

I've got an Ubuntu 14.04 server on which I have mongodb installed using the regular sudo apt-get install mongodb, which installed version 2.4 That ran fine, but I wanted to use some new functionality ...
0
votes
0answers
60 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 ...
2
votes
3answers
868 views

Disabling syslogd in FreeBSD

I'm running FreeBSD in a very small VM with about 1.5G of space. I'd like to disable syslogd to save disk space, but there is no entry for it in /etc/rc.conf. service -e shows that syslogd is indeed ...
1
vote
1answer
752 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
36 views

Location of xscreensaver daemon?

I'm hoping someone can help me find the location of the xscreensaver daemon so I can put that into my start-up apps instead of the stupid work-around I did with xscreensaver-demo. I have read and ...
1
vote
1answer
452 views

How can I run the Trickle bandwidth throttler as daemon (trickled) on start-up?

I want to run the bandwidth throttler trickled automatically on boot up. (Raspbian OS on the Raspberry Pi). What methods are there, and which one(s) are standard practice? The options I've found are ...
1
vote
2answers
4k 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 ...
0
votes
0answers
200 views

Stop the Launch Daemon ftp.plist from being loaded on startup / login

For some reason, and I'm not sure this applies to every Mac / Yosemite user, ftp.plist gets loaded when I log in. If I run this in terminal when I first log in: $ sudo launchctl load /System/Library/...
8
votes
2answers
5k views

What's the difference between docker.io and docker?

Trying to learn docker here but I am a bit confused on what the difference is between docker.io and docker. Is docker.io the daemon server and docker the client? Why does the daemon need to run all ...
0
votes
0answers
24 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
40 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 ...
1
vote
1answer
573 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 ...
3
votes
1answer
3k views

Increasing Yosemite maxfile limit for Application

I've been trying to up the maxfile limit and maxfileperproc limit on Yosemite, with no luck. I have created a sysctl.conf file in the etc folder, which has successfully increased the values when ...
4
votes
1answer
5k views

Pulseaudio Daemon Startup Failed

When running startx on Arch Linux, the error: E: [pulseaudio] main.c: Daemon startup failed. is returned. Is there any way to fix this error?
1
vote
1answer
106 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
20 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
274 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
169 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 ...
0
votes
2answers
2k views

Can't start MySQL to reset root password

I've installed mysql-server on a Linux box and forgot (oops) the root password. Having looked around the internet, the general method is so: Stop MySQL (sudo service mysql stop) Start MySQL in ...
2
votes
1answer
548 views

Where to log stdout and stderr of a daemon

I am writing my first linux daemon and I am wondering where to log its stdout and stderr. It is going to work for all users. I guess I could do it wherever I wanted, I just wonder if there are some ...
14
votes
3answers
23k views

Linux : To monitor a Service and restart if stopped?

Actually I'm not so sure whether i should use Shell Scripts, or if there some ways already. But whatever approach we use, i would like to keep a Service running all the time. Let's say iptables as an ...
1
vote
1answer
1k views

What is the name of the screensaver daemon on Mac OS X?

My Mac's screensaver seems to be frozen, and I think quitting the process through SSH will resolve the problem. Does anyone know what the name of the process is?
0
votes
0answers
75 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
1answer
923 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
0answers
20 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 ...
1
vote
1answer
161 views

Will re-installing MySQL remove or delete existing databases?

If I reinstall MySQL, without removing the actual MySQL installation, would it rewrite all files without deleting my databases? My problem is my mysqld is broken, due to the fact that I accidentally ...
1
vote
1answer
1k 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
495 views

Logstash agent doesn't run as a daemon on MAC OS X 10.9.1

I need to run the logstash agent as a Daemon on an MAC OS X System whenever the system boots up terminal: /usr/local/logstash/bin/logstash agent -f /usr/local/etc/cvlog.conf Per terminal the ...
0
votes
1answer
294 views

init.d service doesn't start

I have installed ushareand want to start is with booting. sudo service ushare startworks, and there is a link to start ushare in /etc/rc2.d (and also rc3, rc4, rc5) and there are stop links in other ...
1
vote
2answers
4k views

script calling script as other user

Using CentOs, I want to run a script as user 'training' as a system service. I use daemontools to monitor the process, which needs a launcher script that is run as root: : #!/bin/bash exec >> ...
0
votes
1answer
527 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 "...