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

来源:互联网 发布:剑三笔记本优化版补丁 编辑:程序博客网 时间:2024/06/06 11:01

一:先粘出错误

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...=1Dec 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=YESlocal_umask=022dirmessage_enable=YESxferlog_enable=YESconnect_from_port_20=YESlisten=NOlisten_ipv6=YESpam_service_name=vsftpduserlist_enable=YEStcp_wrappers=YES
0 0
原创粉丝点击