Computer program that runs as a background process, rather than being under the direct control of an interactive user.

learn more… | top users | synonyms

0
votes
1answer
8 views

communicate with rsync daemon without sockets

According to the manpage, rsync --daemon will either: try to communicate using the rsync protocol using stdin/out, if it detects that the stdin/out are a socket, open a TCP socket for listening and ...
1
vote
1answer
78 views

Daemon's open file limit is reached even though the system limits have been increased

I am running Debian wheezy. File limits are increased to 100000 for every user. ulimit -a and ulimit -Hn / -Sn show me the right amounts of maximum open file limits even in screen. But for some reason ...
4
votes
2answers
321 views

How to check whether a process is daemon or not?

I have written a small daemon that starts at the boot time and does all the things perfectly like writing in the log file. But I want to know, how can we check whether that process is daemon or not? ...
1
vote
1answer
55 views

Daemon /etc/init.d message on Debian

When I start/stop/restart a daemon (eg. apache2), no message appears. I am on Debian testing (jessie). On my old server (Debian testing too), messages are displayed: root@old-server # ...
1
vote
1answer
33 views

High precision scheduler daemon

I'm looking for a scheduler daemon like cron, but with at least seconds precision so I can use it for a radio automation app. I've heard conflicting rumors about cron's ability to handle seconds. If ...
0
votes
1answer
100 views

I stopped MiniSSDPD, will something bad happen?

I have been trying to harden my Debian system by stopping and disabling the 20 or so unnecessary services listening by default. One of them is called "minissdpd". Apparently this provides "discovery" ...
1
vote
0answers
48 views

MongoDB “service” on clean Redhat can not be started

I just bring up Redhat 6.5 64-bit from AWS and did the below things: Disabled SELinux Disabled Iptables All ports opened in Security Group Rebooted Then i just followed, both of the below ...
1
vote
0answers
15 views

Multiple daemons init script

I have two daemons currently running on my development server (OpenSUSE 12). There are two daemon that work together as a whole and must start together and die together. Is there a standard way to ...
3
votes
1answer
40 views

Methods to find out which (configuration) files are read by executable when started

What are the clever ways to find out which (configuration) files are read by executable if started? For example snmpd or sshd. One option is probably to check the CONFIGURATION FILES or FILES section ...
1
vote
1answer
73 views

Kill wifi connection

I am trying to debug my wifi which does not work so I want to stop wpa_suppliciant and apply the -d option If I first kill -9 <pid> Then ps -A | grep wpa returns a new pid I am on ...
1
vote
0answers
61 views

Essential tasks of a routing daemon in Linux [closed]

What I have understood so far from some software router projects already there (e.g. bird), there are some essential subtasks for routing in Linux. Task 1: Get a routing table first (using ip route ...
0
votes
0answers
510 views

nfsd fails to start: modprobe: FATAL: Could not load /lib/modules/2.6.18-238.1.1.el5/modules.dep: No such file or directory

Before asking, here are some system specs: [root@SERVER ~]# cat /etc/*release **##############CARS build log for cars20-rhel-x86_64############## Date: Mon Feb 28 20:06:05 PST 2011 Builder: ...
0
votes
1answer
36 views

What program constantly reads e-mails and could execute actions under certain conditions?

I need a program that would be running as a daemon, connecting to mail server and reading inbox of a specified e-mail address (provided with password, of course =) ). If certain conditions are met, ...
3
votes
1answer
2k views

start-stop-daemon not working as expected, no pid file was written

I'm trying to control a python based program (which doesn't detach itself from console) #!/bin/bash user=nobody pid=/var/run/xx.pid name=xx prog=/xx.py case $1 in start) ...
0
votes
0answers
34 views

Execute snippet of code when key is pressed [duplicate]

I want to create a process in Linux which waits for some particular keys to be pressed and executes a snippet of code and goes back to sleep. How can I achieve this? Initially a process will be in ...
1
vote
0answers
30 views

daemon causes problem to the device [closed]

Currently I am working on one hardware device and we are calling it as a Unit (there are about 100 units). This Unit is built on Ubuntu 12.04. There is one daemon called dispaly_msg which is used ...
4
votes
4answers
421 views

Run command when temperature exceeds threshold, without daemon

I need to run a specific command if my laptop gets too hot (for example, send a STOP signal to Firefox or Virtualbox in order to prevent my laptop from shutting down violently and damaging my hard ...
-1
votes
2answers
132 views

Start the script with sudo not working [closed]

I am trying to start the virtual machine (ORACLE VIRTUALBOX) using this script (script name: start_vm001.sh). START_VM=`/usr/bin/VBoxHeadless --startvm testvm001` EXECUTE_VM=`exec ...
3
votes
1answer
268 views

fail2ban permission denied on script

I've just upgraded from RHEL 5 to 6.5 and setup fail2ban anew. I can't seem to get my custom action to work now, supposedly because of a permission issue. I wan't to know what am I doing wrong, and ...
1
vote
1answer
241 views

Setting up init.d service daemon priority (with or without monit)

Does anyone know how to change the process priority with monit? I want a high one. Monit config file for my service so far: check process RPiQuadroServer pidfile /var/run/RPiQuadroServer.pid ...
2
votes
2answers
72 views

How to add new elements to PATH for daemons (or other best practices)?

I want to add some scripts for custom administrative work to a Linux server (Ubuntu 12.04). Ultimately those scripts are callback scripts from at least one daemon (PostgreSQL in my case but that ...
1
vote
1answer
65 views

Daemons fall into what category?

Above system call, there are library routines, utilities and applications. Do daemons fall into any of these categories or they have their own category?
0
votes
2answers
84 views

Why programs often fail to run when started by `daemon`?

I do daemon -f -i ./some_gui_program - it starts. I do daemon -i ./some_gui_program - nothing visible happens. Why I can't start GUI programs detached on Linux this way? What's the use of daemon's ...
1
vote
1answer
866 views

Configuring anonymous rsync daemon

EDIT: I have since found that by using a folder in the root directory, things get a bit further - I can list the subfiles. So it really looks like permissions on the folder are the issue. I'm not ...
2
votes
2answers
56 views

Let users create their own daemons

How do I let server's users create their own daemons? They should auto-start on boot and otherwise behave just like regular daemons but with lower privileges overall. I remember I saw a tool that ...
1
vote
2answers
567 views

Writing own daemon. systemd error: Failed to read PID from file: Invalid argument

I'm trying to write own daemon a la very simple MPD (it's operating systems laboratory work). I made it work: it starts like a daemon (output of ps): 1 14877 14877 14877 ? -1 Ss 0 ...
0
votes
1answer
60 views

Can't terminate PHP daemon process

I've started a PHP daemon process via SSH with php ./my-script.php --daemon Now I want to quit this process, but I can't. It's still active in the foreground of my shell and I've hit CTRL + C ...
1
vote
0answers
398 views

Debian init.d with a working C++ daemon, unexpected results

I am fairly new to programming for Linux, and init.d scripts, and I have a problem with my init.d script adapted from an example I found via a lot of google searching. Instead of getting a status, ...
1
vote
1answer
2k views

Can I safely disable abrtd on CentOS 6?

There is this nice new daemon called abrtd running on CentOS6. This was inherited from upstream RHEL6. There this can be used (for instance) to automatically generate service-requests. In an ...
4
votes
1answer
143 views

How come each program or service has an account of its own in /etc/passwd?

I checked out the /etc/passwd file and I'm surprised to see that there are 35 different accounts, even though I'm the only user on this computer. I see that the accounts have names like mail, news, ...
1
vote
1answer
866 views

Daemon - how to tell the start daemon to execute this daemon as different username then root?

I have this startup script, when i launch i have the execution done by username: root, instead of username: sun. How can i tell the start_daemon to execute it as username : sun not root? $ ps aux | ...
0
votes
0answers
29 views

Run Sys V Init daemon as certain user?

When I installed dansguardian from the repos a long time ago, it set itself up such that in iptablesI could refer to it as --uid-owner dansguardian, which allows me to allow/deny it access to certain ...
3
votes
1answer
69 views

Can systemd do some setup before forking as a user?

Having written several small daemons or web applications for my personal use, I like to manage them using systemd (I am using Arch Linux, if that matters). So I write service files like the one below: ...
6
votes
1answer
171 views

How do daemons work?

If a user wants to execute a command, he has to first log in into a system. But some users in the system have /bin/false or /sbin/nologin set as a default shell in the /etc/password file. If I change ...
2
votes
0answers
90 views

IMAP caching proxy for sharing connections

I'm trying to find an IMAP proxy in which multiple clients will share a single connection to the same server. The reason for this is because most mail providers only allow a limited number of IMAP ...
1
vote
0answers
69 views

Cygwin DenyHosts daemon-control file: no such file or directory error

I have been trying to figure out this error and searched everywhere with no luck. I have installed DenyHosts on Cygwin and also the DenyHosts daemon but when I try to start the daemon by typing: ...
0
votes
2answers
284 views

What does this logrotate nginx config do?

In my /etc/logrotate.d/nginx I saw, /var/log/nginx/*.log { daily missingok rotate 52 compress delaycompress notifempty create 640 nginx adm ...
0
votes
1answer
51 views

Server running but not serving

I have a simple python flask server that is started by start-stop-daemon. It was running well last week, and this monday I see that it is not serving anymore (curl http://localhost/mypage takes ...
2
votes
0answers
77 views

How do I process the output of obexpushd?

I am using obexpushd to accept files from paired bluetooth devices. I need to extract the MAC addresses from the output of obexpushd to find out which file has been sent by which device. This ...
3
votes
1answer
190 views

Chrony 506 Cannot talk to daemon

I'm having trouble configuring chrony to sync the time between my raspberry pi and a desktop computer in an isolated network. My raspberry pi's chrony.config file looks like this: server master ...
2
votes
1answer
633 views

Difference between process in background and daemon [duplicate]

What is technically the difference of a process that started in foreground and was manually put into background and a daemon? Do they have different properties?
1
vote
1answer
217 views

Grep Wvdial output while it is running

I want to grep the output from wvdial while wvdial is running. Actually I want to fire a task when the modem is connected. I want to do this in the following way: grep string "IP address", if it is ...
7
votes
1answer
2k views

What is the difference between start-stop-daemon and running with &?

I am setting up a service in /etc/init.d. I am looking at various scripts in there, some are implemented with start-stop-daemon ... and some with /path/to/script &. All of them save the pid in a ...
1
vote
3answers
280 views

Is there any alternative to echo daemon to display ip?

Is there any alternative to echo daemon to display ip instead of given string? For ex: my ip = 80.1.2.3 server ip = 1.2.3.4 root@my-machine bash$ telnet 1.2.3.4 Trying 1.2.3.4... Connected to ...
2
votes
1answer
83 views

Is there a mechanism to run a “service” by a non-root user? [duplicate]

Is there a way I can have a continuously running, background process that can be controlled by me (a regular, non-root user)? All I need to be able to do is start, stop and restart the process. ...
1
vote
1answer
340 views

service vs. initctl in Ubuntu

Why are some deamons run out of service and some out of initctl in Ubuntu? Do both tools do the same thing and it is just a matter of personal preference of the user what they will use? E.g. sudo ...
4
votes
1answer
1k views

Where is my /etc/init.d/skeleton on OpenSuse 12.3?

On a fresh install of OpenSuse 12.3, I want to "daemonize" a program. And, on all examples found on Internet, I see I have to create first a /etc/init.d/myscript based on the /etc/init.d/skeleton... ...
3
votes
2answers
242 views

How to disable a daemon process on RHEL 6.3 like SMF does on Solaris

This problem has been bugging me for a while, we have a program running on Solaris, which managed as a service well by SMF, can be enabled/disabled very easily. Now, according to our market, we would ...
1
vote
2answers
52 views

Begin root process at boot?

I'd like to start a background process as root when my Linux install boots. Can I just add it to a directory or a configuration file?
2
votes
2answers
42 views

Find: who write backups

I have some daemon which writes Mongo and MySQL backups to the directory /opt/BACKUP, but I dont know - what kind of daemon, when it works and where i can find its settings? These files are in the ...