Re: how to solve the problem "Could not bind sock on port 21: Address already in use"?
On Thu, Mar 5, 2009 at 3:22 PM, Star Liu <email@example.com> wrote:
> On Thu, Mar 5, 2009 at 3:12 PM, Star Liu <firstname.lastname@example.org> wrote:
>> i found that there is already a application listening on port 21, but
>> i donot know what's the application, and it prevents my ftp server
>> starting, so i want to find out the app and stop it, how to do it?
> i have found it by lsof -i:21, it's inetd, what's this process do? is
> it safe to stop it and remove it? how to stop and remove it? thanks
I guess you can edit /etc/inetd.conf and then restart inetd.
On my Lenny installation the initialization script is