Installing vsftpd - 500 OOPS: could not bind listening IPv4 socket?
Remember to comment out
listen=YES
in your vsftpd.conf
file so that you don't run your vsftpd
in standalone mode
It fixed the problem in my case.
You are getting this error probably because of xinetd ftp is running.
The procedure mentioned below will resolve the following errors:
A) 500 OOPS: could not bind listening IPv4 socket, for vsftpd
B) Server hangup immediately after connect, for ncftpget
Follow the procedure mentioned below to rectify the error:
To View which ftp service is running use:
$ lsof -i | grep ftp (Become root and run this command)
To stop xinetd:
$ sudo service xinetd stop
After stoping xinetd restart your vsftpd service by typing :
$ /etc/init.d/vsftpd restart (Become root and run this command)
Also check the vsftpd.conf with this one:
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