[SLUG] Who / what is using port 25?

From: Bill C. (bill13510@wwnet.net)
Date: Sun Dec 21 2003 - 23:42:12 EST


I am having trouble starting postfix. It claims something else is using port
25 and nmap agrees. Netstat | grep 25 is inconclusive as is netstat | grep
smtp.

/var/log/maillog shows:
Dec 21 23:03:06 genesis postfix/postfix-script: starting the Postfix mail
system
Dec 21 23:03:06 genesis postfix/master[6154]: fatal: bind 127.0.0.1 port 25:
Address already in use

It's not another copy of Postfix that has 25 locked up or it would not error
out when I try to stop it:

[root@genesis log]# postfix stop
postfix/postfix-script: fatal: the Postfix mail system is not

[root@genesis log]# netstat | grep postfix (no results)
[root@genesis log]# netstat | grep smtp (no results)
[root@genesis log]# netstat | grep smtpd (no results)
[root@genesis log]# netstat | grep 25
unix 3 [ ] STREAM CONNECTED 38934704
/tmp/.ICE-unix/22504
unix 3 [ ] STREAM CONNECTED 38934226
/tmp/orbit-root/orb-15719396031571763256
unix 3 [ ] STREAM CONNECTED 38934225
unix 3 [ ] STREAM CONNECTED 38934220
/tmp/orbit-root/orb-18425497081218360943
unix 3 [ ] STREAM CONNECTED 38934197
/tmp/.ICE-unix/22504
unix 3 [ ] STREAM CONNECTED 38125302
/tmp/.ICE-unix/dcop22484-1071035061
unix 3 [ ] STREAM CONNECTED 38125301
unix 3 [ ] STREAM CONNECTED 38125230 /tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 38125229
unix 3 [ ] STREAM CONNECTED 26252134
/tmp/.ICE-unix/dcop22484-1071035061
unix 3 [ ] STREAM CONNECTED 26252133
unix 3 [ ] STREAM CONNECTED 26252079
/tmp/.ICE-unix/22504
unix 3 [ ] STREAM CONNECTED 26252078
unix 3 [ ] STREAM CONNECTED 26252071 /tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 26252070
unix 3 [ ] STREAM CONNECTED 26252069
/tmp/.ICE-unix/dcop22484-1071035061
unix 3 [ ] STREAM CONNECTED 26252068
unix 3 [ ] STREAM CONNECTED 26218890
/tmp/.ICE-unix/22504
unix 3 [ ] STREAM CONNECTED 26218871
/tmp/.ICE-unix/22504
unix 3 [ ] STREAM CONNECTED 26218841
/tmp/.ICE-unix/22504
unix 3 [ ] STREAM CONNECTED 26218806
/tmp/.ICE-unix/22504
unix 3 [ ] STREAM CONNECTED 26218786
/tmp/.ICE-unix/22504
unix 3 [ ] STREAM CONNECTED 26218764
/tmp/.ICE-unix/22504
unix 2 [ ] DGRAM 25976639
unix 2 [ ] DGRAM 25976305

Here's what nmap has to say for itself:
Starting nmap V. 3.00 ( www.insecure.org/nmap/ )
Interesting ports on localhost.localdomain (127.0.0.1):
(The 1587 ports scanned but not shown below are in state: closed)
Port State Service
(deleted ... service up to date but occaisionally hacked)
25/tcp open smtp
(deleted to protect the guilty parties)

Nmap run completed -- 1 IP address (1 host up) scanned in 2 seconds

-- 
Linux user # 223034 since 1996
I make enough mistakes on my own. 
I don't need any help from Windows.

23:30:01 up 21 days, 3:10, 5 users, load average: 0.23, 0.25, 0.10 23:29:00 up 22 days, 5:26, 5 users, load average: 0.00, 0.04, 0.15

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:53:23 EDT