<div dir="ltr">Tobias,<div><br></div><div>Could you be so kind and actually read the replies people send you? Please re-read Andrews email and try again.</div><div><br></div><div>Per.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 14, 2014 at 3:55 PM, Tobias Karlsson <span dir="ltr"><<a href="mailto:tokar93@gmail.com" target="_blank">tokar93@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>I have the copy in the mail i send you. <br><br></div>Yes this is all the info i have in the VLC file that is located here: nano /etc/varnish/default.vcl<br><br></div>The link i send you <a href="https://gist.github.com/tokar86a/1f499edd616b2eff43f1#file-gistfile1-txt" target="_blank">https://gist.github.com/tokar86a/1f499edd616b2eff43f1#file-gistfile1-txt</a> is how my file look like right now. <br><div><div><div><div class="gmail_extra"><br clear="all"><div><div>MVH<span class="HOEnZb"><font color="#888888"><br>Tobias</font></span></div></div><div><div class="h5">
<br><div class="gmail_quote">2014-11-14 15:45 GMT+01:00 Andrew Langhorn <span dir="ltr"><<a href="mailto:andrew.langhorn@digital.cabinet-office.gov.uk" target="_blank">andrew.langhorn@digital.cabinet-office.gov.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">You really need to keep varnish-misc copied in to these. This is not because I'm being pedantic, but because mailing lists are based around the idea of community; by keeping them copied in, others who might be interested in this post can learn and contribute, too. If you don't keep it copied in, then you're not playing ball.<div><br></div><div>That doesn't look to be the full VCL; it looks like you've just copied/pasted from a Vim session. Cat the file, copy the output to a Gist.</div><div><div><div><br></div><div><div><div><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Tobias Karlsson</b> <span dir="ltr"><<a href="mailto:tokar93@gmail.com" target="_blank">tokar93@gmail.com</a>></span><br>Date: 14 November 2014 14:36<br>Subject: Re: Error<br>To: Andrew Langhorn <<a href="mailto:andrew.langhorn@digital.cabinet-office.gov.uk" target="_blank">andrew.langhorn@digital.cabinet-office.gov.uk</a>><br><br><br><div dir="ltr"><div><div>Hi<br><br></div>here you have it: <a href="https://gist.github.com/tokar86a/1f499edd616b2eff43f1#file-gistfile1-txt" target="_blank">https://gist.github.com/tokar86a/1f499edd616b2eff43f1#file-gistfile1-txt</a><br><br></div>Can you see whats wrong? <br></div><div class="gmail_extra"><br clear="all"><div><div>MVH<span><font color="#888888"><br>Tobias</font></span></div></div><div><div>
<br><div class="gmail_quote">2014-11-14 15:32 GMT+01:00 Andrew Langhorn <span dir="ltr"><<a href="mailto:andrew.langhorn@digital.cabinet-office.gov.uk" target="_blank">andrew.langhorn@digital.cabinet-office.gov.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Visit <a href="http://gist.github.com" target="_blank">gist.github.com</a>, create a new gist and upload your VCL.<div>VCL is stored, by default, in /etc/varnish</div><div><br></div><div>Please keep the varnish-misc list on your replies too</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 14 November 2014 14:28, Tobias Karlsson <span dir="ltr"><<a href="mailto:tokar93@gmail.com" target="_blank">tokar93@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">How can i list that? <br></div><div class="gmail_extra"><br clear="all"><div><div>MVH<span><font color="#888888"><br>Tobias</font></span></div></div><div><div>
<br><div class="gmail_quote">2014-11-14 15:27 GMT+01:00 Andrew Langhorn <span dir="ltr"><<a href="mailto:andrew.langhorn@digital.cabinet-office.gov.uk" target="_blank">andrew.langhorn@digital.cabinet-office.gov.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra">Can you gist the VCL you're loading?</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On 14 November 2014 14:23, Tobias Karlsson <span dir="ltr"><<a href="mailto:tokar93@gmail.com" target="_blank">tokar93@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div dir="ltr"><div>Hi<br><br></div>I receive this error when i restart Varnish:
<br><br>* Stopping HTTP accelerator varnishd                                    [fail]<br><p> * 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;</p>
<p> -----
</p><p>Running VCC-compiler failed, exited with 2</p>
<p>VCL compilation failed</p>
<p>What can be the problem?</p><br><div><br clear="all"><div><div><div>MVH<span><font color="#888888"><br>Tobias</font></span></div></div>
</div></div></div>
<br></div></div>_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org" target="_blank">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><span><font color="#888888"><br></font></span></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Kind regards,<div><br></div><div>Andrew Langhorn</div><div>Web Operations</div><div>Government Digital Service</div><div><br></div><div>e: <a href="mailto:andrew.langhorn@digital.cabinet-office.gov.uk" target="_blank">andrew.langhorn@digital.cabinet-office.gov.uk</a></div><div>t: <a href="tel:%2B44%20%280%297810%20737375" value="+447810737375" target="_blank">+44 (0)7810 737375</a></div><div>a: 6th Floor, Aviation House, 125 Kingsway, London, WC2B 6NH</div></div></div>
</font></span></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Kind regards,<div><br></div><div>Andrew Langhorn</div><div>Web Operations</div><div>Government Digital Service</div><div><br></div><div>e: <a href="mailto:andrew.langhorn@digital.cabinet-office.gov.uk" target="_blank">andrew.langhorn@digital.cabinet-office.gov.uk</a></div><div>t: <a href="tel:%2B44%20%280%297810%20737375" value="+447810737375" target="_blank">+44 (0)7810 737375</a></div><div>a: 6th Floor, Aviation House, 125 Kingsway, London, WC2B 6NH</div></div></div>
</div>
</div></div></blockquote></div><br></div></div></div>
</div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Kind regards,<div><br></div><div>Andrew Langhorn</div><div>Web Operations</div><div>Government Digital Service</div><div><br></div><div>e: <a href="mailto:andrew.langhorn@digital.cabinet-office.gov.uk" target="_blank">andrew.langhorn@digital.cabinet-office.gov.uk</a></div><div>t: <a href="tel:%2B44%20%280%297810%20737375" value="+447810737375" target="_blank">+44 (0)7810 737375</a></div><div>a: 6th Floor, Aviation House, 125 Kingsway, London, WC2B 6NH</div></div></div>
</div></div></div></div></div></div>
<br>_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org" target="_blank">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></blockquote></div><br></div></div></div></div></div></div></div>
<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><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><table border="0" cellpadding="0" cellspacing="0" style="border-bottom-width:1px;padding-top:5px;border-top-style:solid;width:550px;padding-bottom:5px;border-bottom-color:rgb(238,238,238);border-top-width:1px;border-bottom-style:solid;line-height:1.5em;border-top-color:rgb(238,238,238);color:rgb(102,102,102);font-size:12px;font-family:'Helvetica Neue',Arial,sans-serif;margin-top:20px"><tbody><tr><td width="100"><img src="http://www.varnish-software.com/static/media/logo-email.png"></td><td><font color="#222222"><span style="font-size:14px"><b>Per Buer</b></span></font><br>CTO | Varnish Software AS<br>Cell: <a value="+4790181750" style="color:rgb(17,85,204)">+47 95839117</a><br><span style="font-weight:bold">We Make Websites Fly!<br><a href="https://www.varnish-software.com/" style="color:rgb(17,85,204)" target="_blank">www.varnish-software.com</a></span></td></tr></tbody></table><br><div style="color:rgb(136,136,136)"><a href="http://info.varnish-software.com/varnish-summits-autumn-2014-registration" style="color:rgb(17,85,204)" target="_blank"><img src="https://www.varnish-software.com/sites/default/files/u388/masters_s_0.png" alt=" Register now"></a></div></div></div>
</div>