[Exim] Doubt with FAQ:Q0015

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Dilip M
Ημερομηνία:  
Προς: exim-users@exim.org
Αντικείμενο: [Exim] Doubt with FAQ:Q0015
Hi,

I'm getting error similar to
FAQ : Q0015:
http://www.exim.org/exim-html-4.30/doc/html/FAQ_0.html#TOC15
---
Socket bind() to port 25 for address (any) failed: address already in use
mean?
---
Ans:
A0015: You are trying to run an Exim daemon when there is one already
running - or maybe some other MTA is running, or perhaps you have an SMTP
line in /etc/inetd.conf which is causing inetd to listen on port 25.


Well , in my case (Redhat-8.0)
---
# netstat -natep|grep 25
tcp        0      0 0.0.0.0:25              0.0.0.0:*
LISTEN      0          25305      3447/exim
tcp        0      1 202.144.44.92:32817     15.42.224.5:25
SYN_SENT    47         27228      3400/exim
-----


Problem is the caused by first one!!

But how could i stop it ? Nothing other than Exim is listening on port 25
!!

Bcos
# grep -i disable /etc/xinetd.d/*
/etc/xinetd.d/chargen:  disable         = yes
/etc/xinetd.d/chargen-udp:      disable         = yes
/etc/xinetd.d/daytime:  disable         = yes
/etc/xinetd.d/daytime-udp:      disable         = yes
/etc/xinetd.d/echo:     disable         = yes
/etc/xinetd.d/echo-udp: disable         = yes
/etc/xinetd.d/rsync:    disable = yes
/etc/xinetd.d/servers:  disable         = yes
/etc/xinetd.d/services: disable         = yes
/etc/xinetd.d/time:     disable         = yes
/etc/xinetd.d/time-udp: disable         = yes


and

# grep -i disable /etc/xinetd.d/* |grep -i no
<<Shows nothing!!>
Means no other service is listening on that port 25 !!

I just did
#pkill exim

#/etc/init.d/exim start

It is fine now!!
But would like to know what had happened ?

-Dilip