<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>