The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
3answers
601 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 ...
1
vote
2answers
472 views

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 ...
1
vote
2answers
164 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 ...
0
votes
2answers
247 views

Shell Script Launching Child Processes

Disclaimer: I'm totally new to shell scripting, but have quite a bit of experience in other languages like PHP and Obj-C. I'm writing my first daemon script. Here are the goals: I want it to run ...
0
votes
2answers
74 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
150 views

Individual Authenticator (Daemon) for Apache Wildcard-VHosts

In our development environment we're using the following VHost-Configuration for the majority of our projects: <VirtualHost *> ServerName misc.webdev.local ServerAlias *.webdev.local ...
0
votes
2answers
82 views

Does Anyone Know Where To Find Some Example Daemons?

I´ve never written a daemon before and I am trying to write a rather complex one that has to connect to a MYSQL database to see if it is time (or past time) to perform a ftp retrieval, then try to ...
0
votes
2answers
93 views

Is there freeware available to watch a series of FTP folders for changes

I am looking to run a (freeware if possible) service which scans a FTP server for changes, emailing certain recipients when certain folders have new files added. Server side would be best, but client ...
1
vote
1answer
166 views

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 ...
1
vote
1answer
53 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
1answer
45 views

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 ...
0
votes
1answer
67 views

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 ...
0
votes
1answer
142 views

How can I run git daemon using launchd (on demand, inited style)?

I am trying to run git daemon using launchd (on demand, inited style). But git clone git clone git://127.0.0.1/testrepo fails with Cloning into 'testrepo'... fatal: unable to connect to 127.0.0.1 ...
0
votes
1answer
1k views

Run mysqld under a different user (linux)

I've been trying to start mysqld under a different user as well as with a different data path. I've done so by modifing the my.cnf file as follows: [mysqld] datadir=/bob/database ...
0
votes
1answer
157 views

Windows Azure openSUSE: rcnetwork not starting

I have a Linux VM in Azure, created from their default image. My problem is simply that the init script network doesn't look like to start, so dependent services (apache, postfix...) won't start. If ...
0
votes
1answer
299 views

AFP / Apple Filling Protocol aka Netatalk access over Internet

I got a simple cloud server and thought it would be nice to have mac native afp Volumes accesss. Installed Netatalk and this seems to work pretty nice. No sensitive data or something but I don't ...
0
votes
1answer
743 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 ...
2
votes
0answers
53 views

Cleaner way to restart daemontools services

In our product, we had created services using daemontools. One of my service looks like this, /service/test/run /service/test/log/run (has multilog command to log into ./main dir) ...
2
votes
0answers
526 views

udisks-daemon eating up all my memory

I'm operating a little storage server on debian, over the past months I've noticed the process udisks-daemon eating up almost all available memory. Is this just really aggressive caching or a memory ...
1
vote
0answers
64 views

mysqld shuts down every 10 minutes

I have a very odd problem: mysqld shuts down every 10 minutes, without any errors, just like some process actually calls "shutdown" on it. I already checked cron, but couldn't find anything there. ...
1
vote
0answers
27 views

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 ...
1
vote
0answers
842 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 ...
0
votes
0answers
93 views

systemd user units and debian wheezy

I'm running a debian wheezy server and switched to systemd by installing systemd-sysv. So far everything works as before. Now I want to allow users to run/ manage their own units/ daemons with ...
0
votes
0answers
42 views

Why use daemon mode of mod-wsgi with apache mpm-worker

I am trying to tune my server which hosts a django app using mod-wsgi on an apache web server. I have been reading some resources on using mod-wsgi with apache2 and beyond a certain point things are ...
0
votes
0answers
69 views

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 ...
0
votes
0answers
109 views

call init.d script restart from cron - leaves defunct process, cron-invoked script never finishes

We wrote a quick ruby script called monitor_and_restart_solr.rb to restart a badly behaving Solr (java) process, but it appears to get stuck when we call the /etc/init.d/solr restart The script we ...
0
votes
0answers
224 views

hald (HAL daemon) behavior analysis

We were looking at the behavior of HAL daemon on a Linux host (Ubuntu 12.04.2 LTS 64-bit). We looked at both its syslog and system calls (using strace). According to the documentation, HAL daemon ...
0
votes
0answers
94 views

Why is there no (Debian) init.d script for usbipd? Should I write my own?

I just installed the usbip package on my Debian Wheezy (7.1) . For some reason, it comes without an init.d script. Why is there no init.d script for it? Should I roll out my own? Or am I doing ...
0
votes
0answers
83 views

Java daemon: “…not allowed access to the window system right now.” on boot

I have a daemon (/Library/LaunchDaemons/...) configured to launch on boot. However, I get the following error: Nov 17 20:36:24 server.local java[28972]: This user is not allowed access to the window ...