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
1
vote
1 answer

Cannot start NFS daemon

I'm trying to set up a NFS share but I cant start NFS service: $ service nfs start Starting NFS services: [ OK ] Starting NFS daemon: [FAILED] $ service nfs…
Peter
  • 113
  • 1
  • 2
  • 7
1
vote
2 answers

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 --start --make-pidfile --pidfile /var/run/svnserve.pid…
ManuelSchneid3r
  • 113
  • 1
  • 6
1
vote
1 answer

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 a record set with its current IP address.…
Raymond
  • 153
  • 1
  • 2
  • 9
1
vote
2 answers

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 due to the need to hop connections with the -r…
Skaperen
  • 1,094
  • 2
  • 11
  • 23
1
vote
1 answer

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 screen session. The problem of course is that it…
Katafalkas
  • 523
  • 2
  • 8
  • 20
1
vote
1 answer

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 notify only failure. The failures were 5-6 times on…
1
vote
2 answers

Issue Starting MySQL Daemon

I have just come across the most random error I've seen my MySQL daemon spew out yet, everything was working fine, then all of a sudden it randomly crashed and it now outputting this when I start it up, not sure if it's because my 'my.cnf' file is…
1
vote
1 answer

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 PID TTY STAT TIME COMMAND 1 ? Ss …
1
vote
2 answers

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 in the background I want it to be triggered by an…
Matt James
  • 113
  • 5
1
vote
2 answers

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 lrwxrwxrwx 1 root root 22 2012-06-01 09:41 logs ->…
Bart van Heukelom
  • 1,199
  • 6
  • 21
  • 41
1
vote
1 answer

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 & upgraded as usual, but haven't touched the nginx OR…
Ollie Treend
  • 23
  • 1
  • 6
1
vote
1 answer

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 like to wake up someday and have my www docs…
PJJ
  • 111
  • 3
1
vote
1 answer

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 centos environment? The results of ps -ef | grep…
user111196
  • 1,257
  • 2
  • 13
  • 14
1
vote
1 answer

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 operation fails. It's particularly annoying since I'm…
Hubert OG
  • 225
  • 1
  • 2
  • 6
1
vote
2 answers

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), and will also shut down when CTRL+C is pressed. In…
Alex Recarey
  • 441
  • 1
  • 6
  • 14