RedHatftp configuration error-general Linux technology-Linux technology and application information. For more information, see. 500 OOPS: cocould not bind listening IPv4 socket
The ftp server is configured and vsftp is automatically started through chkconfig vsftpd on. However, the above error is reported after startup.
According to the user's prompt: first disable the xinetd service xinetd stop and then start vsftpd: service vsftpd start
Solve the problem. But this problem persists after the system is restarted. Can't I perform this operation every time?
Therefore, we suspect that xinetd is faulty.
Modify/etc/xinetd. d/vsftpd
Change disenable = no to yes
Note:
Run/usr/local/sbin/vsftpd & later
Error message of vsftpd: 500 OOPS: cocould not bind listening IPv4 socket
I encountered this problem when installing vsftpd after compiling the source code. Before that, I have installed vsftp through rpm.
Therefore, the configuration file/etc/xinet. d/vsftpd is still in and self-started, that is, it is in XINET mode; but it is written in/etc/rc. local.
So there is a conflict, and you only need to close one of them to solve the problem.
There are two methods:
1. XINET Mode
Remove the vsftpd STARTUP script/usr/local/sbin/vsftp &
Run the service vsftpd restart command to start vsftpd
2. STANDALONE Mode
This mode is recommended when the server load is heavy.
Chkconfig vsftpd -- level 3 off
You can also directly modify the/etc/xinetd. d/vsftpd file and change disable = no to disable = yes!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service