vsftpd: 500 OOPS: could not bind listening IPv4 socket
16,251
Much probably you have /etc/xinetd.d/ftp
enabled
AND pointing to /usr/sbin/vsftpd
and in /etc/vsftpd.conf
you have listen=YES
.
Simply change it to listen=NO
. The listen=YES
is for standalone, if you want vsftpd to be always active then you'll have to disabled it in the xinetd
config.
Author by
Canser Yanbakan
I'm a software developer & I love video games!
Updated on September 18, 2022Comments
-
Canser Yanbakan over 1 year
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
-
Goblinlord about 9 yearsJust curious... why not just use SFTP?
-
-
Canser Yanbakan about 10 yearsSorry, already have.
-
Ghassan about 10 yearsdo you use wrappers? i think xinetd can cause this as well... Sometimes some work on the wrappers is needed. It might help if you want to check to see if the port is taken by another service such as another ftp server by netstat.
-
Canser Yanbakan about 10 yearsWeird.. I wrote ftp.mysiteaddress and browser asked me to login with user info. I did but i got "No data received" error.