#1  
Old 17th February 2011, 23:00
eppy1976 eppy1976 is offline
Junior Member
 
Join Date: Feb 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default HAPROXY Config

I loaded haproxcy on ubuntu 10 by way of a howtoforge forum and I get the following error on startup:

* Starting haproxy haproxy [WARNING] 047/144955 (1177) : parsing [/etc/haproxy/haproxy.cfg:17]: keyword 'redispatch' is deprecated, please use 'option redispatch' instead.

and I cannot see the virtual ip. Any help would be greatly appreciated.

http://www.howtoforge.com/setting-up...on-debian-etch

Thanks

Eppy1976
[
Reply With Quote
Sponsored Links
  #2  
Old 18th February 2011, 17:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Please post your /etc/haproxy/haproxy.cfg.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 18th February 2011, 17:41
eppy1976 eppy1976 is offline
Junior Member
 
Join Date: Feb 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default config

admin@whp-lbl01:~# /etc/init.d/haproxy restart
* Restarting haproxy haproxy Available polling systems :
sepoll : pref=400, test result OK
epoll : pref=300, test result OK
poll : pref=200, test result OK
select : pref=150, test result OK
Total: 4 (4 usable), will use sepoll.
Using sepoll() as the polling mechanism.
[ALERT] 048/093150 (1156) : Starting proxy webfarm: cannot bind socket

Config:

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.7.1.4: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.7.1.7:80 cookie A check
server webB 10.7.1.8:80 cookie B check



Thanks!!!!
Reply With Quote
  #4  
Old 19th February 2011, 17:19
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Please try
Code:
option redispatch
instead of
Code:
redispatch
in line 17 and restart HAProxy.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 21st February 2011, 15:22
eppy1976 eppy1976 is offline
Junior Member
 
Join Date: Feb 2011
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default New Error- cannot bind socket?

load-lbl01:~# /etc/init.d/haproxy start
* Starting haproxy haproxy Available polling systems :
sepoll : pref=400, test result OK
epoll : pref=300, test result OK
poll : pref=200, test result OK
select : pref=150, test result OK
Total: 4 (4 usable), will use sepoll.
Using sepoll() as the polling mechanism.
[ALERT] 051/071401 (19486) : Starting proxy orstest: cannot bind socket
[fail]
Thanks Can you help me with this ?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spamassasin markasjunk2 roundcube plugin HyperAtom General 1 17th November 2012 21:19
Spamsnake - Problem with spamassassin, FuzzyOcr and MySQL debuguser HOWTO-Related Questions 6 16th September 2008 19:37
ISPConfig 2.2.14 released till General 48 20th July 2007 00:46
Anyone figured out to integrate FuzzyOCR into ISPConfig on Ubuntu? friday Installation/Configuration 16 10th May 2007 17:25
spamassasin/clamAV not working Daisy Installation/Configuration 32 15th February 2007 01:09


All times are GMT +2. The time now is 11:45.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.