Vsftpd 500 OOPS, the result is restarted. However, the problem still persists, and the Error 500 OOPS: cannot change directory is reported. The copper drum was found to be due to selinux for half a day. Go to/etc/selinu. View the config file and find that # This file controls the state of SELinux on the system. # SELINUX = can take one of these three values: # enforcing-SELinux security policy is enforced. # permissive-SELinux prints warnings instead of enforcing. # disabled-No SELinux policy is loaded. SELINUX = enforcing --- An extra row. This row is the same as the following and the value assignment is incorrect. Commented out # SELINUXTYPE = can take one of these two values: # targeted-Targeted processes are protected, # mls-Multi Level Security protection. after SELINUXTYPE = targeted SELINUX = disabled is changed, you can use setenforce 0 to make it take effect temporarily because the machine cannot be restarted. Later, I checked Baidu to find out that SELINUX has three options: "disabled", "permissive", and "enforcing. Disabled does not need to be said. permissive is effective for Selinux, but even if you violate the policy, it will allow you to continue the operation, but record the content of your violation. It is very useful when developing policies. It is equivalent to the Debug mode. Enforcing means that if you violate the policy, you cannot proceed. SELINUXTYPE: Currently, there are two main categories: targeted developed by red hat, which only protects the main network services, such as apache, sendmail, bind, and postgresql, all domain Names that do not belong to them allow them to be in the unconfined_t. They have high import performance, good availability, but cannot be protected as a whole.