Saturday, March 22, 2008

Linux tip: vsftpd not creating logs

Often times, you think yum install 's would just take care of all the hassles of installing daemon packages for Linux distros. Unfortunately, some like vsftpd, require a bit of tweaking.

If your vsftpd.log or xfer log is not properly being created by vsftpd, make sure that you have this somewhere in vsftpd.conf:

syslog_enable=NO
dual_log_enable=YES
vsftpd_log_file=/var/log/vsftpd.log

That should do it! Afterwards just restart vsftpd by doing this:

/etc/rc.d/init.d/vsftpd restart

0 comments: