vsftpd调试

| |
[ 2012/07/18 11:10 | by Sonic ]
默认的vsftpd日志很简单。出现问题时,不容易找到原因。
以下参数,打开详细日志。

# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# You may override where the log file goes if you like. The default is shown
# below.
xferlog_file=/users/vsftp_nobody/vsftpd.log
#
# If you want, you can have your log file in standard ftpd xferlog format
xferlog_std_format=NO

#The log_ftp_protocol=YES will log every FTP protocol transaction between the client and the server (this is the most detailed log you can get).
log_ftp_protocol=YES


注意,在log_ftp_protocol=YES时,这一项必须是no:xferlog_std_format=NO。否则会得到:
500 OOPS: bad bool value in config file for: log_ftp_protocol


附件:vsftpd.conf参数详解


最后编辑: Sonic 编辑于2012/07/18 11:12
Tags: , ,
网摘-网事 | 评论(1) | 引用(0) | 阅读(13091)
Share |
如何学习英语 Email Homepage
2012/07/30 15:51
技术贴,学习了。谢谢分享
Sonic 回复于 2012/07/31 09:00
您的留言也挺技术的.
分页: 1/1 第一页 1 最后页