upgrading to v4, change of "req.backend.healthy" -> "std.healthy(req.backend)" reports "Symbol not found: 'std.healthy' (expected type BOOL)"
Dridi Boukelmoune
dridi.boukelmoune at zenika.com
Sun May 4 20:34:48 CEST 2014
On Sun, May 4, 2014 at 7:49 PM, <grantksupport at operamail.com> wrote:
>> Is your varnishd instance running ?
>
> No. It won't run, because the conf file check has errors ...
>
> That said,
>
>> If not, comment out the vcl that uses the std module and start varnish
>> before running varnishadm.
>
> changing
>
> - if (std.healthy(req.backend)) {
> - set req.grace = 30s;
> - } else {
> - set req.grace = 1h;
> - }
> + # if (std.healthy(req.backend)) {
> + # set req.grace = 30s;
> + # } else {
> + # set req.grace = 1h;
> + # }
>
> now, at exec of varnishd
>
> /usr/local/sbin/varnishd ...
> Running VCC-compiler failed, exit 1
>
> VCL compilation failed
>
> checking
>
> varnish -C -f vcl.SITE1.conf
> Running VCC-compiler failed, exit 1
>
> VCL compilation failed
>
> is not very helpful. and of course, varnishd is still not running.
Run it with a dummy VCL, I only want to see whether you need to
specify the vmod dir in varnishd's command line.
Dridi
More information about the varnish-misc
mailing list