Re: [exim] Address already in use error even though exim is …

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Gabriel Harrison
Data:  
Para: exim-users
Assunto: Re: [exim] Address already in use error even though exim is working
On Mon, Mar 31, 2008 at 2:12 PM, Ted Cooper <eximX1211@???> wrote:

> Odhiambo Washington wrote:
> > On Mon, Mar 31, 2008 at 2:08 PM, Gabriel Harrison <
> > gabriel@???> wrote:
> >
> >> Hi,
> >>
> >> I'm getting periodic errors in the paniclog that I can't track down the
> >> cause of. I'm running exim on a Debian vserver.
> >>
> >> The error is:
> >>
> >> 2008-03-31 08:20:59 socket bind() to port 25 for address (any IPv4)
> >> failed:
> >> Address already in use: daemon abandoned
> >>
> >
> > You are sure nothing else is listening on port 25?
> >
> > netstat -anp | grep 25 (Linux)
> > sockstat -l | grep 25 (FreeBSD, the one I know about)
> >
> >
>
> You might also want to look for anything in your cron or anywhere
> mentioning running exim with "-bd" at all. Any time that is run with
> exim already running or something sitting on that port it will throw
> that error. Check absolutely every time you call exim like from a spam
> scanning re-injection or any reports using exim to post. The list goes on.
>
> It's there .. just have to find it



It looks like exim is somehow seeing the listener on the vserver host
machine.

If I stop it on one then the other will start! I'm now confused, I thought
any vserver was isolated from the host.

What I am trying to achieve is for the vservers to only bind to localhost
but it is this that is conflicting with the listener on the host, which is
also localhost only.

How is it that exim sees the host binding from the vserver and vise-versa
but netstat doesn't?

Gabriel


>
> --
> The Exim Manual
> http://www.exim.org/docs.html
> http://www.exim.org/exim-html-current/doc/html/spec_html/index.html
>
> --
> ## List details at http://lists.exim.org/mailman/listinfo/exim-users
> ## Exim details at http://www.exim.org/
> ## Please use the Wiki with this list - http://wiki.exim.org/
>