Quando usei sudo /usr/sbin/vsftpd
, deu
500 OOPS: unrecognised variable in config file: allow_ftpd_full_access.
Uma vez que eu comentei essa linha, vsftpd
começou.
Aqui está o meu /etc/vsftpd.conf.
listen=on
anonymous_enable=YES
local_enable=YES
write_enable=YES
chroot_local_user=YES
local_root=/home/ftp
anon_root=/home/ftp
xferlog_enable=YES
xferlog_file=/var/log/vsftpd.log
No console,
service vsftpd start
root@pengsir:/home/debian8# service vsftpd status
● vsftpd.service - vsftpd FTP server
Loaded: loaded (/lib/systemd/system/vsftpd.service; enabled)
Active: failed (Result: exit-code) since Sat 2015-10-17 15:37:34 HKT; 4s ago
Process: 3060 ExecStart=/usr/sbin/vsftpd /etc/vsftpd.conf (code=exited, status=2)
Process: 3057 ExecStartPre=/bin/mkdir -p /var/run/vsftpd/empty (code=exited, status=0/SUCCESS)
Main PID: 3060 (code=exited, status=2)
Oct 17 15:37:34 pengsir systemd[1]: vsftpd.service: main process exited, co...NT
Oct 17 15:37:34 pengsir systemd[1]: Unit vsftpd.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
Por que o serviço vsftp não pode ser iniciado?
Quando usei sudo /usr/sbin/vsftpd
, deu
500 OOPS: unrecognised variable in config file: allow_ftpd_full_access.
Uma vez que eu comentei essa linha, vsftpd
começou.
Tags ftp