serviço vsftp falhou [duplicado]

0

Eu sou novo no Ubuntu. Eu tenho que configurar o servidor ftp no Ubuntu, serviço vsftpd sempre falhando após a instalação básica e mudanças no arquivo /etc/vsftpd.conf.

Eu fiz as alterações abaixo depois de instalar o software vsftpd.

write_enable=YES
local_umask=022
chroot_local_user=YES
allow_writeable_chroot=YES
pasv_min_port=40000
pasv_max_port=40100

Estou recebendo um erro abaixo ao verificar o status do serviço. Por favor ajude

root@helmor:~# sudo systemctl status vsftpd
● vsftpd.service - vsftpd FTP server
   Loaded: loaded (/lib/systemd/system/vsftpd.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2017-06-04 19:13:59 IST; 22s ago
  Process: 1801 ExecStart=/usr/sbin/vsftpd /etc/vsftpd.conf (code=exited, status=2)
  Process: 1798 ExecStartPre=/bin/mkdir -p /var/run/vsftpd/empty (code=exited, status=0/SUCCESS)
 Main PID: 1801 (code=exited, status=2)
Jun 04 19:13:59 helmor systemd[1]: Starting vsftpd FTP server...
Jun 04 19:13:59 helmor systemd[1]: Started vsftpd FTP server.
Jun 04 19:13:59 helmor systemd[1]: vsftpd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Jun 04 19:13:59 helmor systemd[1]: vsftpd.service: Unit entered failed state.
Jun 04 19:13:59 helmor systemd[1]: vsftpd.service: Failed with result 'exit-code'.

Estou usando este guia link

    
por G helmor 04.06.2017 / 13:51

1 resposta

3

Eu enfrentei o mesmo problema. Por favor, tente comentar a linha abaixo em /etc/vsftpd.conf

listen_ipv6=yes

Coloque um # no início desta linha para que pareça com isso

#listen_ipv6=yes

Salve o arquivo e execute

sudo systemctl restart vsftpd

Espero que isso ajude!

    
por Vasu Bajaj 20.09.2017 / 18:22