14

I am trying to get vsftpd file server running on Ubuntu 13.10, I'm unable to connect to the server from another network, although this other network is connected to the server's network and ping is working. Something is suspicious about vsftpd restarting, when configuring vsftpd I'm asked to restart it using:

service vsftpd restart

The output says: "Stop: unknown instance". I don't know what that means?

slm
  • 363,520
  • 117
  • 767
  • 871
Mohamed Ahmed
  • 1,363
  • 6
  • 17
  • 23

1 Answers1

12

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

I advise you to try this command instead:

 /etc/init.d/vsftpd restart
slm
  • 363,520
  • 117
  • 767
  • 871
Nidal
  • 8,856
  • 11
  • 55
  • 74
  • 1
    I think your command worked, it returned: " Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service vsftpd restart initctl: Unknown job: vsftpd Since the script you are attempting to invoke has been converted to an Upstart job, you may also use the stop(8) and then start(8) utilities, e.g. stop vsftpd ; start vsftpd. The restart(8) utility is also available." – Mohamed Ahmed Jul 04 '14 at 04:31
  • Not ubuntu way. – holms Feb 27 '16 at 21:33