I have installed Proftp according to the manuals. Why I still get the error “Failed binding to 0.0.0.0, port 21: Address already in use”?
You’ll find Inetd installed on most systems. In most cases inetd is running on these systems. Inetd takes care of the incoming packages on the ftp port and delegates them to the ftp-server. To do this delegation inetd has to bind port 21 on the ip-address 0.0.0.0. There is no way for another daemon to bind this port again. To solve this problem you have to edit the inetd configuration file in /etc. Just comment out the line which tells inetd to listen on the ftp port and restart inetd. Now you have to restart proftpd and check the logfiles. If inetd was the reason why proftpd was not able to bind the port then there will be no error anymore. Otherwise there is another daemon which binds the ftp port. This is an example how the line in your inetd configuration file could look like.
Related Questions
- I installed Port and see "Please wait while contacting the Port Server" in the Port Client Application window, but then get and error "Port server is not responding". What now?
- The game installed OK, but when I try to run the game I get an error that reads "General Protection Fault: History: Init_Engine" And then the launcher quits. Whats wrong?
- I have installed Proftp according to the manuals. Why I still get the error "Failed binding to 0.0.0.0, port 21: Address already in use"?