I've got a service set up to start at boot but it's not doing so and I don't know where to look (e.g. logs) to troubleshoot it.

I've verified the run level:

$ grep default /etc/inittab 

And the symlinks are there:

$ find /etc -name *beans*

And when I start it manually (via "sudo /etc/init.d/beanstalkd start") it works fine.

Where do I start troubleshooting this? Where might the boot sequence be logged that I can grep for issues? This is a CentOS box if that matters.


1 Answer 1


Your symlinks are there, but they're not what you want. If you notice, yours are all prefixed with 'K' for kill. They should be 'S' for start.

Fix this with chkconfig beanstalkd on and verify it with chkconfig --list | grep beanstalkd.

  • 1
    Yep, but the S and K files should be there, as it needs to start on entry to the runlevel, and stop on exit. On another note: it DOES matter at little that it's CentOS/Fedora/RHEL, as Debian-like distros use update-rc.d instead of chkconfig.
    – Lee B
    Commented Oct 22, 2009 at 14:05
  • Pedants unite! <g> You are correct -- services that are to run should have both 'S' and 'K' scripts, not just 'S'. Good catch.
    – pboin
    Commented Oct 22, 2009 at 15:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .