Ftp 无法绑定侦听IPv4套接字

Ftp 无法绑定侦听IPv4套接字,ftp,fedora,Ftp,Fedora,我完成了vsftpd安装文件中所示的所有步骤。 最后运行了这个命令 /usr/local/sbin/vsftpd& 我得到了这个错误: [root@localhostvsftpd-2.0.5]#500 OOPS:无法绑定侦听IPv4套接字 请帮助好的,完成了。 我在vsftpd.conf文件的末尾添加了一行: #此字符串是vsftpd将使用的PAM服务的名称。 pam\u service\u name=vsftpd[1] 它现在正在工作 [1] :旁白:“#”行是一条注释,是可选的,但通常最好在

我完成了vsftpd安装文件中所示的所有步骤。 最后运行了这个命令

/usr/local/sbin/vsftpd&

我得到了这个错误:

[root@localhostvsftpd-2.0.5]#500 OOPS:无法绑定侦听IPv4套接字

请帮助

好的,完成了。 我在vsftpd.conf文件的末尾添加了一行:

#此字符串是vsftpd将使用的PAM服务的名称。
pam\u service\u name=vsftpd
[1]

它现在正在工作

[1] :旁白:“
#
”行是一条注释,是可选的,但通常最好在需要返回时使用它们

出现此错误可能是因为xinetd ftp正在运行。 下面提到的过程将解决以下错误:

$ sudo service xinetd stop
$ /etc/init.d/vsftpd restart  (Become root and run this command)
  • vsftpd错误:500 OOPS:无法绑定侦听IPv4套接字

  • Ncftpget错误:对于Ncftpget,连接后立即挂断服务器

按照下面提到的步骤纠正错误:

$ sudo service xinetd stop
$ /etc/init.d/vsftpd restart  (Become root and run this command)
A)要查看正在运行的ftp服务,请使用

$ lsof -i | grep ftp (Become root and run this command)
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
B)停止xinetd:

$ sudo service xinetd stop
$ /etc/init.d/vsftpd restart  (Become root and run this command)
C)停止xinetd后,通过键入以下命令重新启动vsftpd服务:

$ sudo service xinetd stop
$ /etc/init.d/vsftpd restart  (Become root and run this command)
D)也用这个检查vsftpd.conf

$ lsof -i | grep ftp (Become root and run this command)
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