skip down to the 6 comments

Installing daemontools on CentOS5 x86_64

[UPDATE] It turns out you need to apply the patch below on any recent Linux distribution, not just 64 bit architectures, if that helps anyone.

More head scratching, web searching, friend asking, and huzzah, finally solved. How to actually install daemonstools on my SliceHost CentOS5 slice. The catch for me was that it wouldn’t compile because ‘it required a patch‘. Who’d of known? So here’s my notes:

$ sudo mkdir -p /package
$ sudo chmod 1755 /package/
$ cd /package/
$ sudo wget http://cr.yp.to/daemontools/daemontools-0.76.tar.gz
$ sudo tar xzf daemontools-0.76.tar.gz
$ sudo wget http://www.qmail.org/moni.csi.hu/pub/glibc-2.3.1/daemontools-0.76.errno.patch
$ cd admin/daemontools-0.76
$ sudo patch -p1 < ../../daemontools-0.76.errno.patch
$ sudo rm ../../daemontools-0.76.errno.patch ../../daemontools-0.76.tar.gz
$ sudo ./package/install
...
...
Adding svscanboot to inittab...
init should start svscan now.

There have been 6 responses to this post.

  1. Dave Evans

    Yup, daemontools rocks once installed, but its installation isn’t exactly “autoconf/automake” smooth. Of course it also puts files in all sorts of odd places (/package is it? I forget). I always patch it to use /usr/bin and so forth.

  2. Duncan

    I know we’ve used it for ages, but I had never ran it on my own box. Now I understand how it works, why did we even attempt to use anything else .. it’s wonderfully straight forward.

  3. sergio_101

    wow!

    thanks so much for this.. saved my butt..

  4. meshe

    Ditto, thank you.

  5. paulterp

    Saved me a bunch of time, thank you!

  6. ljpsfree

    Thanks, that’s a great guide.


back to the top