[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Haproxy haproxy 1.3.15.2->1.3.15.2-2



Bonjour,

Question concerne

Debian stable
dpkg -l haproxy  1.3.15.2-2+lenny2
Entrée BTS associé à mon problème ; 


Hier j'ai fait un dist-upgrade de ma stable et j'ai vu passer une maj
d'haproxy.
Depuis je n'ais plus accès à mes serveurs (port 80, http), il n'y a
aucun message d'erreurs dans les logs (syslog / haproxy)

le navigateur m'affiche ceci : 
		503 Service Unavailable
	No server is available to handle this request. 

en mode debug ('gros debug'), en résumé il semble y avoir une boucle
infinie car je me retrouve avec +10 forwardfor dans les entêtes !

La lecture de http://haproxy.1wt.eu/download/1.3/doc/haproxy-fr.txt ne
m'a pas aidé.

J'utilise haproxy en redirecteur selon domaine demandé, pas de mode
balance donc ( pour l'instant ... , je m'assurais d'abord du bon
fonctionnement du forwardfor)


========= haproxy.cfg ===============
global
        log 127.0.0.1   local0
        log 127.0.0.1   local1 notice
        maxconn 4096
        user haproxy
        group haproxy
        daemon
        debug

defaults
        log     global
        option  dontlognull
        retries 3
        maxconn 2000
        contimeout      5000
        clitimeout      50000
        srvtimeout      50000

#frontend public
#        bind :80  
listen	webfarm 192.168.1.206:80
	mode http
	option httpchk
        option  httplog
	option	transparent
        option 	httpclose
	option	forwardfor
        
	default_backend toto.com
        acl is_www1_toto.com  	hdr_end(host) -i www1.toto.com
        #acl is_www2_toto.com	hdr_end(host) -i www2.toto.com
	acl is_www2_toto.com	hdr_dom(host) -i www2.toto.com
        #acl is_www2_toto.com  	hdr_end(host) -i www2.toto.com


        use_backend www1_toto.com if is_www1_toto.com
        use_backend www2_toto.com if is_www2_toto.com


backend toto.com 
	option	transparent
        mode http

        stats uri /stats
        stats auth titi:tata
        server tank     192.168.1.147:80        check

backend www1_toto.com
        mode http
        option transparent
        option httpclose
        server tank             192.168.1.147:80        check

backend www2_toto.com
        mode http
        option transparent
        option httpclose
        server persephone       192.168.1.202:80        check


/usr/share/doc/haproxy/examples/

--
tant que cette liste ne protégera pas mon email dans les archives, 
les MP iront dans /dev/null (remercier les collecteurs d'emails, 
dolist et emv entre autre)
le retrait de spam dans mon domaine peut fonctionner si ce n'est pas
pour spammer


Reply to: