proftpd message and mysql both on port21?

mazdaracer plug-discuss@lists.plug.phoenix.az.us
28 Jan 2003 11:00:13 -0800


I see 21 below. Telnet doesn't seem to tell me anything. Have to yet
check the init scripts.
pete


[pete@rotor pete]$ telnet localhost 21
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
[pete@rotor pete]$ netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address        
State      
tcp        0      0 0.0.0.0:32768           0.0.0.0:*              
LISTEN      
tcp        0      0 0.0.0.0:32770           0.0.0.0:*              
LISTEN      
tcp        0      0 0.0.0.0:515             0.0.0.0:*              
LISTEN      
tcp        0      0 0.0.0.0:37              0.0.0.0:*              
LISTEN      
tcp        0      0 0.0.0.0:901             0.0.0.0:*              
LISTEN      
tcp        0      0 0.0.0.0:839             0.0.0.0:*              
LISTEN      
tcp        0      0 0.0.0.0:873             0.0.0.0:*              
LISTEN      
tcp        0      0 0.0.0.0:9098            0.0.0.0:*              
LISTEN      
tcp        0      0 0.0.0.0:3306            0.0.0.0:*              
LISTEN      
tcp        0      0 0.0.0.0:9099            0.0.0.0:*              
LISTEN      
tcp        0      0 0.0.0.0:139             0.0.0.0:*              
LISTEN      
tcp        0      0 127.0.0.1:33516         0.0.0.0:*              
LISTEN      
tcp        0      0 0.0.0.0:111             0.0.0.0:*              
LISTEN      
tcp        0      0 0.0.0.0:6000            0.0.0.0:*              
LISTEN      
tcp        0      0 0.0.0.0:10000           0.0.0.0:*              
LISTEN      
tcp        0      0 0.0.0.0:80              0.0.0.0:*              
LISTEN      
tcp        0      0 0.0.0.0:21              0.0.0.0:*              
LISTEN      
tcp        0      0 0.0.0.0:22              0.0.0.0:*              
LISTEN      
tcp        0      0 127.0.0.1:25            0.0.0.0:*              
LISTEN      

On Tue, 2003-01-28 at 09:50, Tony Wasson wrote:
> 
> > In my root mail msg I see the following, which explains why I can't get
> > ftp going.
> >
> >  --------------------- proftpd-messages Begin ------------------------
> >
> > **Unmatched Entries**
> > rotor.byerlyelectric.com - Failed binding to 0.0.0.0, port 21: Address
> > already i
> > n use
> > rotor.byerlyelectric.com - Check the ServerType directive to ensure you
> > are conf
> > igured correctly.
> 
> My guess is that some program is already bound to port 21.
> 1) identify the culprit:
> Try "telnet localhost 21". It should saw what version of software is
> running.
> 2) Check inetd.conf
> It is probably something in inetd.conf. Don't forget to -HUP it once you
> edit the inetd.conf file.
> 3) Check init.d script for ftp daemons
> Perhaps some other FTP daemon is bound already (check init.d scripts for
> anything related to ftp).
> 4) Once it is gone, verify it is really dead.
> "telnet localhost 21" again. You should get "no connection".
> 5) Start proftpd, if it still breaks, start checking the logs
> see daemon.log, syslog, messages depending on your distro....
> 
> Hope this helps!
> Tony
> 
> 
> 
> 
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss