CyberSpace 2000 - Web Hosting Blog and Reviews

CyberSpace 2000 is one of the oldest web hosting and web design firms in the world. Circa 1996. It is now providing a supportive role in the web hosting industry by providing news, reviews, and self-help guides.

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

Labels: ,