Problem in varnish-6.0.7

Guillaume Quintard guillaume at varnish-software.com
Sun Feb 14 17:05:24 UTC 2021


Hi,

That error seems truncated, can you try to run this in your terminal please:

```
varnishd -C -f /etc/varnish/default.vcl
```

This will perform only the VCL->C translation and should provide a more
complete message.

Cheers,

-- 
Guillaume Quintard


On Sun, Feb 14, 2021 at 8:54 AM Hamidreza Hosseini <hrhosseini at hotmail.com>
wrote:

> 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"; }
> ```
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20210214/14ff035c/attachment.html>


More information about the varnish-misc mailing list