FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 03-05-2009, 07:03 AM
Yann Lejeune
 
Default how to solve the problem "Could not bind sock on port 21: Address already in use"?

On 2009/03/05-15:22(+0800), Star Liu wrote :
> 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
>
Hi,
inetd is a "super-server" on Unix system. It manages Internet services
and in many cases FTP server.

http://en.wikipedia.org/wiki/Inetd

Edit /etc/inetd.conf file, comment lines that enable ftp server and
restart inetd daemon (invoke-rc.d ...), check with netstat -laptn that
no program uses TCP/21, and then start your FTP server.

Another solution is to remove inetd package, if you really don't use it.

Regards.

Yann.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 05:03 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org