Difference between revisions of "Varnish will not restart WHY?"

From Brian Nelson Ramblings
Jump to: navigation, search
(Created page with "==Varnish will not Restart WHY?== We have all made a change to the default.vcl fine, but when we went to restart varnish it would not restart. You can find out where the erro...")
 
(No difference)

Latest revision as of 06:45, 19 January 2014

Varnish will not Restart WHY?

We have all made a change to the default.vcl fine, but when we went to restart varnish it would not restart. You can find out where the error is by running.

varnishd -Cf /etc/varnish/default.vcl

You will get debugging information like the following

varnishd -Cf /etc/varnish/default.vcl
Message from VCC-compiler:
include <string> not followed by semicolon.
('input' Line 4 Pos 10)
 include "/etc/varnish/default1.vcl"
---------###########################

Running VCC-compiler failed, exit 1

VCL compilation failed