On linux an unix-like systems is demon the designation of processes running in the background and providing certain services. Direct user intaractions with demons are not intended.
Questions tagged [daemon]
286 questions
0
votes
1 answer
postgresql - How to deamonize postgres server process for ordinary user
I'm trying to set up a PostgreSQL cluster in my home directory on Debian.
EDIT: There are a couple of reasons why I think this a good idea:
I don't use Postgres frequently so I don't currently have the systemd service enabled. I just start it with…

ironchicken
- 103
- 3
0
votes
2 answers
Auto-restart commandline process in screen every day
I have a queue script that finds new jobs from the db every second and handles them. Sometimes it doesn't do anything for 10 hours, and sometimes it receives 1000 new jobs in 3 min. The queue works fine, mostly.
It needs restarting though. (I'm not…

Rudie
- 337
- 1
- 3
- 14
0
votes
0 answers
Multiple Gunicorn daemons for Django projects with Nginx result in 502 Bad Gateway for one
I want to run two Django applications on the same server, with Nginx and Gunicorn. I can run them separately, but not both at the same time: When I try, one is OK, but for the other one I receive 502. Here are my configuration files:
First nginx…

Hasan Can Saral
- 121
- 6
0
votes
1 answer
multipathd not working after restarting
Multipathd is not working on CentOS 6.5 x86_64:
device-mapper-multipath-libs-0.4.9-87.el6.x86_64
device-mapper-multipath-0.4.9-87.el6.x86_64
I'm getting below error while restarting multipathd service:
ux_socket_connect: Connection…

Gaurav Bhatkar
- 1
- 1
- 3
0
votes
1 answer
emond process running at 100%
I have a couple of XServes running 10.5.6 and both of them have emond running at 100%.
If the servers are rebooted emond will not immediately consume 100%, but it will eventually.
I haven't seen anything unusual in the logs, does anyone have any…

jonoabroad
- 121
- 1
- 5
0
votes
1 answer
How to send a group of command in background
I'm writing my own generic init script, I've taken strategies from here and there and come up with
trap 'kill $(jobs -p)' EXIT;
until $DAEMON $DAEMONOPTS > /var/log/${NAME}.log 2>&1 & wait ; do
echo "Server '$NAME' crashed with exit code $?. …

Lorenzo Boccaccia
- 172
- 1
- 9
0
votes
0 answers
Cross distro daemon command?
I'm trying to write a script to launch a daemon on both centos and debian.
This is the current pseudo script:
if [ =f "/etc/init.d/functions" ]
then
. /etc/unit.d/functions
alias STARTSTOPDAEMON=daemon
else
alias…

Fez Vrasta
- 196
- 1
- 3
- 9
0
votes
2 answers
Cannot bind to port > 1007?
I want to bind a server to port 1023.
If I specify any free port > 1007, I have a "address already in use" error, but it works for ports <= 1007.
Working as root on Debian 7.8...
Any idea??
Thanks in advance

greg
- 169
- 11
0
votes
1 answer
Can't boot Mysql on Centos 7
I've installed mysql on Centos 7 (mysql-community-server) as root. The problem is that I can't start the daemon with "service mysqld start", It never return me to prompt and even if I try to use another ssh session the daemon is not up.
This is the…

Blof
- 11
- 4
0
votes
1 answer
mina deploy failed from Vagrant Ubuntu/trusty32
I'm new to rails. Have spent this whole morning trying to debug this strange problem. I am trying to deploy my rails application using mina to a staging server. My server is Ubuntu/trusty32 14.04 running with Vagrant VM. And the server I'm trying to…

hassansin
- 278
- 3
- 9
0
votes
1 answer
Installing OS-programs in linux
A previous user asked a question on where to install applications, and the answer spells out how the directories are used, however, as the answer says, when you use make install for a system daemon like sshd or ntpd it typically puts the results in…

Tyler Durden
- 477
- 1
- 6
- 16
0
votes
1 answer
init.d script appears to run but dies immediately
I registered the init.d script and when I invoke this directly /etc/init.d/gae it appears to work...PID file is created but the process is no where to be seen by the time I do a ps
I have googled and best determined it is possibly a path issue, with…

Alex.Barylski
- 123
- 6
0
votes
1 answer
SecAst: Premature Exit in Daemon Mode
To Generation D:
This is a new problem with build secast-1.0.4.0-x86_64-ub12 that didn't happen with the previous build, secast-1.0.1.0-x86_64-ub12.
When secast is run as a service (service secast start) or launched from the command line in daemon…

Elyod
- 25
- 4
0
votes
1 answer
Start daemon after specific samba share is mounted
I asked this question on AskUbuntu, but it's not getting any traction there... So I'll try here as well:
I have a homebrew headless NAS running 12.04.
In it I have a bunch of disks that are presented as a Samba share thanks to Greyhole. If I want to…

getack
- 61
- 8
0
votes
1 answer
rhnsd daemon on Ubuntu
I just bought a dell server (to learn stuff) and i was asking our sysadmin some security questions.
I just installed Ubuntu server and he gave me a long list of things to do for me to secure, check.
one of them is:
Make sure you turn off the "rhnsd…

Pat R Ellery
- 11
- 11