这是我的 /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
Run Code Online (Sandbox Code Playgroud)
在控制台中,
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.
Run Code Online (Sandbox Code Playgroud)
为什么vsftp服务无法启动?
小智 5
当我使用时sudo /usr/sbin/vsftpd,它给了
500 OOPS: unrecognised variable in config file: allow_ftpd_full_access.
Run Code Online (Sandbox Code Playgroud)
一旦我评论了该行,vsftpd就开始了。
| 归档时间: |
|
| 查看次数: |
21011 次 |
| 最近记录: |