I traced it. the socket address being passed to bind is using port 0
although i had specified a different port address.
bind(0x5,{ AF_INET 0.0.0.0:0 },16)               ERR#48 'Address already in
use'

Thanks in advance for helping.

On Tue, Mar 25, 2008 at 11:07 AM, dormando <[EMAIL PROTECTED]> wrote:

> Can you use truss to examine the exact bind call which is failing? You
> might be specifying the port wrong, or the second instance could be
> ignoring the command. I find that highly unlikely, but it's still
> possible I guess.
>
> -Dormando
>
> golak Sarangi wrote:
> > Hi,
> > I have been using memcache on a freebsd system smoothly for few months.
> > But now on trying to start two instances of memcache on same system but
> > on different port i get the following errors
> >
> > bind(): Address already in use
> > failed to listen
> >
> > I am using port 11211 and 11212 for two instances. there is nothing else
> > running on those ports.
> > i tried the same thing on debian system and it worked fine.
> > Could anyone guide me through it?
> >
>
>

Reply via email to