proftpd message and mysql both on port21?

Eric Andresen plug-discuss@lists.plug.phoenix.az.us
28 Jan 2003 09:25:03 -0700


That is a listing of open sockets, not ports.

The top portion of the `netstat -an` listing is open ports, which since
your grep did not match any of those lines, were not printed. This means
that port 21 is available.

On Tue, 2003-01-28 at 09:26, mazdaracer 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.
> 
> 
> 
> 
> How do I read this part? Is mysql listening on port 21? Next question is
> why if this is a normal ftp port? And how do 'unlisten'?
> 
> pete
> 
> 
> 
> [root@rotor rc.d]# netstat -an | grep 21
> tcp        0      0 0.0.0.0:21              0.0.0.0:*              
> LISTEN      
> unix  2      [ ACC ]     STREAM     LISTENING     2165  
> /var/lib/mysql/mysql.sock
> unix  2      [ ACC ]     STREAM     LISTENING     1346054
> /tmp/orbit-pete/orb-187867722102359162
> unix  2      [ ACC ]     STREAM     LISTENING     1346091
> /tmp/orbit-pete/orb-21285196501929031233
> unix  3      [ ]         STREAM     CONNECTED     1346713
> /tmp/orbit-pete/orb-187867722102359162
> unix  3      [ ]         STREAM     CONNECTED     1346105
> /tmp/orbit-pete/orb-21285196501929031233
> unix  3      [ ]         STREAM     CONNECTED     1346078
> /tmp/orbit-pete/orb-187867722102359162
> unix  3      [ ]         STREAM     CONNECTED     772212
> /tmp/.font-unix/fs7100
> unix  3      [ ]         STREAM     CONNECTED     772211 
> unix  3      [ ]         STREAM     CONNECTED     772213
> /tmp/.X11-unix/X0
> unix  2      [ ]         DGRAM                    2174   
> [root@rotor rc.d]# 
> 
> 
> ---------------------------------------------------
> 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
-- 
--Eric Andresen
  ndiin@asu.edu