LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   something's blocking smtp (https://www.linuxquestions.org/questions/linux-general-1/somethings-blocking-smtp-362098/)

MiniMe001 09-10-2005 12:25 PM

something's blocking smtp
 
running on Gentoo.

Ok, I'm installing qmail and I can't figure out what's blocking smtp. I've got qmail stopped and 'netstat -a' gives me this:

Code:

# netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address          Foreign Address        State
tcp        0      0 localhost:mysql        *:*                    LISTEN
tcp        0      0 *:pop3                  *:*                    LISTEN
tcp        0      0 *:smtp                  *:*                    LISTEN
tcp        0      0 *:http                  *:*                    LISTEN
tcp        0      0 *:mobilip-mn            *:*                    LISTEN
tcp        0      0 ::ffff:192.1:mobilip-mn ::ffff:192.168.1.1:4641 ESTABLISHED
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags      Type      State        I-Node Path
unix  2      [ ACC ]    STREAM    LISTENING    13143  /tmp/ircg/manager
unix  2      [ ACC ]    STREAM    LISTENING    11326  /dev/log
unix  2      [ ACC ]    STREAM    LISTENING    13123  /var/run/cgisock
unix  2      [ ACC ]    STREAM    LISTENING    13472  /var/run/mysqld/mysqld.sock
unix  2      [ ]        DGRAM                    1930  @udevd
unix  3      [ ]        STREAM    CONNECTED    781441
unix  3      [ ]        STREAM    CONNECTED    781440
unix  3      [ ]        STREAM    CONNECTED    13146
unix  3      [ ]        STREAM    CONNECTED    13145
unix  3      [ ]        STREAM    CONNECTED    12081  /dev/log
unix  3      [ ]        STREAM    CONNECTED    12080

Something's running on pop3 and smtp when there shouldn't be anything. Yeah, I've made sure qmail is stopped. I don't even have the pop3 bit set up yet anyway.

I've gotten rid of sendmail altogether.

Anyone have any clues as to how I could figure this out? This is kinda ridiculus, as I've never had another MTA other than sendmail and qmail. sendmail is gone and qmail isn't running. O.o

I can print out 'ps -e' if you want, but it doesn't really help. Nothing that I have running should have anything to do with smtp or pop3. :/

david_ross 09-10-2005 12:55 PM

If you run:
netstat -nlp

It should show the pid for each service in the last column, if you then grep for this in a ps output it should show you which process is using the port.

MiniMe001 09-10-2005 02:03 PM

Ah, thank you. I knew there had to be some way to easily check that.

Unfortunetly, this makes things more complicated, as it's saying qmail is running when it shouldn't be. -_-'

Thanks, though!

MiniMe001 09-10-2005 02:06 PM

Heh. I just killed all my tcpserver processes and restarted everything. Waddaya know, it worked. ^_^


All times are GMT -5. The time now is 02:08 AM.