<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Whoops! That must be it. Thanks!<br><br>Sent from my iPhone</div><div><br>On May 4, 2014, at 10:55 PM, Travis Crowder <<a href="mailto:travis.crowder@spechal.com">travis.crowder@spechal.com</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>Missing quote on second host ip?<br><br>Sent from my iPhone</div><div><br>On May 4, 2014, at 9:50 PM, Tim Dunphy <<a href="mailto:bluethundr@gmail.com">bluethundr@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Hey all, <div><br></div><div> 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.</div><div><br></div><div><br></div><div>With one node defined I am good and can restart at will:</div>
<div><br></div><div><div># man page for details on VCL syntax and semantics.</div><div>#</div><div># Default backend definition. Set this to point to your content</div><div># server.</div><div>#</div><div>probe favicon {</div>
<div> .url = "/favicon.ico";</div><div> .timeout = 60ms;</div><div> .interval = 2s;</div><div> .window = 5;</div><div> .threshold = 3;</div><div>}</div><div><br></div><div>backend web1 {</div><div> .host = "xx.xx.xx.xx";</div>
<div> .port = "80";</div><div> .probe = favicon;</div><div>}</div></div><div><br></div><div><br></div><div><div>[root@varnish1 varnish]# service varnish restart</div><div>Stopping Varnish Cache: [ OK ]</div>
<div>Starting Varnish Cache: [ OK ]</div></div><div><br></div><div><br></div><div>However as soon as I add one more node, vernish fails to start:</div><div><br></div><div><div><div># man page for details on VCL syntax and semantics.</div>
<div>#</div><div># Default backend definition. Set this to point to your content</div><div># server.</div><div>#</div><div>probe favicon {</div><div> .url = "/favicon.ico";</div><div> .timeout = 60ms;</div><div>
.interval = 2s;</div><div> .window = 5;</div><div> .threshold = 3;</div><div>}</div><div><br></div><div>backend web1 {</div><div> .host = "xx.xx.xx.xx";</div><div> .port = "80";</div><div> .probe = favicon;</div>
<div>}</div><div><br></div><div>backend web2 {</div><div> .host = "xx.xx.xx.xx;</div><div> .port = "80";</div><div> .probe = favicon;</div><div>}</div></div><div>Varnish will not start with this config:</div>
<div><br></div><div><div>[root@varnish1 varnish]# service varnish start</div><div>Starting Varnish Cache: [FAILED]</div></div><div><br></div><div>I was just hoping someone could enlighten me as to why I may be having trouble here!<br>
<br></div><div>Thanks for any advice you can give. </div><div><br></div><div>Tim</div><div><br></div>-- <br>GPG me!!<br><br>gpg --keyserver <a href="http://pool.sks-keyservers.net" target="_blank">pool.sks-keyservers.net</a> --recv-keys F186197B<br>
<br>
</div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>varnish-misc mailing list</span><br><span><a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a></span><br><span><a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a></span></div></blockquote></div></blockquote></body></html>