[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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 <minxinjianxin@gmail.com> wrote:
> On Thu, Mar 5, 2009 at 3:12 PM, Star Liu <minxinjianxin@gmail.com> 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?
>> thanks.
> 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
/etc/init.d/openbsd-inetd .

Reply to: