On Tue, 3 Feb 2009, Ruy Diaz wrote:
Please try to avoid top-posting.
> Here's the output:
> y$ haproxy -vv
> HA-Proxy version 18.104.22.168 2008/12/04
> Copyright 2000-2008 Willy Tarreau <w#1wt.eu>
> Build options :
> TARGET = linux26
> CPU = i686
> CC = gcc
> CFLAGS = -O2 -march=i686 -g
> OPTIONS = USE_PCRE=1
> Stats are working (aside from the socket issue), as I can access the web
> interface to view the status as well.
OK, so you must have put "stats socket" in the wrong place, it should be in the "[global]" section.
>>> Digging through forums I thought what I needed was to add a 'stats socket
>>> /var/run/haproxy.stat mod 777' line to my haproxy config, but when I add
>>> this, I get the following error:
>>> [ALERT] 032/163027 (24099) : parsing [/etc/haproxy/haproxy.cfg:29] :
>>> unknown stats parameter 'stats' (expects 'hide-version', 'uri', 'realm',
>>> 'auth' or
>>> [ALERT] 032/163027 (24099) : Error reading configuration file :
Krzysztof Olędzki Received on 2009/02/03 19:52
This archive was generated by hypermail 2.2.0 : 2009/02/03 20:00 CET