Linux VSFTP提示500 OOPS: failed to open xferlog log file:/
方法一:
解决方法:
在终端输入命令:
setsebool ftpd_disable_trans 1
service vsftpd restart
回车就可以了。网络太强大。
方法二:
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.
相关推荐
运算符用于执行程序代码运算,会针对一个以上操作数项目来进行运算。以上实例中 7、5 和 12 是操作数。关系运算符用于计算结果是否为 true 或者 false。逻辑运算符用于测定变量或值之间的逻辑。