vsftpd启动报错:vsftpd:500 OOPS: bad bool value in config file for: anonymous_enable

Posted 九尾cat

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vsftpd启动报错:vsftpd:500 OOPS: bad bool value in config file for: anonymous_enable相关的知识,希望对你有一定的参考价值。

配置日志服务,重启vsftpd报错

-- Unit vsftpd.service has begun starting up.
Jun 15 11:24:59 0003 vsftpd[21754]: 500 OOPS: bad bool value in config file for: xferlog_std_format
Jun 15 11:24:59 0003 systemd[1]: vsftpd.service: control process exited, code=exited status=2
Jun 15 11:24:59 0003 systemd[1]: Failed to start Vsftpd ftp daemon.

 

原因

在配置中输入了不必要的空格。原来linux中也不允许有多余的空格哦。

解决办法

在编辑vi /etc/vsftpd.conf 时,每行的值都不要有空格,否则启动时会出现错误

再次重启服务,解决问题。归根到底是配置文件格式问题

以上是关于vsftpd启动报错:vsftpd:500 OOPS: bad bool value in config file for: anonymous_enable的主要内容,如果未能解决你的问题,请参考以下文章

vsftpd以本地ftp用户登录报错:500 OOPS: vsftpd: cannot locate user specified in ‘ftp_username‘:ftp(未解决)

vsftpd以本地ftp用户登录报错:500 OOPS: vsftpd: cannot locate user specified in ‘ftp_username‘:ftp(未解决)

vsftpd在安装配置时报错500 OOPS

500 OOPS: vsftpd: both local and anonymous access

vsftpd匿名连接:报错500 OOPS: tcp_wrappers is set to YES but no tcp wrapper support compiled in

vsftpd匿名连接:报错500 OOPS: tcp_wrappers is set to YES but no tcp wrapper support compiled in