Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.


share|improve this question
up vote 6 down vote accepted

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.

share|improve this answer
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 Oct 22 '09 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 Oct 22 '09 at 15:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.