Hi.

I'm going through the docs and updating the various bits to V4. When
testing the directors I ran into the following error message:

:varnish perbu$ ./bin/varnishd/varnishd -a :2000 -d -f /tmp/test.vcl
Message from VCC-compiler:
Not running as root, no priv-sep
Missing errorhandling code in parse_new(), vcc_action.c line 193:
  Condition((sy2) != 0) not true.
Running VCC-compiler failed, signal 6

VCL compilation failed


This is the VCL I tried to compile:

vcl 4.0;


backend server1 {
             .host = "192.168.0.10";
}

backend server2{
             .host = "192.168.0.10";
}

sub vcl_init {
    new bar = directors.round_robin();
    bar.add_backend(server1, server2);
}


The error message isn't really helpful and I think this is a bug in the VCL
parser/compiler.

-- 
 <http://www.varnish-software.com/> *Per Buer*
CTO | Varnish Software
Phone: +47 958 39 117 | Skype: per.buer
We Make Websites Fly!

Winner of the Red Herring Top 100 Global Award 2013
_______________________________________________
varnish-dev mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to