Contos7下配置ftp服务器,启动失败提示Failed to start Vsftpd ftp daemon.

一:先粘出错误

vsftpd.service - Vsftpd ftp daemon
   Loaded: loaded (/usr/lib/systemd/system/vsftpd.service; disabled)
   Active: failed (Result: exit-code) since Tue 2016-10-10 13:32:09 UTC; 15s ago
  Process: 13588 ExecStart=/usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf (code=exited                
, status=1/FAILURE)

Dec 13 13:32:09 ys systemd[1]: vsftpd.service: control process exited, c...=1
Dec 13 13:32:09 ys systemd[1]: Failed to start Vsftpd ftp daemon.
Dec 13 13:32:09 ys systemd[1]: Unit vsftpd.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.

二:昨天小编配置ftp服务的时候,启动失败,提示如上的错误。google了很多教程都没有解决,后来仔细看了一下vsftpd.conf配置文件发现了listen=YES的。把它修改为NO即可下面是小编的vsftpd.conf文件

write_enable=YES

local_umask=022

dirmessage_enable=YES

xferlog_enable=YES

connect_from_port_20=YES

listen=NO

listen_ipv6=YES

pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES

你可能感兴趣的:(Linux问题类)