[Exim] Exim listening on port 80

Etusivu
Poista viesti
Vastaa
Lähettäjä: Patrick Boutilier
Päiväys:  
Vastaanottaja: Exim Users
Aihe: [Exim] Exim listening on port 80
Exim 4.12
RedHat 8.0



This morning I got a Nagios alert that my web server was timing out on
port 80. After shutting down httpd and trying to restart it I realized
that exim was listening on port 80 for some reason. Below is some output
from commands I was running on the box. The only other mention I found
of this problem was at
http://groups.yahoo.com/group/exim-users/message/41359


[root@student root]# telnet localhost 80
Trying 127.0.0.1...


[root@student root]# ps ax|grep http
   528 ?        S      0:56 /usr/local/apache2/bin/httpd -k start
16843 ?        S      1:46 /usr/local/apache2/bin/httpd -k start
17554 ?        S      1:47 /usr/local/apache2/bin/httpd -k start
.... much more processes



[root@student root]# /usr/local/apache2/bin/apachectl stop


[root@student root]# /usr/local/apache2/bin/apachectl start
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs



[root@student root]# ps ax|grep http
  9608 pts/0    S      0:00 grep http



[root@student root]# /usr/local/apache2/bin/apachectl start
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs



[root@student root]# netstat -nap --inet |grep 80 |grep LISTEN
tcp        0      0 0.0.0.0:80              0.0.0.0:*
LISTEN      24378/exim



[root@student root]# kill 24378


[root@student root]# kill 24378
-bash: kill: (24378) - No such process


[root@student root]# /usr/local/apache2/bin/apachectl start
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs


[root@student root]# netstat -nap --inet |grep 80 |grep LISTEN
tcp        0      0 0.0.0.0:80              0.0.0.0:*
LISTEN      24379/exim



[root@student root]# service exim stop
Shutting down Exim:                                        [  OK  ]



[root@student root]# netstat -nap --inet |grep 80 |grep LISTEN


[root@student root]# /usr/local/apache2/bin/apachectl start


[root@student root]# netstat -nap --inet |grep 80 |grep LISTEN
tcp        0      0 0.0.0.0:80              0.0.0.0:*
LISTEN      11109/httpd