0

We use a dedicated server running Ubuntu 14.04 The FTP service sometimes quits and we need to get it restarted. This means I am stuck a day or to and is unable to work with files on the server www area.

I am not a server guy at all unfortunately (hoping to learn), but when I log on server root with putty I guess I should be able to restart the FTP service somehow as I have root access.

Would anyone take me through the kung-fu required to restart the FTP service ?

I have tried:

service vsftpd restart

message:

vsftpd: unrecognized service

Solution:

The server was running proftpd so got it restarted with:

service proftpd restart

The reason why FTP stopped once a week is a glitch where the log rotation tries to restart FTP before its stopped completely. Adding a sleep and retry solves this from happening.

  • Since you solved the issue, make an answer with that info yourself and accept it. – Fern Moss Nov 18 '14 at 0:50
0

Install the package using

sudo apt-get install vsftpd

If you have already installed it, try

sudo apt-get --purge --reinstall install vsftpd

| improve this answer | |
  • Its already installed, but its not running. This has happened twice in 2 weeks. – Tst Nov 16 '14 at 10:45
  • service vsftpd start? – Rohith Madhavan Nov 16 '14 at 10:48
  • get unrecognized service vsftpd, so it must be a different ftp server then. The problem is that i dont know what ftp server is installed as we ordered a setup inkluded ftp server but no specific. Seems like i have to await support unless its a clean way to identify the installed ftp server. When im in root i can enter ftp: root@a:~# ftp -> ftp> – Tst Nov 16 '14 at 11:08
0

OP's original solution (added as an edit to the question):

The server was running proftpd so got it restarted with:

service proftpd restart

The reason why FTP stopped once a week is a glitch where the log rotation tries to restart FTP before its stopped completely. Adding a sleep and retry solves this from happening.

| improve this answer | |

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.