Problems with CentOS6.4 vsftpd-2.2.2-11

Source: Internet
Author: User

CentOS6.4 under the vsftpd-2.2.2-11 encountered problems 1: Modify/etc/sysconfig/selinux configuration file after the system can not start the problem because after installing vsftp upload files in win7 is always 550, I saw some online saying that I modified the configuration file and changed SELINUX = enforing to disabled. So I tried it and restarted it. Unfortunately, the VM vmware prompts "the cpu of the client operating system has been disabled, please turn off the power or restart the virtual machine ". Since this Chinese was mentioned in the first time, we did not suspect that the parameter was configured just now. Then, for help on the Internet, the results of modifying Virtual Machine Parameters and modifying the number of cpu cores corresponding to the vmware process do not work. If you cannot enter the system, you can still try again. You have to reinstall it. Fortunately, the reinstallation is very fast. Let's repeat it again in one hour. jdk, tomcat, the sshd personalized parameter configuration is processed on one side, and then vsftpd is installed, all the way OK, and then win login, still 550, repeat the above operation, modify the parameter, restart, okay, again. It seems that it is caused by modifying the/etc/sysconfig/selinux parameter. Find a solution and roughly search for it. It is more reliable to use a linux single user to enter the system, then, restore the configuration file parameters. Start: 1: after entering the startup screen, when selecting the operating system interface, press "e" to enter the system startup editing interface. 2: press the up or down key to roll, select the kernel, and then click "e" to enter the editing page. 3: enter a space at the end of the line, and then enter "selinux = 0 single". Press enter, return to the previous page and click "B ". 4: OK. Go to the single-user mode and restore the/etc/sysconfig/selinux parameter, reboot, and restart to normal (the restart process is relatively slow, because you need to re-mark the entire file system ). 2: 550: Permission deined started to find several similar problem solutions on the Internet, all of which were to modify the system/etc/vsftpd. in the conf file, change write_enable = NO to YES, but in my configuration file, this is the case. Then, find the answer and find out that you have mentioned modifying anon_upload_enable = YES, check your configuration file. If it is true, this line is commented out. Remove the comment and restart the service. Okay, 550 is gone. It seems that the parameters commented on in different versions are different, my version vsftpd-2.2.2-11. 3: 553 after cocould not create file solves the above problem, the 553 error starts again. According to the instructions on the internet, enter the following command: the result of setsebool-P ftpd_disable_trans 1 is xxx (no such file or directory), so I am wondering how many solutions can't work with me, look for ing .. finally, we can find it. Run the following command: getsebool-a | grep ftpd and return: allow_ftpd_anon_write --> offallow_ftpd_full_access --> off (red part) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Upload --> offallow_ftpd_use_nfs --> offftpd_connect_db --> disable --> off: Modify the red line and change off to onsetsebool allow_ftpd_full_access onservice vsftpd restartwin7 to test the upload. the upload is successful!

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: 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.