I will use vsftpd as a ftp server. I did all changes on /etc/vsftpd.conf.
These changes are (according to digitalocean):
anonymous_enable=NO
write_enable=YES
local_enable=YES
chroot_local_user=YES
I'v also created a ssl certificate file. (not necessary but recommended)
Still getting :
500 OOPS: could not bind listening IPv4 socket
Note:
pam_service_name=vsftpd
Netstat:
netstat -pan|grep :21;
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 30694/vsftpd
Best Answer
Much probably you have
/etc/xinetd.d/ftp
enabled
AND pointing to/usr/sbin/vsftpd
and in/etc/vsftpd.conf
you havelisten=YES
.Simply change it to
listen=NO
. Thelisten=YES
is for standalone, if you want vsftpd to be always active then you'll have to disabled it in thexinetd
config.