Vsftp cannot upload or download

Source: Internet
Author: User
Vsftp cannot be uploaded or downloaded. Solution: 64-bit RHEL61; problem: vsftp logon error 500 OOPS: cannotchangedirectory: home: a. Check the permission first. B. the ftp server fails to connect. the error message is: vsftp cannot be uploaded or downloaded. solve the problem: 64-bit RHEL61. problem: vsftp logon error "500 OOPS: cannot change directory:/home/******** "solution: A. Check the permission first. B. the ftp server fails to connect to the server. error message: 500 OOPS: cannot change directory:/home/******* 500 OOPS: child died when you see the above prompt, try to solve the problem by entering the following command: (1) [root @ www.codesky.net vsftpd] # setsebool-P ftpd_disable_tran S 1 [root @ www.codesky.net vsftpd] # service vsftpd restart or use the following solution: (2) [root @ www.codesky.net ~] #/Usr/sbin/setsebool-P ftp_home_dir 1 ############################# ######################################## ############# 2. if you use setsebool-P ftpd_disable_trans 1 // add-P to indicate a Permanent Error: [root @ www.codesky.net vsftpd] # setsebool-P ftpd_disable_trans 1 libsemanage. dbase_llist_set: record not found in the database (No such file or directory ). libsemanage. dbase_llist_set: cocould not set record value (No such File or directory). cocould not change boolean ftpd_disable_trans cocould not change policy booleans solution: you may simply use the following one to solve the problem: [root @ www.codesky.net ~] #/Usr/sbin/setsebool-P ftp_home_dir 1: [root @ login vsftpd] # setsebool route 1 [root @ www.codesky.net vsftpd] # setsebool route 1 [root @ login vsftpd] # setsebool route 1 [root @ www.codesky.net vsftpd] # setsebool-P ftp_home_dir 1 [root @ www.codesky.net vsftpd] # setsebool httpd_enable_ftp_server 1 [root @ www. codes Ky.net vsftpd] # setsebool tftp_anon_write 1 [root @ www.codesky.net vsftpd] # service vsftpd restart disable vsftpd: [OK] start vsftpd for vsftpd: [OK] [root @ www.codesky.net vsftpd] # getsebool-a | grep ftp restart --> off allow_ftpd_full_access --> on login --> on ftp_home_dir --> on ftpd_connect_db --> off httpd_enable_ftp_server --> on sftpd_anon_write- -> Off sftpd_enable_homedirs --> off sftpd_full_access --> off sftpd_write_ssh_home --> off tftp_anon_write --> on restart vsftpd to solve the problem.
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.