first of all run a haproxy -c -f /path/to/your/haproxy.cfg it will tell you if your configuration file looks correct or not.
Then you can start it by hand, it will tell you why it can't start: haproxy -f /path/to/your/haproxy.cfg or even in debug mode: haproxy -d -f /path/to/your/haproxy.cfg good luck On Tue, Aug 30, 2011 at 3:21 AM, Shalvin Deo <[email protected]> wrote: > > > Hi Guys, > > > > Running on ubuntu 11.4 server > > I cant get my Haproxy to come online....when i do service haproxy start i > get fatal errors my setup i installed haproxy then install heartbeat... i > only want to have one nlb and two web servers (windows). do i need heartbeat > still?? i added eth0:0 with VIP - 10.4.3.56 when i try to start the haproxy > with cfg - > > global > > log 127.0.0.1 local0 > > log 127.0.0.1 local1 notice > > #log loghost local0 info > > maxconn 4096 > > #debug > > #quiet > > user haproxy > > group haproxy > > > > defaults > > log global > > mode http > > option httplog > > option dontlognull > > retries 3 > > redispatch > > maxconn 2000 > > contimeout 5000 > > clitimeout 50000 > > srvtimeout 50000 > > > > listen webfarm 10.4.3.56:80 > > mode http > > stats enable > > stats auth someuser:somepassword > > balance roundrobin > > cookie JSESSIONID prefix > > option httpclose > > option forwardfor > > option httpchk HEAD /check.txt HTTP/1.0 > > server webA 10.4.3.52:80 cookie A check > > server webB 10.4.3.53:80 cookie B check > > i cant get it to start please advise... > >

