Missing quote on second host ip? Sent from my iPhone
> On May 4, 2014, at 9:50 PM, Tim Dunphy <[email protected]> wrote: > > Hey all, > > I have a very basic entirely stripped down default.vcl that I can't seem to > get to work. And I'm unclear as to why. > > > With one node defined I am good and can restart at will: > > # man page for details on VCL syntax and semantics. > # > # Default backend definition. Set this to point to your content > # server. > # > probe favicon { > .url = "/favicon.ico"; > .timeout = 60ms; > .interval = 2s; > .window = 5; > .threshold = 3; > } > > backend web1 { > .host = "xx.xx.xx.xx"; > .port = "80"; > .probe = favicon; > } > > > [root@varnish1 varnish]# service varnish restart > Stopping Varnish Cache: [ OK ] > Starting Varnish Cache: [ OK ] > > > However as soon as I add one more node, vernish fails to start: > > # man page for details on VCL syntax and semantics. > # > # Default backend definition. Set this to point to your content > # server. > # > probe favicon { > .url = "/favicon.ico"; > .timeout = 60ms; > .interval = 2s; > .window = 5; > .threshold = 3; > } > > backend web1 { > .host = "xx.xx.xx.xx"; > .port = "80"; > .probe = favicon; > } > > backend web2 { > .host = "xx.xx.xx.xx; > .port = "80"; > .probe = favicon; > } > Varnish will not start with this config: > > [root@varnish1 varnish]# service varnish start > Starting Varnish Cache: [FAILED] > > I was just hoping someone could enlighten me as to why I may be having > trouble here! > > Thanks for any advice you can give. > > Tim > > -- > GPG me!! > > gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B > > _______________________________________________ > varnish-misc mailing list > [email protected] > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
