Problem in varnish-6.0.7

Hamidreza Hosseini hrhosseini at hotmail.com
Sun Feb 14 16:53:06 UTC 2021


I have migrate from varnish 6.0.5 to 6.0.7 but it could not run with this errro:

```
● varnish.service - Varnish HTTP accelerator
   Loaded: loaded (/etc/systemd/system/varnish.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sun 2021-02-14 20:15:14 +0330; 4s ago
     Docs: https://www.varnish-cache.org/docs/4.1/
           man:varnishd
  Process: 29630 ExecStart=/usr/sbin/varnishd -j unix,user=vcache -F -a :6081 -T localhost:6082 -f /etc/varnish/default.vcl -S /etc/varnish/secret -s malloc,1g -i ubuntu-test (code=exited, status=2)
 Main PID: 29630 (code=exited, status=2)

Feb 14 20:15:14 ubuntu-test varnishd[29630]: ------------############-
Feb 14 20:15:14 ubuntu-test varnishd[29630]: In backend specification starting at:
Feb 14 20:15:14 ubuntu-test varnishd[29630]: ('/etc/varnish/default.vcl' Line 5 Pos 1)
Feb 14 20:15:14 ubuntu-test varnishd[29630]: backend default {
Feb 14 20:15:14 ubuntu-test varnishd[29630]: #######----------
Feb 14 20:15:14 ubuntu-test varnishd[29630]: Running VCC-compiler failed, exited with 2
Feb 14 20:15:14 ubuntu-test varnishd[29630]: VCL compilation failed
Feb 14 20:15:14 ubuntu-test systemd[1]: varnish.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
```

Some part of my config:

```
vcl 4.1;

import directors;

backend default {
    .host = "test-lb";
    .port = "8000";
}

backend test_1 { .host = "test-1"; .port = "8000"; }
backend test_2 { .host = "test-2"; .port = "8000"; }
backend test_3 { .host = "test-3"; .port = "8000"; }
backend test_4 { .host = "test-4"; .port = "8000"; }
backend test_5 { .host = "test-5"; .port = "8000"; }
backend test_6 { .host = "test-6"; .port = "8000"; }
```

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20210214/87e88093/attachment-0001.html>


More information about the varnish-misc mailing list