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
0
votes
3 answers

Automatically power down home GNU/Linux server after 30 minutes of inactivity

I'd like my home GNU/Linux server to power down after 30 minutes of inactivity. For "activity", I'm thinking any new [CUPS] print jobs any requests to a locally running Apache server any activity over SSH except for failed logins If any of these…
Adam Monsen
  • 725
  • 1
  • 7
  • 24
0
votes
2 answers

mysqld: Job failed to start

OS: Ubuntu 12.04 Command: sudo /etc/init.d/mysqld start Occasionally mysqld failed to start. I don't make any changes in my.cnf or any other configuration on this laptop. One day it's ok, another I have this error. syslog: Aug 11 11:09:14…
Oleg
  • 101
  • 1
  • 4
0
votes
3 answers

debian symlink existing daemon incrond to start at boot

I'm triying to start the incron daemon "incrond" at boot but doesn't work. I have done : ln -s /usr/sbin/incrond /etc/init.d/incrond chmod 755 /etc/init.d/incrond update-rc.d incrond enable But no "incrond" pid is running there. Question Shall I…
hornetbzz
  • 170
  • 9
0
votes
1 answer

Simple network queue daemon for port 9100 printer

I have a printer that is connected via the port 9100 aka AppSocket aka JetDirect protocol, which is basically no protocol at all but everything that is sent to that port is interpreted as print data. However, when a second connection is opened, the…
AndreKR
  • 551
  • 1
  • 3
  • 17
0
votes
1 answer

How to run a service as daemon in Centos 5

In Ubuntu, I use -D to run a service as daemon. I wonder there is any similar command to do this in Centos.
Frankel
  • 101
  • 1
0
votes
1 answer

Ubuntu Server SSH does not autostart

I use a VPS with Ubuntu 10.04. After I performed "apt-get upgrade", the ssh daemon stopped working and does not automatically start when I restart my server. I have only access to files (edit, create delete etc.) and no shell access. Could you…
Paris
  • 123
  • 1
  • 5
0
votes
2 answers

Force a process to use a particular cpu core?

Possible Duplicate: Is it possible to limit a Linux process so that it can only run on a particular core on a particular machine? I would like to know how can I bind a process to a particular cpu core on a Linux server? I am running Centos 5.5.…
peerra
  • 1
  • 1
  • 2
0
votes
3 answers

start-stop-daemon checking for existing running process

I'm starting a Python script that I've created using start-stop-daemon. It works perfectly in all cases, except when I've forgotten that I've already started it. It creates a new process, but is unable to kill the old processes…
0
votes
1 answer

Service generated content interaction with PHP

I have a daemonized service that generates content at /usr/share/service/content I need this content to be accessible from PHP. The service runs under a user named _service which belongs to the same group as the one running PHP (www-data). Both…
goliatone
  • 115
  • 1
  • 5
0
votes
2 answers

shell script to start multiple Java programs from a directory at boot

I'm not sure if this is the best approach to this, It's my first time doing all of this (including writing shell scripts). OS: Centos My problem: I want to start multiple shell scripts at boot. One of the shell scripts is to start my own services…
zcourts
  • 149
  • 1
  • 1
  • 7
0
votes
1 answer

Is it possible to circumvent public key authentication restrictions using SSH daemon?

My web hosting plan does not support public key authentication, however advice given in Public key authentication unsupported by web host. Method to avoid entering password? question suggests it may be possible to achieve using an SSH Daemon? Is it…
unpossible
  • 218
  • 3
  • 9
0
votes
3 answers

Make Apache send a copy of requests to a script

Let's say we have a huge list of clients (~30) all running on the same server under different users (and other security settings). I need to write a "spy/logging" script which is able to handle all HTTP traffic without actually modifying it or…
Christian
  • 466
  • 5
  • 23
0
votes
1 answer

What's the difference between a daemon listening on 10.0.2.15:53 and a daemon listening on 0.0.0.0:53?

I wanted to know the difference between these two states, I just did a netstat -anob on my 2008 R2 testing machine.
JohnnyFromBF
  • 1,259
  • 6
  • 21
  • 25
0
votes
1 answer

How can I run terminal commands at startup on a Mac OSX server?

For example, when the server boots I need to start Tomcat, and I need to start an Android emulator, and then issue some commands to it. These are on the path already. I'm familiar with Linux and understand the basics of Daemons, and I suspect it…
user11958
0
votes
2 answers

Configuring Syslog to accept remote log submissions

By default syslog daemons don't accept remote log submissions. I need mine to, but don't really have a clue how to configure that. Can anyone help me out, send me a good tutorial, etc. I have been googling for awhile, but can seem to find what I'm…
auwall12688