Page 1 of 1

FTP service doesn't work anymore

Posted: 27 Apr 2007, 14:59
by habrys
Ok, maybe it's a lame question, but somehow I cannot find out what's the problem.

The ftp server doesn't work anymore.

- when I try to connect (locally, from a computer on the same subnet) I get:

Code: Select all

habrys@feisty:~$ ftp 192.168.0.2
Connected to 192.168.0.2.
421 Service not available, remote server has closed connection
ftp> 
- "ps -afe | grep proftpd | grep -v grep" doesn't list any processes,
- both services are enabled via web-gui: FTP and Anonymous FTP access (I tried to turn the anonymous aceess off and on again, both off and on again, didn't help),
- restarting of bubba didn't help,
- it worked a few days ago, I even tested the file transfer rates over ftp.

Any ideas?

Posted: 27 Apr 2007, 16:38
by habrys
I found the problem. I changed the port in the /etc/proftpd.conf from the standard 21 to 20 and now proftpd starts (/usr/sbin/proftpd). The ftp connection from outside works as well, via the port 20 though, of course.

Strange... I have to investigate which other process dares to use the port 21 in listen mode, but ftp works for now :)