Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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 use Debian and try to run update-rc.d sphinx defaults, buts it's shows:

update-rc.d command not found

Script sphinx already exists.

How can I fix it?

share|improve this question
Can I ask what version of Debian you are running? – Matthew Gall Jun 20 '12 at 14:29
Are you sudoing, or logged in as root? You should have /usr/sbin in your $PATH -- /usr/sbin/update-rc.d – jscott Jun 20 '12 at 14:29

sudo update-rc.d


sudo /usr/sbin/update-rc.d

If the second one works but the first one doesn't, something is wrong with your $PATH variables.

share|improve this answer

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.