On 26 October 2012 20:32, Saul Waizer <saulwai...@gmail.com> wrote:
> defaults
>     mode        http
[...]
> frontend tester *:111,*:24007-24010,*:38465-38470,*:24007-24010
>   default_backend            tester
[...]
> backend tester
>     mode tcp
[...]
>
> When I try to reload Haproxy I get the following:
>
> [ALERT] 299/152956 (5477) : Unable to use proxy 'tester' with wrong mode,
> required: http, has: tcp.
> [ALERT] 299/152956 (5477) : You may want to use 'mode http'.
> [ALERT] 299/152956 (5477) : Proxy 'tester': unable to find required
> default_backend: 'tester'.
> [ALERT] 299/152956 (5477) : Fatal errors found in configuration.
>
> Any ideas? I thought you could have http and tcp backends running
> simultaneously.

Hasn't the "frontend tester" picked up the default "mode http", hence
this problem?
Does adding "mode tcp" to the frontend fix it?

Jonathan
-- 
Jonathan Matthews // Oxford, London, UK
http://www.jpluscplusm.com/contact.html

Reply via email to