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

learn more… | top users | synonyms

1
vote
1answer
12 views

Running daemon as regular application

There are tools that enable one to run a console command or a console application as a daemon. To "daemonize" it, so to say. Is there a way to run a daemon as a regular console application? I'm ...
4
votes
1answer
33 views

Monitoring ARP Poisoning

How to monitor ARP poisoning? These few days my internal website that can be accessed locally has weird image replacing every images on the site for few seconds (it got back to normal after ...
3
votes
1answer
14 views

How to distinguish if a systemd unit is run by apt-get or during boot?

Can one somehow distinguish if, a) the daemon was started during boot or, b) (re)started by an apt-get install or upgrade? Can this be distinguished from within the daemon itself? The use case is ...
2
votes
2answers
48 views

How can I start a file-processing daemon? [closed]

How can I run a script-based tool which will process files continuously downloaded to given directory as they arrive? I'd like to minimize delay (~1 second is OK), script can have own infinite loop. ...
1
vote
0answers
28 views

NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: server SMTP socket wedged: exiting

host map: lookup ( ): deferred It is the log info in mailq. NOQUEUE: SYSERR(root): opendaemonsocket: daemon MTA: server SMTP socket wedged: exiting It is the log at /etc/log/maillog I use ...
1
vote
1answer
29 views

Pass SNMP trap packet to a php daemon on Ubuntu

I have a Ubuntu server which is collecting incoming SNMP traps. Currently these traps are handled and logged using a PHP script. file /etc/snmp/snmptrapd.conf traphandle default ...
1
vote
0answers
29 views

Simple automount USB devices with fstab: is it normal behaviour?

I notice that adding this in /etc/fstab: /dev/sdb1 /media vfat nofail 0 0 will automount any SD card of my USB SD reader, and even auto-remount if I remove the card, and insert a new ...
1
vote
2answers
60 views

How to keep a process from running?

I can kill a process. But how do I keep that process from being called up again without removing it from Linux? For example, if I run something like netstat to find the port associated with the ...
0
votes
1answer
15 views

Turn on bluetooth on login screen

Is it possible to have bluetooth turned on and use a bluetooth keyboard when at the login screen? So far I only managed to start the bluetooth daemon when logged in. I added it to systemd with ...
3
votes
1answer
35 views

Is there a way to make nice (process priority) values survive a reboot?

I've been working on setting my Pi up as a seedbox, which I have no finally got working. My issue is that I also use this Pi as a mumble server and NAS for my media in home. I'm quite comfortable with ...
0
votes
0answers
24 views

Starting Daemons in specified order

I would like to load some custom daemons I have made in a certain order. One daemon starts xflux and one starts the x server. Is it possible to make the xflux daemon run only after the startx daemon? ...
0
votes
1answer
37 views

lsb - log_daemon_msg echoes messages in shell console!

#!/bin/sh . /lib/lsb/init-functions log_daemon_msg "this is a daemon s message" On the shell console, it prints, this is a daemon s message A daemon process doesn't have stdout at all. So why ...
1
vote
1answer
39 views

CKB Arch - Daemon run on startup

I have a Corsair K65 RGB Keyboard. To start it working, I had to clone https://github.com/ccMSC/ckb , compile and run the [clonedir]/ckb/bin/ckb-daemon . Every time I boot, I have to pull out my old ...
1
vote
1answer
25 views

What happens to the services that do not have a killing-script in the new run level?

I read, that each runlevel has its own set of services or daemons, which can be looked up in /etc/rcX.d (X for the respect runlevel), there are scripts which names start with S and start services of ...
1
vote
1answer
119 views

atftpd won't start on opensuse tumbleweed under systemd

I tried installing atftpd today. The package installed successfully: # zypper se atftp Loading repository data... Reading installed packages... S | Name | Summary | Type ...
0
votes
0answers
171 views

/var/run/dbus/system_bus_socket: No such file or directory

I've been using Linux systems for years now and wanted to try Kali Linux as my next. I've been using Backtrack before as well and never experienced errors. However, I just installed Kali and boot up ...
2
votes
0answers
22 views

How to recognize a state of idleness for a given period in a script?

I would like to write a simple script, that should work as a daemon. The only thing this dameon has to do is to check if for a given period neither a key has been hit, nor a mouse moved, nor a ...
0
votes
0answers
88 views

Possible to pass env vars into chpst without envdir?

I use runit to daemonize my web application, and I'm trying to see if I can have my process managed by sv not have to have a corresponding envdir for its environment variables. I wonder if I can just ...
0
votes
0answers
16 views

How to execute a command only the first time a user logs in? [duplicate]

I have a daemon ( Dropbox ) that needs to be started as the user X, and only the user X, logs in. In addition, I would like this daemon to be started only the first time the user X logs in. If I add ...
1
vote
1answer
62 views

Jar on Raspberry Pi not responding after a long time

Hello I made a java program with friend that is designed to run 24/7 as a personal assistant on a headless Raspberry Pi. It basically can be used as an alarm and to tell us the weather or news etc. So ...
1
vote
1answer
106 views

Running init script which starts a deamon in background for reducing boot time?

I'm looking for ways to speed up the boot time on a single core embedded Linux system. Significant lag happens during start up of some custom daemons. Once they are up, they do run in the background, ...
0
votes
1answer
304 views

Passing variable in init.d script

I have the init.d script show below. I want to start the daemon with the argument --http_root /tv When I start the application without the daemon the argument is accepted However I cannot seem ...
0
votes
1answer
101 views

Running smsd gnokii on boot

I can successfully run smsd but I could not run it on boot. I tried using rc.local and @reboot cronjob but none of the two worked. Does anyone tried to successfully run the script on boot?
1
vote
0answers
32 views

Output Tmux Output to the Terminal

I'm using supervisor to monitor keep a process alive, but I do need to have contact with that process every now and then to provide user input. I would normally use tmux for this, but when I use ...
4
votes
1answer
5k views

How to list all running daemons?

From my question, it was clear that I cannot easily decide the features of a daemon.I have read in different articles and from different forums that service --status-all command can be used to list ...
1
vote
2answers
120 views

Can Process id and session id of a daemon differ?

As far as I understood from different articles and here , a daemon has the following features: Parent Process ID should be 1. No terminal should be associated with the process. The process id, ...
3
votes
1answer
2k views

unable to restart networking daemon

When I type sudo service networking restart, I am getting error as shown below: edward@computer:~$ sudo service networking restart stop: Job failed while stopping start: Job is already running: ...
2
votes
1answer
223 views

rngd - multiple instances from init script

On Ubuntu >=12.04, what is the most correct/prettiest way to get rngd to run in multiple instances using an init script? The current one only accepts one random source, so multiple instances are ...
1
vote
0answers
22 views

execute command on pointer movement, wait and revert?

I've got two pointing devices (touchpad and trackpoint) and the goal is to execute a command when movement (any direction, any distance) is detected on the trackpoint, then wait a configurable amount ...
0
votes
1answer
820 views

Syncthing daemon starts manually using script, but not at startup

I have installed syncthing on a Linux Mint Debian Edition machine and am trying to get it started at boot time using an init script in /etc/init.d. I followed this tutorial. Symlinks in /etc/rc.* ...
0
votes
1answer
25 views

IRC server is being stored data in DB such as mysql or psql [closed]

I need a IRC server with the following features: Can be store chatted data in a db such as mariadb or psql Can be limit per user (rw,ro) Be Freesoftware Please suggest me.
1
vote
0answers
13 views

How to interpret numerous processes with exact same RAM usage [duplicate]

I have a VM that processes files, parses the information and saves it to a database. I've been monitoring the resource usage and noticed /usr/sbin/console-kit-daemon --no-daemon.. Below you see a ...
0
votes
1answer
61 views

Can we input or send any text to the daemon?

I have some ‍upload/download ruby scripts; I want to run those scripts in daemon process. When I run ruby script on terminal, it ask for some input after that script start to execute. So now I want to ...
1
vote
1answer
52 views

Start a service on a network request (socket activation)

I have a program that under normal activation listens on some port. I don't want the program running continuously. Is there a "quick and dirty" way to wrap the application in a shell script or ...
1
vote
1answer
85 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
634 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 ...
1
vote
2answers
750 views

How to start teamspeak server on reboot as specific user

Linux version on the server is Centos 7.0. Teamspeak server runs with this command: ./opt/teamspeak3-server_linux-x86/ts3server_startscript.sh start My server doesn't have 100% uptime. Therefore, ...
4
votes
2answers
2k 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
279 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
55 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
1k 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
111 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
39 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
52 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
193 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 ...
0
votes
0answers
679 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
46 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, ...
5
votes
1answer
7k 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 ...
4
votes
4answers
525 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 ...