Simple solution to vsftpd500 errors

Source: Internet
Author: User
Problem Description: Today, the company has set up ftp based on virtual users. I use the rpm package that comes with the CD, and the system is centos5.5. After the setup is complete, it can be started automatically, but ftp users cannot log on. I used another linux server to log on to the ftp server cannotchangedirectory:/home/*** failed to connect to the ftp server. Error: 500 OOPS: cannotchangedirectory:/h

Problem description:

Today, the company has set up ftp based on virtual users. I use the rpm package that comes with the CD, and the system is centos 5.5. After the setup is complete, it can be started automatically, but ftp users cannot log on.


I use another linux server to log on to the ftp server.


Cannot change directory:/home /***

Failed to connect to the ftp server. error message:

500 OOPS: cannot change directory:/home /*******

500 OOPS: child died



Solution:

# Setsebool ftpd_disable_trans 1 manually enter the command

# Service vsftpd restart


However, this method requires one input every time it is started, which is very troublesome!

At that time, I wanted to write it in the main configuration file, but it still failed to take effect after it was started,

Therefore, write the two statements

/Etc/rc. local can take effect

And enable automatic startup,

I hope to help you.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.