The daemon tag has no wiki summary.
1
vote
1answer
22 views
Monitoring on java daemon on centos
I have a java application which I run using yasjw tool as a daemon. I need to monitor it in case it goes down I need some kind of alert or even restart it. Is there any tool can help me do this on ...
0
votes
1answer
51 views
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 ...
2
votes
2answers
64 views
Run as different user
On a RedHat system, i'm trying to launch a program with a different user who dont have any shell. In /etc/passwd, shell is /sbin/nologin.
I have tried:
su myuser -c /home/myuser/script.sh
Result: ...
1
vote
1answer
124 views
Nginx daemon doesn't want to stop on Ubuntu
I've got an Ubuntu 11.04 i386 server with Nginx 1.0.11. I'm also using this init.d script - the only one I've found. The server starts up well, but each time I'm trying to stop or restart it, the ...
0
votes
0answers
24 views
How to install Shibboleth Service Provider on Windows Azure instance?
I have been going by the Shibboleth2 wiki IIS installation guide, specifically the steps for IIS7. I have just been remoting into a hosted service instance to follow these steps. I installed the 64 ...
2
votes
1answer
40 views
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 ...
0
votes
1answer
55 views
Running JBoss 6 with Runit / daemontools or other process supervision framework
I'm tying to use runit to daemonize JBoss.
I use the /opt/jboss-6.1.0.Final/bin/run.sh script to start the server. When I do so from the comandline, JBoss does not detach (which is what we want), ...
0
votes
2answers
106 views
Force a process to use a particular cpu core? [closed]
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 ...
0
votes
1answer
45 views
How to stop pptpd even when there are active vpn client connections?
After issued command to stop pptpd, the pptpd won't stop until all the VPN client has disconnected. The following code shows pptpd is still running after issuing the stop command.
...
1
vote
0answers
51 views
Nginx doesn't seem to stop correctly
I'm using the following script to start/stop nginx:
#! /bin/sh
### BEGIN INIT INFO
# Provides: nginx
# Required-Start: $all
# Required-Stop: $all
# Default-Start: 2 3 4 5
# ...
0
votes
1answer
58 views
start-stop-daemon checking for existing running processq
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 ...
0
votes
0answers
28 views
Correct way to stop .exe run as a Windows Service with Commons Daemon?
I am using the Apache Commons Daemon (prunsrv.exe) as a wrapper to run an .exe as a Windows Service. However, I am not sure what the proper way of killing only this instance of the .exe is when the ...
0
votes
1answer
22 views
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 ...
1
vote
2answers
104 views
How to Start Linux Daemon program at boot up
I am confused on how to start my Daemon C program at boot-up. The program runs as a Daemon OK when I satrt it from command shell, but now I want it to start up every time at boot-up. I have searched ...
3
votes
2answers
81 views
Spawning multiple instances of a daemon in Ubuntu
I have a python script that listens and blocks while it waits for data on a redis list.
It runs fine in upstart using the following:
description "stage message consumer"
author "Nilesh Ashra"
start ...
0
votes
0answers
15 views
How to make rinetd logging non-buffered?
Is there any way to get rinetd to flush the buffer automatically every n entries or n minutes, or set it to non-buffered?
4
votes
2answers
140 views
Call to daemon in a /etc/init.d script is blocking, not running in background
I have a Perl script that I want to daemonize. Basically this perl script will read a directory every 30 seconds, read the files that it finds and then process the data. To keep it simple here ...
0
votes
2answers
86 views
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 ...
-1
votes
1answer
61 views
What is the difference between Windows XP services and Windows 7 services?
I have downloaded an open source C++ application. This application run as a Linux daemon, listening at a port, and waiting for connection from client PC. Someone has compiled this application under ...
0
votes
1answer
53 views
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 ...
0
votes
1answer
126 views
Running python script as a daemon in debian
I'm trying to run my python script as a service... But I'm getting this error when I call sudo update-rc.d mylistener start:
Use of uninitialized value $ARGV[1] in pattern match (m//) at ...
1
vote
2answers
46 views
Ensure that a via ftp uploaded file is complete
I want to write a script that runs on a server and looks for a configuration file every x seconds and starts or kills other scripts depending on the data in the configuration file. My question now is: ...
1
vote
1answer
75 views
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 ...
2
votes
3answers
67 views
Linux: user defined daemons/services
I'm looking for a framework/library/environment so an ordinary user can set up it's own server processes. These processes should run under his uid as any other user process.
However the definition of ...
2
votes
2answers
167 views
init script that logs output of the script
How can this be done? I know it's pretty simple and includes appending something like & or &> to the actual command that starts the init script.
But, what is the best approach and how can ...
1
vote
2answers
385 views
public key authentication fails ONLY when sshd is daemon
(This question had been erroneously asked in stack overflow -- I'm sorry for that -- and closed as "off topic")
I have no clue on how this happens. The distro is Scientific Linux 6.1 and everything ...
0
votes
0answers
160 views
Running Celery as a Daemon while using VirtualEnv
I've setup and tested celery on my amazon linux server, using mysql as the messaging backend and it works fine when running the program directly. My python project and celery install are located in a ...
1
vote
2answers
110 views
Automatically restart simple Linux daemon (polipo) when it dies
I have a polipo proxy running on Ubuntu. It's set to start automatically on boot, but occasionally it just dies. What's the simplest way to have it automatically restarted whenever it exits ...
0
votes
0answers
57 views
How can I make an init script (or daemon?) for an arbitrary program that runs in the background?
I want to use Markdoc, a system that converts markdown files into wiki pages. Markdoc comes with its own server. I created a new user for the wiki and put the wiki files into that user's home ...
0
votes
3answers
81 views
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 ...
0
votes
1answer
55 views
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.
1
vote
3answers
171 views
Server-side antivirus
We're looking for some sort of antivirus for a server running Linux and can't seem to find a decent one that runs server-side. And by serverside I mean that it could run as a daemon instead of having ...
1
vote
1answer
62 views
Does STDERR go to syslog in an LSB init script?
I am running a Debian system and have an init script in /etc/init.d/ that starts a daemon using start-stop-daemon:
start-stop-daemon --start --quiet --pidfile /tmp/myproject.pid --exec ...
0
votes
1answer
68 views
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 ...
1
vote
1answer
65 views
Considerations for building SysV or Upstart compatible Bash scripts
I've just knocked out a quick script for keeping a slave web server in sync with a master using rsync. (https://github.com/simonjgreen/liveFolderSync/blob/master/liveFolderSync.sh)
I'd like to make ...
1
vote
1answer
79 views
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 ...
0
votes
1answer
129 views
Running Celery as a daemon
I'm testing Celery with RabbitMQ on Ubuntu11.04 on a python project that is not a django project.
I have my celeryconfig.py and my test.py file in /mypath/myproject/.
My /etc/default/celeryd looks ...
2
votes
2answers
160 views
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 ...
1
vote
2answers
82 views
init.d service died
Adapting some code from a linux forum, I've added a service script to /etc/init.d on my ubuntu natty server to start/stop/restart node.js
It literally was working the first day I made it, but then ...
2
votes
2answers
212 views
How To Install Git Daemon on Ubuntu 10.04 Linux
I tried following this doc...
https://help.ubuntu.com/community/Git
...but unfortunately the "initialKeyFileName" step is not explained.
1
vote
1answer
40 views
On Mac upon reboot, how to make a new daemon start and an old daemon not start?
We have a daemon running on a Mac server (10.6.6).
We want to install another newer version of the daemon along side it but not start it.
Then at a specific time, we want to reboot the server and ...
0
votes
0answers
222 views
Invoking java using start-stop-daemon causing excessive CPU usage
Short version
Why does Java consume far more CPU time when launched via start-stop-daemon than when launched directly from the terminal?
OS: Debian Squeeze x86
Java version: Sun Java SE 1.6.0_24
...
2
votes
2answers
180 views
Restarting a Perl-script (socket daemon) from /etc/inittab
I run a small multiplayer card game with around 500 users at peak times:
The client is in Flash and the server is in Perl.
The Perl server binds to port 8080, i.e. only 1 instance of it can be ...
0
votes
0answers
117 views
How to permanently “renice” a process on Mac OS X (or iOS, etc)?
I use a nice (free) process manager called ATMonitor for Mac OS X that has a lot of cool hidden features... one of which is being able to click on a running process.. and set the "renice" from +20 ...
1
vote
1answer
247 views
Daemon can't be started from fabric script or on boot - only interactively
I have a daemon script in /etc/init.d that performs some background packet logging using the tcpdump command. The script starts up fine using an interactive shell using sudo /etc/init.d/packetlog ...
0
votes
2answers
48 views
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 ...
0
votes
2answers
220 views
Access a Network drive from another user from CMD (windows)
I have written PostgreSQL backups scripts that backup all the databases to file.
pgAgent.exe (a scheduling daemon) starts the BAT scripts under the local postgres user.
The normal setup is to backup ...
1
vote
1answer
291 views
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:
...
1
vote
3answers
269 views
SSH dial home daemon or automatic tunneler?
I know a number of vendors that sell network/server appliances, that have a support button, that once pressed, setup an SSH support tunnel back to the vendors main servers so the support technician ...
0
votes
3answers
256 views
Working around the stale pidfile problem after hard restart kills my daemon
I'm using Red Hat Linux (RHEL5) on a (VMWare) VM. I've written a daemon which should stay running all the time and automatically run on boot.
Last night the VM host had an unrecoverable hardware ...