vsftpd: 500 OOPS: unrecognised variable in config file

Question

When I start vsftpd on my CentOs machine I get this error:

Starting vsftpd for vsftpd: 500 OOPS: unrecognised variable in config file:  anonymous_enable

How can I fix it?

Answer

The option “anonymous_enable” is a valid vsftpd option, but as you can see on the error message, there is an extra white space before the variable definition, I suspect that the line was there, commented, and that when you uncommented it you forgot to remove the white space after the “#”, check your vsftpd.conf file make sure that “anonymous_enable=YES” or “anonymous_enable=NO” stands on a single line without any preceding spaces then start vsftpd:

service vsftpd start

Further reading

Related links

Leave a Reply

Your email address will not be published. Required fields are marked *

*

* Copy this password:

* Type or paste password here:

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">