The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
829 views

What is the mdbs_daemon, and why is it listening on port 800 on my server?

While trying to resolve a ports issue on a staging server, I happened to run an nmap on our production server, and found that port 800 was open: 800/tcp open mdbs_daemon I have no idea what ...
2
votes
6answers
7k views

Running JBoss-5.1.0.GA as a service / daemon on Red Hat?

I am using JBoss 5.1.0 GA on Red Hat (Amazon ECS)... Am trying to set it up so JBoss will run as a service / daemon (right now it only starts up when I manually SSH and invoke sh ...
0
votes
2answers
1k views

VSFTPd 3.0.2 on Ubuntu 12.04 Init File

I installed the VSFTPd 3.0.2 on Ubuntu 12.04 following this commands: $ wget https://security.appspot.com/downloads/vsftpd-3.0.2.tar.gz $ tar xzvf vsftpd-3.0.2.tar.gz $ cd vsftpd-3.0.2 $ make -j8 ...
1
vote
3answers
2k views

How to install Mono XSP as a daemon on Debian?

I want XSP to run on my virtual Debian 5 as a daemon. How can I do that? I tried next: $ sudo cp /etc/init.d/skeleton /etc/init.d/xsp updated the script properly: ...
1
vote
0answers
379 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 ...
4
votes
1answer
4k views

Launching a PHP daemon from an LSB init script w/ start-stop-daemon

I'm writing an lsb init script (admittedly something I've never done from scratch) that launches a php script that daemonizes itself. The php script starts off like so: #!/usr/bin/env php <?php ...
1
vote
2answers
763 views

start-stop-daemon saves wrong PID

$ ps aux | grep svn root **4458** ... /usr/bin/svnserve -d -r /var/svn manuel 4466 ... grep --color=auto svn $ sudo kill **4458** $ sudo rm /var/run/svnserve.pid $ sudo start-stop-daemon ...
0
votes
4answers
267 views

Daemon process exiting when shell closes

I have a script which starts a daemon process and then sleeps for 20 seconds. If I run the script on SLES11 SP1 or RHEL6 then after the script exits the process is still running. If I run the script ...
0
votes
2answers
218 views

keep linux subsystem service up and running forever

I have created a subsystem file which runs java program I have created. The subsystem file resides in /etc/init.d and allows me to stop and start the service with a consistent interface (start and ...
2
votes
2answers
3k views

Can start-stop-daemon use environmental variables?

I need to daemonize a Windows app running in Wine, and create a pid in /var/run. Since it requires an X11 session to run, I need to make sure the $DISPLAY variable is set in the running user's ...
1
vote
2answers
478 views

Debian startup - start a daemon after postgresql

i'm configuring my debian server and i don't manage to start a daemon correctly. In order to start, my daemon has to find the Postgresql socket (located at /var/run/postgresql/.s.PGSQL.5432), but ...
1
vote
1answer
889 views

How can I generate a command for start-stop-daemon that will kill the process if it doesn't term during a timeout period?

I need to run a start-stop-daemon for a redis instance and I want it to send a SIGTERM and if the redis instance doesn't quit i would like it to force a quit. The start-stop-daemon configuration says ...
1
vote
1answer
115 views

Bash - Program is writing directly to terminal

Valve's dedicated server for the Source Engine (srcds_run) on Linux writes directly to the terminal, not stdout. I want to run it as an /etc/init.d daemon on Debian 6, and I'd like to redirect/capture ...
1
vote
1answer
46 views

Unix to execute program on WAN IP update

How do I access the current IP address? Is there a way to execute a program every time it changes? I want to make a program that whenever my IP changes, it will use the Amazon Route 53 API and update ...
2
votes
1answer
144 views

How to use monit to make sure only one instance of process is running

I have ruby daemons running. Once in a while we'll accidentally start up a second instance of it, which causes race conditions. Can I use Monit to detect if multiple instances of 'my_ruby_daemon' is ...
0
votes
2answers
891 views

Creating gid/uid for your custom created daemon?

Assume you have created a daemon (custom written) and want to create new uid/gid for this program. Are there any standard practices? e.g. Should the uid and gid be the same? Should the id start ...
1
vote
2answers
371 views

How does rsync --daemon know which way it is being run?

I am wanting to run rsync over an SSL/TLS encrypted connection. It does not do this directly so I am exploring options. The stunnel program looks promising, although more complicated than designed ...
0
votes
1answer
481 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
116 views

template / platform for linux shell scripts to init.d scripts

So I got a number of small cronjobs, that needs to run more frequent then a minute. So what I usually do is - create shell script with a while loop and sleep statements in it. And then I run it in a ...
0
votes
1answer
118 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
2answers
269 views

Does exist a linux service for watching/checking (and restarting, i.e. for a segfault) running daemons? [closed]

I'm searching for a linux service that watches/checks every n seconds a list of running processes/daemons for detecting (and noticing+restarting the process) any issues (like a segmentation fault in ...
2
votes
2answers
472 views

Execute specific bash script on Gentoo Linux startup

I own a VDS running Gentoo Linux and I am curious about how to execute specific bash script at startup of my VDS. I just want to startup apache2 at boot time and run two thin instances.
0
votes
1answer
478 views

Why daemon does not run

My daemon used to run under 10.04, but no longer starts automatically on 12.04. If I start it manually /etc/init.d/sqlexecd start, it works. Here is the output of uname -a Linux steamboy ...
1
vote
1answer
61 views

failure daemon and changing pid number

proftpd, sshd and apache processes run with /etc/init.d/its-script on linux distro. I was monitoring 21, 22 and 80 ports with farm monitoring service: every 5 minutes service check each port and ...
0
votes
1answer
32 views

Daemons refuse to start on Ubuntu 8.04 Server

We have a system that's already running on several instances of Ubuntu 8.04 Desktop. It has a bunch of daemons (one of them is PHP based) that need to be running and they work on our existing Ubuntu ...
0
votes
1answer
2k views

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 ...
-1
votes
3answers
222 views

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

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

Setting up rsync over the internet. How should I define it?

I need to sync two Linux servers in remote locations. To do so, I've decided to use rsync. I've set the rsync to run on the target as a daemon, and the actual syncing command is ran from the source. ...
0
votes
2answers
2k views

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

Windirstat equivalent daemon for Linux server? [closed]

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

Service modules_dep on CentOS 6.3

I'm trying to determine the minimum services for correct server operation and I am getting annoyed by the modules_dep daemon. What is this service used for? Thank you in advance EDIT: ps ax output ...
2
votes
2answers
538 views

Init script & the green [ OK ]

I am trying to install fast-cgi for nginx on an EC2 instance. I followed the steps explained here, but that is meant for Debian and does not work out of the box for a red-hat based system. I modified ...
2
votes
1answer
398 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
321 views

Rename mailer-daemon in postfix

Is there a way to rename the email adress of mailer-daemon@example.com to some other (e.g. mailer-angel@example.com)? I need that the sender of the "Non delivery report" has other email adress than ...
8
votes
4answers
24k views

console-kit-daemon - can it be stopped?

I have 60 instances of Console Kit daemon on Ubuntu 9.04 server installation. Is it safe to kill those or stop these processes. They seem to be taking about 20% of RAM each(see on htop).
15
votes
2answers
12k 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 ...
2
votes
3answers
1k views

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

start-stop-daemon can't find executable that's right in front of it

root@mountain-lion:/opt/smartfox# ls -lha total 180K drwxr-xr-x 8 root root 4.0K 2012-06-01 14:09 . drwxr-xr-x 4 root root 4.0K 2012-06-01 09:41 .. drwxr-xr-x 8 root root 4.0K 2009-05-17 21:57 lib ...
0
votes
3answers
341 views

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 ...
1
vote
0answers
90 views

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 ...
1
vote
1answer
481 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
338 views

Both nginx and php5-fpm init.d startup scripts are non-functional and returning no errors..? But they used to work perfectly

I have been using nginx and php5-fpm on my Ubuntu box for a while now. Everything has been configured and setup correctly, and it ran like a charm. I have been keeping the packages updated & ...
0
votes
1answer
234 views

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

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

logging in daemon process

I'm new to all this stuff, so please forgive if a question is stupid. I'm running a script as daemon, in order to debug it I'm trying to dump logs in file, but no file is created. And if I run script ...
0
votes
1answer
218 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 ...
3
votes
2answers
1k 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
141 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 ...