5

I installed vsftpd on my server using this and this link. But due to this error I followed the solution and tried to update the vsftpd.
But because of some configuration problem it was not functioning and I decided to reinstall it using this problem's solutions.
But now after installing it again when I type:

sudo service vsftpd restart or sudo /etc/init.d/vsftpd restart it shows me:

vsftpd: unrecognized service. and
sudo: /etc/init.d/vsftpd: command not found

How to solve this?

salmanwahed
  • 435
  • 3
  • 7
  • 16

1 Answers1

0

Problem

There currently is a kernel bug in 14.04 that will be solved by a kernel update. My current kernel is: 3.13.0-34-generic, and the minimum needed kernel version at the time of this writing is: 3.15.0-031500.

Workaround

This is not a solution to the problem, but will allow you to run vsftp and will allow you to stop vsftp by rebooting until a solution to the kernel problem is deployed to Ubuntu 14.04

To start vsftpd:

Edit the /etc/vsftpd.conf and set the listen= parameter to YES

sudo reboot

vsftp will get started as a standalone program (not a service)

To stop vsftpd:

Edit the /etc/vsftpd.conf and set the listen= parameter to NO

sudo reboot

If anyone has any better ideas then mine, feel free to add to this answer!!!

Fabby
  • 34,259