You are getting this error, probably due to xinetd ftp working.
The following errors will resolve the following errors:
Vsftpd error : 500 OOPS: cannot bind listening on IPv4 socket
Ncftpget error : server hangs immediately after connection, for ncftpget
Follow the procedure below to fix the error:
A) To see which ftp service is running, use
$ lsof -i | grep ftp (Become root and run this command)
B) To stop xinetd:
$ sudo service xinetd stop
C) After stopping xinetd, restart the vsftpd service by typing:
$ /etc/init.d/vsftpd restart (Become root and run this command)
D) Also check vsftpd.conf with this
listen=YES local_enable=YES write_enable=YES local_umask=022 dirmessage_enable=YES use_localtime=YES xferlog_enable=YES secure_chroot_dir=/var/run/vsftpd/empty pam_service_name=vsftpd rsa_cert_file=/etc/ssl/private/vsftpd.pem
source share