this is error message i got when i start haproxy

Available polling systems :
     select : pref=150,  test result OK
Total: 1 (1 usable), will use select.
Using select() as the polling mechanism.
[ALERT] 021/101057 (14503) : Starting proxy http: cannot bind socket


thanks
vaibhi

On Thu, Jan 22, 2009 at 1:12 AM, Willy Tarreau <[email protected]> wrote:

> On Wed, Jan 21, 2009 at 06:53:16PM +0530, vaibhav pol wrote:
> > Hi ,
> >     I am using ajaxterm service on loadbalncer where i setup haproxy and
>  i
> > want to balance this web terminal service which running on the 8022 port
> > when client wants to connect to the this service it has to redirect to
> one
> > of the two other server  . here is configure  file . I think somewhere is
> > wrong please help me  to correct this .
> > Thanks in advance .
> >
> > #haproxy.conf
> >
> > global
> >         log 127.0.0.1   local0
> >         log 127.0.0.1   local1 notice
> >         maxconn 4096
> >         chroot /var/lib/haproxy
> >         user haproxy
> >         group haproxy
> >         daemon
> >         #debug
> >         #quiet
> >
> > defaults
> >         log     global
> >         mode    http
> >         option  httplog
> >         option  dontlognull
> >         option redispatch
> >         retries 3
> >         maxconn 2000
> >         contimeout      5000
> >         clitimeout      50000
> >         srvtimeout      50000
> >
> >
> >
> >
> >
> > listen  http 198.168.2.16:8022
> >         mode tcp
> >         option tcplog
> >         balance roundrobin
> >         server web1 13.1.1.3:8022 check
> >         server web2 13.1.1.4:8022 check
> >
> >
> >
> > when i started webservice on port 8022 and after that i started the
> haproxy
> > it through error is address can't bind .
>
> Precise error message might help a lot. There is no such thing as
> troubleshooting approximate errors.
>
> Are you sure that your local address really is "198.168.2.16" ?
> I'd suspect it is in fact "192.168.2.16" and you mistyped it.
> When a daemon in general tells you it cannot bind, it means that
> your server does not own the IP address you want to bind to.
>
> In case of doubt, please check your IP address using "ip a" or
> "ifconfig -a".
>
> Willy
>
>

Reply via email to