VSFTP prompt 500 OOPS: failed to open xferlog log file:/var/log/xf

Source: Internet
Author: User

Method 1:

Solution:
Enter the following command on the terminal:
Setsebool ftpd_disable_trans 1
Service vsftpd restart
Press enter. The network is too powerful.

Method 2:

I had the same problem recently, I also got the message:
500 OOPS: failed to open xferlog log file:/var/log/xferlog


This is what I did:

Open a terminal
Switch to root using su-
Service vsftpd stop
Wait for the message: Shutting down vsftpd: [OK]
After this I removed the log file
Rm/var/log/vsftpd. log
Type "y" for the question: rm: remove regular file '/var/log/vsftpd. log '?
Service vsftpd start

After I did this everything worked OK.
Vsftpd created a new log file in/var/log/and it logged every upload/download.
I hope this have helped you.

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.