tpop3d-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tpop3d-discuss] Re: FreeBSD listener_new: bind problem


From: Chris Lightfoot
Subject: [tpop3d-discuss] Re: FreeBSD listener_new: bind problem
Date: Thu, 21 Aug 2003 16:29:39 +0100
User-agent: Mutt/1.3.24i

    [ to list ]

On Thu, Aug 21, 2003 at 05:13:44PM +0200, Micha? Czerwi?ski wrote:
> 
> I've just updated the 1.4.2 to 1.5.1 and now i'm having a problem with
> binding to the address.
> 
> Old version works just great:
> 
> address@hidden 17:05:49 ~/tpop3d-1.4.2]# less /etc/tpop3d.conf
> listen-address: mail.inomail.pl
> max-children: 20
> mailbox: bsd:/var/mail/$(user)
> auth-pam-enable: yes
> 
> 
> address@hidden 17:05:30 ~/tpop3d-1.4.2]# ./tpop3d -d
> listening on address 195.117.138.90, port 110, domain inomail.pl
> 1 authentication drivers successfully loaded
> net_loop: tpop3d version 1.4.2 successfully started
> 
> 
> But when using 1.5.1...we have
> address@hidden 17:11:23 ~]# tpop3d -d
> listener_new: bind(195.117.138.90:110): Can't assign requested address
> /usr/local/etc/tpop3d.conf: no listen addresses obtained; exiting
> 
> Any ideas?

You find bind(2) returns -1 with errno == EADDRNOTAVAIL.

Usually that would happen when the machine doesn't have an
interface with the requested address. But since the
previous version works, that can't be the difficulty.

Further, it appears that you're trying to bind to the
proper address.

Is it possible that something else is already bound to
that address? (Of course, that should give EADDRINUSE.)


-- 
``Normal people work, eat, breed, sleep and excrete.
  The rest of the time they're watching other people
  eat, breed, sleep and excrete on reality TV.'' (seen on the internet)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]