LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-10-2005, 12:25 PM   #1
MiniMe001
Member
 
Registered: Nov 2004
Location: US
Distribution: Gentoo
Posts: 59

Rep: Reputation: 15
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. :/
 
Old 09-10-2005, 12:55 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
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.
 
Old 09-10-2005, 02:03 PM   #3
MiniMe001
Member
 
Registered: Nov 2004
Location: US
Distribution: Gentoo
Posts: 59

Original Poster
Rep: Reputation: 15
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!
 
Old 09-10-2005, 02:06 PM   #4
MiniMe001
Member
 
Registered: Nov 2004
Location: US
Distribution: Gentoo
Posts: 59

Original Poster
Rep: Reputation: 15
Heh. I just killed all my tcpserver processes and restarted everything. Waddaya know, it worked. ^_^
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Blocking known command in SMTP manya Linux - Security 2 04-21-2005 07:32 AM
something's eating memory and i don't know what trancephorm Linux - Newbie 3 03-11-2005 02:39 PM
Something's Wrong! kaz4u2dig Linux - Newbie 2 01-27-2004 07:28 AM
Something's wrong, i know it soulsniper Linux From Scratch 2 10-18-2003 03:08 PM
Something's gone horribly wrong zikhermm Linux - General 4 08-13-2001 08:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration