upgrading to v4, change of "req.backend.healthy" -> "std.healthy(req.backend)" reports "Symbol not found: 'std.healthy' (expected type BOOL)"

grantksupport at operamail.com grantksupport at operamail.com
Sun May 4 19:49:16 CEST 2014


> 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.




More information about the varnish-misc mailing list