Comments on Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Management) On CentOS 5.0
Virtual Hosting With PureFTPd And MySQL (Incl. Quota And Bandwidth Management) On CentOS 5.0 This document describes how to install a PureFTPd server that uses virtual users from a MySQL database instead of real system users. This is much more performant and allows to have thousands of ftp users on a single machine. In addition to that I will show the use of quota and upload/download bandwidth limits with this setup. Passwords will be stored encrypted as MD5 strings in the database.
3 Comment(s)
Comments
Not all viewers are experienced unix or linux distros, kindly mention that there should be some changes on the httpd.conf file.
-thinknologist
Hi guys, I dont know whether it is just me having a problem with starting the PureFTPD after adding the MySQL support or there are also others that have found the solution but does not write a comment?
So here is the background. I have installed the pureftpd on CentOS 5.2 using all the steps described.
Before adding a mysql support, I have tested the pureftpd and it was starting with no problems. Then I have tweacked the conf file and when I try to start it - /etc/init.d/pureftpd start, it shows that the start failed.
Another problem is, that I have checked the /var/log directory and I see no pureftpd logs in there. I have also checked mysqld.conf and I have no messages about the ftp server. So any ideas how to work this arround are really appreciated.
Regards to every poster and good luck to all of us.
Is there a feature about logs that can save to mysql database like ip addresses who connect to the ftp, user's login/logout time and file transfer. I'm not talking about the /var/logs...