Re: [exim] Exim is listening on port 80

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Olivier Bonvalet
Data:  
Para: exim-users
Asunto: Re: [exim] Exim is listening on port 80
W B Hacker a écrit :
> Olivier Bonvalet wrote:
>
>> Hello,
>>
>> I have a problem : one exim is listening on port 80, so Apache can't
>> restart. I really don't know why it do this, but it is not the first
>> time...
>> Of course, there is not any reference to "80", "http" or "www" in
>> the exim4 conf... :S
>>
>> What I see :
>>
>> w30100:~# netstat -lnp | grep exim
>> tcp        0      0 0.0.0.0:25              0.0.0.0:*               
>> LISTEN     15778/exim4
>> tcp6       0      0 :::80                   :::*                    
>> LISTEN     3108/exim4

>>
>> w30100:/var/log/apache2# ps auxw | grep 3108
>> root      3108  0.0  0.0 20024 1724 ?        Ss   Apr14   0:00 
>> /usr/sbin/exim4 -Mc 1FUOup-0000o7-5e

>>
>>
>> Any idea ?
>>
>> Thanks
>> Olivier
>>
>
> 'exim4' implies Debian, so best to ask on the debian-speciifc Exim list.
>
> Meanwhile, grep your conf file(s) for 'daemon_smtp_ports'
> to insure you haven't gotten port 80 in there by accident.
>
> Also - hazarding a guess... do you perhaps have the Exim user 'owning'
> or invoking an httpd daemon?
>
> Some form of web-configuration interface, perhaps?
>
> Or just Apache's ownership mis-assigned in general?
>
> HTH,
>
> Bill

Thanks for the answer. I'm not sure it's a Debian specific problem....
but I can try to ask.

The "daemon_smtp_ports" is not set in my conf files, and there is not
any reference
to "80" or "http" or "www" in my conf files. And, as you can see with my
"PS", the exim
process which is listening on port 80 is not the "smtp listener" but a
process sending an
email.

For the Exim user, there is not problem : exim user is "Debian-Exim" and
Apache user is
"www-data".
The process which is listening on port 80 is not owned by exim, but by
root (which is a
config error... :S). And the program is /usr/sbin/exim4. Apache is not
running at all.
(and there is not any web interface on this box)

w30100:/var/log/apache2# ps auxw | grep 3108
root      3108  0.0  0.0 20024 1724 ?        Ss   Apr14   0:00
/usr/sbin/exim4 -Mc 1FUOup-0000o7-5e