Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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
root@user-desktop:/etc# sudo /usr/sbin/service vsftpd restart    
restart: Unknown instance:
share|improve this question
1  
Why running sudo as root? – Braiam Sep 26 '13 at 14:33
up vote 10 down vote accepted

A typical restart job will attempt to kill an old instance first. What is happening here is that there isn't an old copy to kill.

share|improve this answer

Try this sudo /etc/init.d/vsftpd restart

share|improve this answer
    
This isn't any more useful than using the full path to the 'service' script. – Thomas Ward Dec 1 '15 at 15:41

Your Answer

 
discard

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.