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".
7
votes
1answer
5k views
Stop a runaway launchd process on OS X Leopard
I created a launchd .plist file to in order to have a python script run every hour. I ended up editing and later deleting the .plist file ( in /Library/LaunchDaemons )... but somehow launchd is still ...
6
votes
2answers
6k views
How do I prevent Linux services from auto-starting?
I have recently migrated from Windows to Linux (xubuntu)
I am a developer and have installed everything I need, LAMP. In Windows I used to turn off all unnecessary services - I don't need the Apache ...
4
votes
1answer
158 views
Supervisorctl stop all = stalled processes?
I'm running several PHP CLI scripts and monitoring them via Supervisor.
When I use supervisorctl to monitor them, the scripts show like this:
cleanup RUNNING pid 1805, uptime 0:00:41
...
3
votes
1answer
203 views
Linux permissions for services
How do permissions work for services in Linux? I already know that I can set read, write and execute permissions for files and directories with chmod each for owner, group and other users but how do ...
2
votes
5answers
6k views
Easy way of daemonizing in CentOS 5.4
I know there is a program called upstart that can make it easy to make small daemons. I can't get this program to configure on CentOS. I get all sort of errors concerning pkg-congfig, libnih, and ...
2
votes
3answers
542 views
What do the [..] mean in 'ps' and how do you create a process like it?
When running ps, you get something like:
root 2 0.0 0.0 0 0 ? S< 00:00 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S< 00:00 0:00 ...
2
votes
3answers
2k views
need a bittorrent daemon
I'm building a Ubuntu server for the house. I want to centralize torrents. what I'm looking for is something that runs as a service (daemon) that has 3 folders to configure.
Actively downloading ...
2
votes
3answers
1k views
ubuntu server, trying to get a service/daemon to start
I followed the instructions here, but when I enter "sudo service mydaemon start". I get "mydaemon: unrecognized service". I have verified that the files are in the proper places, and I took the ...
2
votes
1answer
147 views
What benefits does daemonizing give me?
If I start something like uWSGI via SSH with my normal login user (assuming I should), and "daemonize" it, does that mean I can log out of SSH and uWSGI will remain running?
2
votes
1answer
249 views
systemctl (Fedora 17) and interacting spawned processes's consoles
Introduction
I've recently upgraded to Fedora 17 and I'm getting used to the newer systemctl daemon manager versus shell init scripts.
A feature I need on some of my daemons is the ability to ...
2
votes
1answer
69 views
Run serveral daemon using python
I noticed that serveral daemon invoked python seperately.
For example, I have both wicd and ibus daemon running on my machine. Instead of launching a single instance of python, the daemons run with ...
2
votes
1answer
1k 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?
2
votes
2answers
44 views
artsd on a server
On a debian server, I see artsd is running, I don't understand why. It's not my fault.
Is there some explication / usage to run a sound daemon on a server ?
~/ ps xf
PID TTY STAT TIME ...
2
votes
1answer
2k views
daemons and daemon users (specifically transmission-daemon) on OS X 10.5.8
I'm trying to set up transmission-daemon on a box running Mac OS 10.5.8. I want to do things the right way, which means (to my understanding)
create a service user (_transmission, for example) for ...
2
votes
0answers
90 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.
2
votes
0answers
45 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 ...
1
vote
1answer
114 views
inetd analog for Windows
Need a better analog of inetd daemon for Windows.
Currently using http://sourceforge.net/projects/winetd/, but it's outdated with bugs present.
Please recommend any better solutions for running your ...
1
vote
2answers
72 views
When should I choose to run an application as a daemon?
From the MongoDB manual:
To start the server as a daemon listening on port 5586 and sending all output to mongodb.log, we can do:
mongod --port 5586 --fork --logpath mongodb.log
What is the ...
1
vote
1answer
624 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?
1
vote
1answer
2k views
User Permissions: Daemon and User
I often run into this issue on Linux, and I'd love to know the proper way of solving it.
Say I have a daemon running. In my example, I'll use LigHTTPD, a webserver.
Some software, like Wordpress, ...
1
vote
1answer
148 views
Running – or only starting – a daemon using launchd
I'm trying to set up YouTrack on OS X Lion Server and have it launch at boot using launchd. I have downloaded the YouTrack jar file which I can successfully run from the command line using java ...
1
vote
1answer
47 views
Looking for cache daemon
I'm looking for a daemon that I can install on my Debian server, and can be controlled through PHP (preferably with included libraries). It must have a basic key-value cache, BUT it must never ever ...
1
vote
1answer
252 views
How to make core dumping in Linux for every process?
How make Linux core dumping for every process not only for deaemons?
1
vote
1answer
136 views
.sh script is not executed as the user I want therefore scp does not work
I was using the GUI version of Transmission for Ubuntu.
When my torrents were downloaded I ran the following script as user server with the corresponding ssh keys:
#!/bin/bash
cd ...
1
vote
1answer
454 views
Send command to daemon
I have a minecraft server running as a daemon. When you run it normally (not as a daemon), you can type commands into the console. How can you get to the console so I can send it commands while it's ...
1
vote
1answer
15k views
Daemon Tools Lite Error- Unable to add adapter
I just got a ThinkPad T510 with Windows 7 Professional and I installed Daemon Tools Lite, but I keep getting an error when I run it:
Unable to add adapter.
I can't load iso images, because ...
1
vote
1answer
29 views
How can I reboot system using Upstart?
I'm using Upstart on Ubuntu 12.04 to control and monitor a service defined by me, where the service is a user process running as a daemon.
I need to monitor it so, when it fails/crashes it respawns, ...
1
vote
1answer
110 views
Installing daemon on a fresh ubuntu system
I have done a linux service using the article on this link
http://shahmirj.com/blog/the-initd-script
After that I copied the files into the init.d directory
cp -f "myserviced" "/usr/sbin/myserviced"
...
1
vote
2answers
263 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 ...
1
vote
0answers
275 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
159 views
Using launchd for persistent scripts
I have launchd configured to run a script. This works fine for the user who installed it (me), but it relaunches the script every time I log in, while I'd like it to run as long as the computer is on ...
1
vote
1answer
95 views
Creating a Daemon based sftp client
If i were to build an sftp client which launched with logon details, and could then controlled by sending commands to that daemon; would that be ideal way to create an sftp client with disposable ...
0
votes
4answers
561 views
Program freeware - reminder that blinks a message on a computer screen
Do you know a freeware program - reminder that blinks a message on a computer screen
and can be scheduled for a certain time, let's say the hour when you may quit your work
place and go home?
...
0
votes
1answer
40 views
How to launch a daemon as root in OS X
I put my plist in /Library/LaunchAgents and my exexutive program in /usr/libexec and daemon statrs when system startup . But this daemon is owned by user . I try to put my plist in ...
0
votes
1answer
89 views
Find out which port the daemon is using [duplicate]
Possible Duplicate:
Finding the process that is using a certain port in Linux
Suppose I run some daemon but I didn't remember which port it usually use.
How can I obtain this information?
0
votes
2answers
208 views
How can I find out what IRC Daemon a certain server is running?
To get an overview on IRC, I wanted to find out what kind of IRC server software/daemon (like unrealircd) runs on a certain server.
Is there a possibility to get this information?
0
votes
2answers
279 views
How to make daemon starts automatically? Ubuntu server 12.04
I have nginx and postgresql daemons installed. How can make them start automatically every time server is started?
I think to add
sudo service nginx start
sudo service postgresql start
to ...
0
votes
2answers
194 views
Daemon <||> Process control differences
With respect to this excellent post:
http://stackoverflow.com/questions/958249/whats-the-difference-between-nohup-and-a-daemon
I would like to ask the following:
After launching an application from ...
0
votes
1answer
21 views
is it possible to change the way of authenticating linux with the help of a daemon (FC4 particularly)?
I got a pc and a special application installed on it, the OS is FC4 and we don't have root password I tried several random passwords and after 3 times I realized that something fishy is happening ...
0
votes
1answer
1k 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
325 views
How can I relax the X security constraints for the jenkins daemon?
It works fine on the commandline, when I do
xhost +
su - jenkins
emulator -avd myAVD.avd
but
emulator -avd myAVD.avd
executed by jenkins daemon fails with
"SDL init failure: No ...
0
votes
1answer
208 views
How to allow password protected start-stop-daemon functionality?
I would like to use Ubuntu's start-stop-daemon to start my application, but the application protects some sensitive information, so I have a mechanism where the application prompts for a password ...
0
votes
0answers
6 views
How can I get an amule daemon to follow an ed2k link?
I'm running amule headless, as a daemon, on some machine. I use the amule client-GUI version of it on my (Windows) machine to connect to the daemon. Now, I can't figure out how I'm supposed to add ...
0
votes
1answer
17 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 ...
0
votes
1answer
87 views
Excessive resource usage from /usr/sbin/atd?
I've been getting excessive resource usage notification from ConfigServerFirewall about this. Is it safe to disable /usr/sbin/atd, or should I just let it be and ignore it?
0
votes
0answers
56 views
Bittorrent Daemon with Web GUI that supports sorting via labels of some sort?
I'm building a server to share content to several Raspberry Pis running OpenELEC. I want to setup on the server a bittorrent daemon of some sort that supports user-defined labels of some sort (similar ...
0
votes
0answers
38 views
How to make Supervisor ignore failure of a service?
I have multiple services configured in Supervisord on Arch Linux. All configuration files live in /srv/conf, and I load them like this:
[include]
files = /etc/supervisor.d/*.ini ...
0
votes
1answer
68 views
How do I monitor a daemon on Ubuntu?
I have an upstart script which runs a node.js deamon continuously.
What I'm trying to do is to restart this daemon when/if it fails.
I have little or no idea how to go about this.
Any insight ...
0
votes
0answers
58 views
Where can I host a windows daemon service? [closed]
I've got a few daemon-type programs that I run 24/7, currently on my laptop. I'm running Windows and the apps are written in .NET. But when I travel, the laptop is off, and the daemons don't run, ...
0
votes
2answers
698 views
How can I stop jenkins.pid in fedora15?
I have jenkins running, but I need to stop it. in /var/run I have jenkins.pid which is what the standard jenkins script uses to stop jenkins. The jenkins script uses start-stop-daemon which doesn't ...
