Questions tagged [daemon]

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.

286 questions
1
vote
0 answers

"Job failed to start" - Hey but why?

I'm running through an error that's giving me serious headache. Tried to Google for it but all I find is about MySQL which doesn't apply here. I've just updated Node and Ghost (blogging platform) on Ubuntu. Had some major issues to update Node…
1
vote
1 answer

What is meant by /sbin/init too old?

I am trying to use Upstart to daemonize a script. So, I made a .conf file under /etc/init/. Now to check the conf file I did init-checkconf /etc/init/ping_me.conf And it says ERROR: version of /sbin/init too old My linux kernel version is…
1
vote
1 answer

daemon function not found in CentOS 6.6

I am trying to set init.d script for some service - let it be less Here is my script: #!/bin/bash -xv # description: read service #Source function library if [ -x /etc/rc.d/init.d/functions ];then .…
fuser
  • 113
  • 6
1
vote
0 answers

how do I set monit to non-daemon mode

I'm trying to get monit to just excite the monitrc script once and then exit. I've tried monit -v -Ic /tmp/monitrc but when I look at the output it says: Runtime constants: Control file = /tmp/monitrc Log file = (not defined) …
1
vote
1 answer

How to configure a newer version of Supervisord to start on system boot in Ubuntu 12.02?

How do you configure a newer version of supervisor to start on system boot in Ubuntu? Some distributions simply lag behind in their repositories. When I use easy install (as recommended by default on the supervisor website) I only get the binary…
eco
  • 147
  • 9
1
vote
1 answer

MacOS Yosemite: Does setting PATH variable in /Library/LaunchDaemon work?

I launch a thing written in python from plists in /Library/LaunchDaemons in Yosemite and I want it to run some scripots. And it seems not to take PATH fro the plist file. For example if I have this in /Library/LaunchDaemons/com.foo.foo.plist
Stevko
  • 21
  • 3
1
vote
2 answers

Unable to get Rsyslog structured data in syslog message

I am new to syslog module. I am trying to log messages with structured data by using this parameter in template. But it is showing null value for structured data. I am working with rsyslogd 5.8.11 and rsyslogd 4.8.4 and for both the versions i am…
StackUser
  • 803
  • 1
  • 7
  • 7
1
vote
1 answer

FreeBSD: netatalk3 daemon keeps restarting

I set up a netatalk3 / afpd daemon on my FreeBSD server about half a year ago and used it as networked TimeMachine for my MacBook Pro. Pretty much fire and forget. Then, beginning of this month, I upgraded from version 3.1.2,1 to 3.1.7,1. From what…
ssc
  • 1,159
  • 3
  • 17
  • 30
1
vote
1 answer

Supervisord as Windows Service on Cygwin

I am attempting to run Celery as a Windows Service using Supervisord. I followed the configuration laid out on the Celery site and here. I have set up a virtual environment to run supervisord through cygwin. I have highlighted the lines I think are…
1
vote
0 answers

Oracle 6.5: MySQL Daemon failed to start

I installed MySQL by following these instructions on my Oracle Linux Server release 6.5, specifically using the yum package installer command, yum install mysql mysql-server mysql-libs mysql-server However I repeatedly keep getting the following…
beckah
  • 111
  • 3
1
vote
1 answer

Launchd job runs but then quits immediately

I wish to load and run a Lisp program in CCL in the background automatically when my Mac (OS 10.9) boots. I have a launchd plist that I've saved to /Library/LaunchDaemons,
fpt
  • 121
  • 4
1
vote
0 answers

Upstart - make "reload" behave like "restart"

I have a daemon process that doesn't respond to SIGHUP sent when running reload. It runs under an unprivileged user, and I can't restart it without sudo privileges. Is there a way to make reload to behave the same as restart, by changing the task…
yprez
  • 183
  • 1
  • 10
1
vote
1 answer

WSGIDaemonProcess for each application instance

I'm using Apache & mod_wsgi to deploy a django application on several servers. I've read in multiple places (including this: http://blog.dscpl.com.au/2012/10/why-are-you-using-embedded-mode-of.html) that it's better to use the Daemon mode of wsgi.…
Olivier H
  • 245
  • 1
  • 3
  • 9
1
vote
2 answers

How to stop webrick server after calling it as a daemon (-d option)

I have run Webrick server (Redmine) using this command: ruby script/rails server webrick -e production -d. Now I would like to stop the server, but sending a SIGTERM signal or calling kill doesn't work. How to stop the server?
1
vote
2 answers

What is the maximum allowable startup time for a daemon startup script?

What is the maximum allowable startup time for a daemon startup script? I do have a tomcat server that takes a lot of time to start and I could include logic inside the startup script to check if the service successfully started or not. Still, I…
sorin
  • 8,016
  • 24
  • 79
  • 103