<div dir="ltr"><div>And how can i fix it? <br><br></div>this is how my file look like: <a href="https://gist.github.com/tokar86a/1f499edd616b2eff43f1#file-gistfile1-txt">https://gist.github.com/tokar86a/1f499edd616b2eff43f1#file-gistfile1-txt</a><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">MVH<br>Tobias</div></div>
<br><div class="gmail_quote">2014-11-14 15:47 GMT+01:00 Cédric Jeanneret <span dir="ltr"><<a href="mailto:varnish@tengu.ch" target="_blank">varnish@tengu.ch</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hello,<br>
<span class="">On 11/14/2014 03:23 PM, Tobias Karlsson wrote:<br>
> Hi<br>
><br>
> I receive this error when i restart Varnish:<br>
><br>
> * Stopping HTTP accelerator varnishd [fail]<br>
><br>
> * Starting HTTP accelerator varnishd [fail]<br>
> Message from VCC-compiler:<br>
> Expected an action, 'if', '{' or '}'<br>
> ('Builtin' Line 42 Pos 1)<br>
> vcl 4.0;<br>
><br>
> -----<br>
<br>
</span>Apparently you have a syntax error on line 42 (or the previous line)… At<br>
least, that's what Varnish is complaining about.<br>
<br>
Cheers,<br>
<br>
C.<br>
<span class="im HOEnZb"><br>
><br>
> Running VCC-compiler failed, exited with 2<br>
><br>
> VCL compilation failed<br>
><br>
> What can be the problem?<br>
><br>
><br>
><br>
> MVH<br>
> Tobias<br>
><br>
><br>
</span><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> varnish-misc mailing list<br>
> <a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
> <a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
><br>
<br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a></div></div></blockquote></div><br></div>