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
2
votes
1 answer

Error running MySQL Daemon

I'm getting a bizarre error running my mysql daemon as the user 'mysql' here is what the command spews out, now I've checked and the instance isn't running already :S So, I have no idea why it's displaying this output: 120729 18:54:28 [Note] Plugin…
2
votes
0 answers

Windirstat equivalent daemon for Linux server?

Is there a daemon-type application for Linux, that runs in the background, periodically maintaining a windirstat-type picture of the file system? Ideally it would have its own web interface, but I could obviously hack one together in PHP if not. Oh,…
Fela Maslen
  • 1,243
  • 2
  • 12
  • 19
2
votes
1 answer

telling runit to pick up a new service immediately

As a happy user of runit - I am curious if it is possible to send a signal to the main process (or similar) telling it to look now at the service directory? the current behaviour is < 5 seconds (seems much faster most of the time) between scans for…
Michael Neale
  • 3,704
  • 5
  • 28
  • 26
2
votes
1 answer

Can daemontools (djbtools) be configured to start multiple processes as a single UNIX service?

If I have an application that requires two separate processes (front- and back-end) to run properly, is it possible to launch both of them from a single runscript and have daemontools supervise both of them and treat them as a single service? If so,…
bjmc
  • 147
  • 3
2
votes
1 answer

Upstart, no feedback whether starting failed

I have a daemon in /opt/xyz/bin/xyz. Unfortunately it cannot fork itself into background and will not be able to do so within the next half year. My problem is the following: Entering service xyz start just returns xyz start/running, process…
user694971
  • 123
  • 3
2
votes
1 answer

Disable nginx, but keep it installed

I have nginx installed on CentOS and now I need it to be disabled (including on reboot), but keep it installed for further use. Should I only remove /etc/init.d/nginx file? Or is there more graceful way to do that?
Pavel Koryagin
  • 255
  • 1
  • 3
  • 8
2
votes
2 answers

Ubuntu Daemon Best Practices?

I have a RingoJS webserver (runs atop Jetty) that is part a an Apache reverse proxy setup. I would like multiple Ringo processes to run autonomously in the background, startup automatically on reboot, etc. Basically, the same as Apache or…
Scott Klarenbach
  • 569
  • 2
  • 8
  • 20
2
votes
3 answers

How To Install Git Daemon on Ubuntu 10.04 Linux with SparkleShare (and use it like Drop Box)

I tried following this doc... https://help.ubuntu.com/community/Git ...but unfortunately the "initialKeyFileName" step is not explained.
ServerChecker
  • 1,518
  • 2
  • 14
  • 35
2
votes
1 answer

Trouble running Python Celery as a daemon

I have Celery setup and running as a daemon on a Ubuntu EC2 instance. This morning I updated some of the tasks and tried to restart Celery and it wasn't working. After working at it a bit I found: Celery will start if I run the command sudo…
Rob
  • 276
  • 3
  • 10
2
votes
3 answers

How do I create an interactive daemon login?

I run a service on a debian/linux machine which runs at boot with a 'screen' session I can always attach to. I would like to create a username which I can run this service as. At the moment I use a 'regular' login account. I would like the added…
John McAleely
  • 356
  • 5
  • 14
2
votes
1 answer

MySQL Eating CPU Usage (Urgent)

Recently, I purged the cache files for my website and now MySQL is eating up CPU up to 100%. It slowly grows from 10% to 100% within 5min and so the server crashes. Fortunately, I turned stopped the service via #service mysql stop but each time I…
Gio Borje
  • 149
  • 3
  • 10
2
votes
2 answers

How can I force GNU Screen to flush its logfile?

I am using Screen like this: screen -L -dm -S session1 -c "./game_server -options" to wrap around game servers. I log their output to a file and can send them input with: screen -r session1 -p0 -X "stuff \"this into input^M\"" The timeout between…
Gipsy King
  • 123
  • 1
  • 5
2
votes
3 answers

What, if anything, is safe to symlink in /var?

We have plenty of space on a different mounted device. Since the /var partition stays relatively static in terms of size (around 8-10GB because of big logs that we need), I'd be fairly happy to simply make our current /var space 65% full rather than…
2
votes
2 answers

Starting jetty service from SSH

I am trying to start jetty service from ssh using the command: ssh -t myhost "sudo /sbin/service jetty6 start" All works well, service comes up but after the command terminates and the connection closes down, the Jetty service goes down, too. If…
Sasha O
  • 121
  • 1
  • 4
2
votes
2 answers

How to set system environment variables for Linux services?

I need to setup environment variables for application servers. For example: ORACLE_HOME, ORACLE_SID, JAVA_OPTS, CATALINA_BASE. I know how to set system environment variables in Windows, but no ideas for Linux. I start application servers manually,…
Nulldevice
  • 227
  • 1
  • 3
  • 9