10
root@user-desktop:/etc# sudo /usr/sbin/service vsftpd restart    
restart: Unknown instance:
  • 1
    Why running sudo as root? – Braiam Sep 26 '13 at 14:33
11

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.

| improve this answer | |
  • 1
    So just /usr/sbin/service vsftpd start should do it – qneill Jan 16 '18 at 17:18
0

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

| 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

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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