Linux联接vsftpd (ftp: connect: Connection refused,500 OOPS: cannot read config file)

使用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联接vsftpd (ftp: connect: Connection refused,500 OOPS: cannot read config file)

点  赞 (0) 打  赏
分享到: