Failed to start Vsftpd ftp daemon
来源:2-12 vsftpd文件服务器安装与配置讲解(选看)

堇月枝
2017-11-27
centos7,已经装好iptables,然后配置vsftpd如下:
local_root=/ftpfile
anon_root=/ftpfile
use_localtime=YES
anonymous_enable=NO
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
local_umask=022
dirmessage_enable=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
ftpd_banner=Welcome to mmall FTP Server
chroot_local_user=NO
chroot_list_enable=YES
# (default follows)
chroot_list_file=/etc/vsftpd/chroot_list
listen=YES
pam_service_name=vsftpd
userlist_enable=YES
#tcp_wrappers=YES
pasv_min_port=61001
pasv_max_port=62000
pasv_enable=YES
但启动的时候报错:
[root@centos-linux vsftpd]# systemctl status -l vsftpd.service
● vsftpd.service - Vsftpd ftp daemon
Loaded: loaded (/usr/lib/systemd/system/vsftpd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since 一 2017-11-27 15:53:16 CST; 28s ago
Process: 21255 ExecStart=/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf (code=exited, status=2)
11月 27 15:53:16 centos-linux.shared systemd[1]: Starting Vsftpd ftp daemon...
11月 27 15:53:16 centos-linux.shared systemd[1]: vsftpd.service: control process exited, code=exited status=2
11月 27 15:53:16 centos-linux.shared systemd[1]: Failed to start Vsftpd ftp daemon.
11月 27 15:53:16 centos-linux.shared systemd[1]: Unit vsftpd.service entered failed state.
11月 27 15:53:16 centos-linux.shared systemd[1]: vsftpd.service failed.
1回答
-
你好,同学,请和课程系统保持一致6.8呀。。和7差距特别大。。。老师也没有你的环境。。也是爱莫能助啊。。。
特意给同学找了一下
http://blog.51cto.com/mubsky/1704380
同学看看这个吧。。。
咱们二期上线啦,【二期进阶Tomcat集群和Redis分布式课程已经上线】
二期课程网址 http://coding.imooc.com/class/162.html
另外,看帖子看帖子看帖子,重要的说三遍哈
我给大家整理了这个,有问题可以来看看先找一下。 肯定有你想要的哈
部署环境的话 ,建议看下文章最后一小段哟~
尽快进入咱们QQ群哟~~进群方法下面思维导图那个帖子有。非常详细
课程项目思维导图及线上环境、测试环境、部署linux和windows等解答
http://www.imooc.com/article/20193
【重点】问答区常见问题整理
http://www.imooc.com/article/18998
课程项目QQ群分享手记
http://www.imooc.com/article/19094
找工作的季节之简历及找工作的分享
http://www.imooc.com/article/19998
项目环境、vsftpd、linux、mysql等各种配置、软件下载
http://learning.happymmall.com
课程求10分好评哇谢谢啦~~(づ ̄ 3 ̄)づ
032018-01-21
相似问题