码迷,mamicode.com
首页 > 系统相关 > 详细

linux下FTP拒绝(ftp: connect: Connection refused,500 OOPS: cannot read config file)

时间:2015-05-09 22:10:25      阅读:264      评论:0      收藏:0      [点我收藏+]

标签:ftp   connection refused   500 oops   

使用Ubunto15.0.4环境下,使用APT命令下载的vsftpd程序

在/etc/vsftpd.conf中开启匿名用户权限(anonymous_enable=YES),重新启动vsftpd后,在用ftp localhost,竟然会报ftp: connect: Connection refused的错误,使用sudo service vsftpd start,或sudo /etc/init.d/vsftpd start,竟然启动不起来。报500 OOPS: cannot read config file: 错误。

试了几种方式不行后,尝试了一把将/etc/vsftpd.conf文件中的listen=YES改为NO,将监听端口项取消,再重新启动一下竟然可以了。



linux下FTP拒绝(ftp: connect: Connection refused,500 OOPS: cannot read config file)

标签:ftp   connection refused   500 oops   

原文地址:http://blog.csdn.net/xiaokui_wingfly/article/details/45604873

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!