LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   proftpd port issues (https://www.linuxquestions.org/questions/linux-server-73/proftpd-port-issues-519618/)

jamesjoy 01-15-2007 06:26 PM

proftpd port issues
 
Recently been trying to install FTP server using proftpd and FC4. Was kind of working for a while but has stopped working now.

service proftpd status gives this message
proftpd dead but subsys locked

tail /var/log/messages gives
.....
Failed binding to ::, port 21: Address already in use
.....

netstat -pant gives
....
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 1994/xinetd
....


looks like i sonehow binded xinetd to port 21 and ftp wont work as a result. Dont know how to fix the problem any help would be great

Thanks
James

trickykid 01-15-2007 06:45 PM

xinetd doesn't bind to port 21 but rather one of the many services it starts is, perhaps an existing ftp daemon. Try killing the pid or restart xinetd and make sure you don't have proftpd services start from xinetd by looking in /etc/xinetd.d/ and take it from there.

jamesjoy 01-16-2007 02:53 PM

Yeah reset the server and that seemd to sort the problem so thanks for that..

Can only connect from command line though and not through any kind of graphical client, Probably something i have wrong in the config options.
James

trickykid 01-16-2007 04:34 PM

Quote:

Originally Posted by jamesjoy
Can only connect from command line though and not through any kind of graphical client, Probably something i have wrong in the config options.
James

Try toggling the passive mode on or off..


All times are GMT -5. The time now is 12:18 AM.