FTP per_source_limit Error

By Paulus, 11 October, 2010

While trying to download and upload files via FTP, I was getting

Oct 11 15:19:39 209443-www2 xinetd[12269]: EXIT: smtp status=1 pid=8309 duration=0(sec)
Oct 11 15:19:39 209443-www2 xinetd[12269]: FAIL: ftp per_source_limit from=xxx.xxx.xxx.xxx

In order to fix this I had to modify the /etc/xinet.d/ftp_psa file. I did so by adding the bold lines to the file:

service ftp
{
        disable         = no
        socket_type     = stream
        protocol        = tcp
        wait            = no
        user            = root
        instances       = UNLIMITED
	per_source	= UNLIMITED
        server          = /usr/sbin/in.proftpd
        server_args     = -c /etc/proftpd.conf
}

After saving the file, restart xinetd:

# /sbin/service xinetd restart