# this config needs haproxy-1.1.28 or haproxy-1.2.1
global
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
#log loghost local0 info
maxconn 4096
#chroot /usr/share/haproxy
user haproxy
group haproxy
daemon
#debug
#quiet
stats socket /etc/haproxy/haproxysock level admin
defaults
log global
mode http
option httplog
option dontlognull
retries 3
option redispatch
maxconn 2000
contimeout 5000
clitimeout 50000
srvtimeout 50000
listen stats :1936
mode http
stats enable
stats hide-version
stats realm Haproxy\ Statistics
stats uri /
stats auth redacted:redacted
frontend myFlo-HTTP
bind 192.0.2.55:80
default_backend myFlo-Servers-RR
acl scheduler url_sub -i schedule #ACL for scheduler requests
use_backend myFlo-Servers-SRC if scheduler
frontend myFloLite-HTTP
bind 192.168.100.8:80
default_backend myFloLite-Servers
backend myFloLite-Servers
mode http
balance roundrobin
option httpchk HEAD /
server liteweb1:80 192.168.100.9 check port 80 inter 2000
server liteweb2:80 192.168.100.10 check port 80 inter 2000
backend myFlo-Servers-RR
mode http
balance roundrobin
option httpchk HEAD /health_check.html HTTP/1.1\r\nHost:\ haproxy.test
server myfloweb1:80 192.168.100.5 check port 80 inter 2000
server myfloweb2:80 192.168.100.14 check port 80 inter 2000
backend myFlo-Servers-SRC
mode http
balance source
option httpchk HEAD /health_check.html HTTP/1.1\r\nHost:\ haproxy.test
server myfloweb1:80 192.168.100.5 check port 80 inter 2000
server myfloweb2:80 192.168.100.14 check port 80 inter 2000
--
You received this bug notification because you are a member of Ubuntu
High Availability Team, which is subscribed to haproxy in Ubuntu.
https://bugs.launchpad.net/bugs/1334958
Title:
package haproxy 1.4.24-2 failed to install/upgrade: ErrorMessage:
subprocess installed post-installation script returned error exit
status 1
Status in “haproxy” package in Ubuntu:
New
Bug description:
Doing release upgrade from 12.04 to 14.04.
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: haproxy 1.4.24-2
ProcVersionSignature: Ubuntu 3.2.0-36.57-generic 3.2.35
Uname: Linux 3.2.0-36-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
Date: Fri Jun 27 15:36:08 2014
DuplicateSignature: package:haproxy:1.4.24-2:ErrorMessage: subprocess
installed post-installation script returned error exit status 1
ErrorMessage: ErrorMessage: subprocess installed post-installation script
returned error exit status 1
InstallationDate: Installed on 2012-10-02 (633 days ago)
InstallationMedia: Ubuntu-Server 11.10 "Oneiric Ocelot" - Release amd64
(20111011)
SourcePackage: haproxy
Title: package haproxy 1.4.24-2 failed to install/upgrade: ErrorMessage:
subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to trusty on 2014-06-27 (0 days ago)
modified.conffile..etc.default.haproxy:
# Set ENABLED to 1 if you want the init script to start haproxy.
ENABLED=1
# Add extra flags here.
#EXTRAOPTS="-de -m 16"
mtime.conffile..etc.default.haproxy: 2012-10-02T12:34:46.108888
mtime.conffile..etc.haproxy.haproxy.cfg: 2014-06-27T14:46:05.313880
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/haproxy/+bug/1334958/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-ha
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-ha
More help : https://help.launchpad.net/ListHelp